KVM: x86 emulator: push segment override out of decode_modrm()
authorAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 09:07:29 +0000 (12:07 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:33 +0000 (10:50 +0200)
commit09ee57cdae3156aa3b74f378a0c57ef657c90f38
tree4a5ef03f67ef75644bad8cdbc7c41944f1a0139f
parentdbe7758482a870f30a86bdeefebf4fc260afef11
KVM: x86 emulator: push segment override out of decode_modrm()

Let it compute modrm_seg instead, and have the caller apply it.

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