mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user