KVM: x86 emulator: drop vcpu argument from segment/gdt/idt callbacks
authorAvi Kivity <avi@redhat.com>
Wed, 20 Apr 2011 10:37:53 +0000 (13:37 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:35:20 +0000 (08:35 -0400)
commit4bff1e86ad286d4b3a54902540abeeaf95e64db3
treeb2c55a41ec05a43b02da404c784d968276dbc0c6
parentca1d4a9e772bde0a0b8cda61ee9fdca29f80f361
KVM: x86 emulator: drop vcpu argument from segment/gdt/idt callbacks

Making the emulator caller agnostic.

[Takuya Yoshikawa: fix typo leading to LDT failures]

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c