]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Use kvm_get_rflags() and kvm_set_rflags() instead of the raw versions
authorAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 12:30:20 +0000 (15:30 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:56:54 +0000 (07:56 -0400)
commitcee3442658240c6876684c34f576172b7eae1b22
tree86250a469ccac50490a2d922ee2a1a2d0f5ea915
parent882502268d47851f861f71681a3fa5b19a8db873
KVM: Use kvm_get_rflags() and kvm_set_rflags() instead of the raw versions

Some rflags bits are owned by the host, not guest, so we need to use
kvm_get_rflags() to strip those bits away or kvm_set_rflags() to add them
back.

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