direct-io.hg
changeset 8592:1507c5499a92
Add 'hvm' capability to indicate whether hardware VTI feature is on.
Control panel will query this cap to decide whether legible to create
VTI domain on an ia64 box.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
Control panel will query this cap to decide whether legible to create
VTI domain on an ia64 box.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
author | djm@kirby.fc.hp.com |
---|---|
date | Fri Jan 06 12:39:28 2006 -0600 (2006-01-06) |
parents | f31cb5961db3 |
children | dc6ac7f6ddea |
files | xen/arch/ia64/xen/xensetup.c |
line diff
1.1 --- a/xen/arch/ia64/xen/xensetup.c Thu Jan 05 10:16:29 2006 -0600 1.2 +++ b/xen/arch/ia64/xen/xensetup.c Fri Jan 06 12:39:28 2006 -0600 1.3 @@ -21,6 +21,7 @@ 1.4 #include <asm/page.h> 1.5 #include <asm/setup.h> 1.6 #include <xen/string.h> 1.7 +#include <asm/vmx.h> 1.8 1.9 unsigned long xenheap_phys_end; 1.10 1.11 @@ -446,9 +447,10 @@ void arch_get_xen_caps(xen_capabilities_ 1.12 { 1.13 char *p=info; 1.14 1.15 - *p=0; 1.16 + p += sprintf(p,"xen-%d.%d-ia64 ", XEN_VERSION, XEN_SUBVERSION); 1.17 1.18 - p+=sprintf(p,"xen_%d.%d_ia64 ",XEN_VERSION,XEN_SUBVERSION); 1.19 + if (vmx_enabled) 1.20 + p += sprintf(p,"hvm-%d.%d-ia64 ", XEN_VERSION, XEN_SUBVERSION); 1.21 1.22 *(p-1) = 0; 1.23