aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/vpic.c
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-11-24 13:23:22 +0000
committerKeir Fraser <keir@xensource.com>2007-11-24 13:23:22 +0000
commit07847be65054dd6f7ae53bfeed52739e1bd7e3b6 (patch)
tree57809ce829e6f490eb39abe3750568f3b4f179b9 /xen/arch/x86/hvm/vpic.c
parent36cb94956ae4cd534327c0118dc690d7b269727a (diff)
downloadxen-07847be65054dd6f7ae53bfeed52739e1bd7e3b6.tar.gz
xen-07847be65054dd6f7ae53bfeed52739e1bd7e3b6.tar.bz2
xen-07847be65054dd6f7ae53bfeed52739e1bd7e3b6.zip
x86, hvm: Config option to allow vmxassist to be disabled.
hvmloader is modified to dynamically detect this, allowing possibility of optional full vmxassist replacement in 3.2 stable branch in future. Currently 'vmxassist=y' is not much use since no replacement is implemented. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/hvm/vpic.c')
-rw-r--r--xen/arch/x86/hvm/vpic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/vpic.c b/xen/arch/x86/hvm/vpic.c
index 4a3fc5ae5a..ab57cda5fb 100644
--- a/xen/arch/x86/hvm/vpic.c
+++ b/xen/arch/x86/hvm/vpic.c
@@ -271,7 +271,7 @@ static void vpic_ioport_write(
vpic->imr = val;
break;
case 1:
-#if 1 /* Delete me when vmxassist is retired. */
+#ifdef VMXASSIST
/* Which mode is irqbase programmed in? */
current->arch.hvm_vmx.irqbase_mode =
current->arch.hvm_vmx.vmxassist_enabled;