KVM: x86 emulator: split push logic from push opcode emulation
authorAvi Kivity <avi@redhat.com>
Tue, 12 Jun 2012 17:19:40 +0000 (20:19 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 9 Jul 2012 11:19:03 +0000 (14:19 +0300)
commit51ddff50cbd77568fe40e17a966b3a2ef1231b36
treea1a0e2ef3bbeadcf84efc090e3f9953904bd91c0
parent361cad2b50a2c92b91b6f568db860fabad3bf149
KVM: x86 emulator: split push logic from push opcode emulation

This allows us to reuse the code without populating ctxt->src and
overriding ctxt->op_bytes.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c