KVM: make EFER_RESERVED_BITS configurable for architecture code
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 31 Jan 2008 13:57:37 +0000 (14:57 +0100)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:18 +0000 (11:53 +0300)
commitf2b4b7ddf633ffa24ce7c89c9e0d8a06463484e3
treedb27a5a3cff2e60497ec60194a9f754372bf01e1
parent0aac03f07b37da96e00371e66973d5ffaae578a4
KVM: make EFER_RESERVED_BITS configurable for architecture code

This patch give the SVM and VMX implementations the ability to add some bits
the guest can set in its EFER register.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c
include/asm-x86/kvm_host.h