]> Pileus Git - ~andy/linux/commit
KVM: x86 emulator: emulate cpuid
authorAvi Kivity <avi@redhat.com>
Thu, 7 Jun 2012 11:11:36 +0000 (14:11 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 9 Jul 2012 11:19:00 +0000 (14:19 +0300)
commit6d6eede4a0492c7478d44d7c8fae80c3bcf529d9
tree21f6c08dd13c8dddf4c64e29a0f77e7f230b75b5
parent0017f93a2776597b798ec1a9594e41dfd96d3c11
KVM: x86 emulator: emulate cpuid

Opcode 0F A2.

Used by Linux during the mode change trampoline while in a state that is
not virtualizable on vmx without unrestricted_guest, so we need to emulate
it is emulate_invalid_guest_state=1.

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