KVM: x86 emulator: Make emulate_pop() a little more generic
commit350f69dcd169d536307aa4a8c38c480e3a51c0db
authorAvi Kivity <avi@redhat.com>
Mon, 5 Jan 2009 09:12:40 +0000 (5 11:12 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:00 +0000 (24 11:03 +0200)
tree9c8ba8c8931f8e8fc7b22bca423ab25724354303
parent10f32d84c750ccf8c0afb3a4ea9d4059aa3e9ffc
KVM: x86 emulator: Make emulate_pop() a little more generic

Allow emulate_pop() to read into arbitrary memory rather than just the
source operand.  Needed for complicated instructions like far returns.

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