KVM: x86 emulator: modify 'lods', and 'stos' not to depend on CR2
authorSheng Yang <sheng.yang@intel.com>
Thu, 15 Nov 2007 06:52:28 +0000 (14:52 +0800)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:03 +0000 (17:53 +0200)
commita7e6c88a78b7c3d67491bf90b2b95e66437dbdb6
treeca16a7c1c0d18d57b4a04d355d8aea8ade6536cf
parentf8c16bbaa9e14b309ffcf29cac0ea377a35b0dd2
KVM: x86 emulator: modify 'lods', and 'stos' not to depend on CR2

The current 'lods' and 'stos' is depending on incoming CR2 rather than decode
memory address from registers.

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/x86_emulate.c