Skip to content

Commit d718fdc

Browse files
vittyvkbonzini
authored andcommitted
KVM: x86: remove stale comment from struct x86_emulate_ctxt
Commit c44b4c6 ("KVM: emulate: clean up initializations in init_decode_cache") did some field shuffling and instead of [opcode_len, _regs) started clearing [has_seg_override, modrm). The comment about clearing fields altogether is not true anymore. Fixes: c44b4c6 ("KVM: emulate: clean up initializations in init_decode_cache") Signed-off-by: Vitaly Kuznetsov <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 342993f commit d718fdc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/include/asm/kvm_emulate.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ struct x86_emulate_ctxt {
360360
u64 d;
361361
unsigned long _eip;
362362
struct operand memop;
363-
/* Fields above regs are cleared together. */
364363
unsigned long _regs[NR_VCPU_REGS];
365364
struct operand *memopp;
366365
struct fetch_cache fetch;

0 commit comments

Comments
 (0)