WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Add 'hvm' capability to indicate whether hardware VTI fe

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Add 'hvm' capability to indicate whether hardware VTI feature is on.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 14 Jan 2006 01:28:07 +0000
Delivery-date: Sat, 14 Jan 2006 01:35:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID 1507c5499a92a7701db9cc3b0bf9ac5fb3fa8ee2
# Parent  f31cb5961db35871309c9fc92b2243eea3a33082
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@xxxxxxxxx>

diff -r f31cb5961db3 -r 1507c5499a92 xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c      Thu Jan  5 16:16:29 2006
+++ b/xen/arch/ia64/xen/xensetup.c      Fri Jan  6 18:39:28 2006
@@ -21,6 +21,7 @@
 #include <asm/page.h>
 #include <asm/setup.h>
 #include <xen/string.h>
+#include <asm/vmx.h>
 
 unsigned long xenheap_phys_end;
 
@@ -446,9 +447,10 @@
 {
     char *p=info;
 
-    *p=0;
-
-    p+=sprintf(p,"xen_%d.%d_ia64 ",XEN_VERSION,XEN_SUBVERSION);
+    p += sprintf(p,"xen-%d.%d-ia64 ", XEN_VERSION, XEN_SUBVERSION);
+
+    if (vmx_enabled)
+        p += sprintf(p,"hvm-%d.%d-ia64 ", XEN_VERSION, XEN_SUBVERSION);
 
     *(p-1) = 0;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Add 'hvm' capability to indicate whether hardware VTI feature is on., Xen patchbot -unstable <=