KVM: x86 emulator: use shadowed register in emulate_sysexit()
authorGleb Natapov <gleb@redhat.com>
Wed, 28 Apr 2010 16:15:41 +0000 (19:15 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:36 +0000 (10:35 +0300)
commitbdb475a323858101f4a5ad6a1a04b1dd8885325a
tree3e39adfa30395205df20a8a3cf76da28ed932f46
parentef050dc0390176ec6888f373edb776587c88be3d
KVM: x86 emulator: use shadowed register in emulate_sysexit()

emulate_sysexit() should use shadowed registers copy instead of
looking into vcpu state directly.

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