mirror of https://gitee.com/openkylin/linux.git
KVM: X86 emulator: fix 'push reg' writeback
Pointed out by Rusty Russell. Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
2e2c618dad
commit
d39dba54ce
|
@ -1163,7 +1163,6 @@ x86_emulate_memop(struct x86_emulate_ctxt *ctxt, struct x86_emulate_ops *ops)
|
|||
register_address_increment(_regs[VCPU_REGS_RSP], -op_bytes);
|
||||
dst.ptr = (void *) register_address(
|
||||
ctxt->ss_base, _regs[VCPU_REGS_RSP]);
|
||||
no_wb = 1; /* force writeback */
|
||||
break;
|
||||
case 0x6c: /* insb */
|
||||
case 0x6d: /* insw/insd */
|
||||
|
|
Loading…
Reference in New Issue