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-api

[Xen-API] [PATCH] Improvements to the hypercall simulator

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] Improvements to the hypercall simulator
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Fri, 27 Nov 2009 22:51:43 +0000
Delivery-date: Fri, 27 Nov 2009 14:47:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1259362275 0
# Node ID b7936b89c2d122c8f5f954778df5450110392694
# Parent  3dad906dec60a34a95bd8dd3963e02218017efa7
[XIU]: add HVM and HAP flags to the hypercall simulator.

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 3dad906dec60 -r b7936b89c2d1 xc/xc_lib_injection.c
--- a/xc/xc_lib_injection.c     Fri Nov 20 14:22:16 2009 +0000
+++ b/xc/xc_lib_injection.c     Fri Nov 27 22:51:15 2009 +0000
@@ -71,9 +71,10 @@
                marshall_command(handle, "%s,%d,%d\n", DOMCTLcmd, domctl->cmd, 
domctl->domain);
                return unmarshall_return(handle);
        case XEN_DOMCTL_createdomain: /* W ssidref */
-               marshall_command(handle, "%s,%d,%d," DOMAINHANDLE "\n", 
DOMCTLcmd,
+               marshall_command(handle, "%s,%d,%d,%d," DOMAINHANDLE "\n", 
DOMCTLcmd,
                                 domctl->cmd,
-                                domctl->u.createdomain.flags,
+                                
(domctl->u.createdomain.flags|XEN_DOMCTL_CDF_hvm_guest)?1:0,
+                                
(domctl->u.createdomain.flags|XEN_DOMCTL_CDF_hap)?1:0,
                                 domctl->u.createdomain.handle[0],
                                 domctl->u.createdomain.handle[1],
                                 domctl->u.createdomain.handle[2],
1 file changed, 3 insertions(+), 2 deletions(-)
xc/xc_lib_injection.c |    5 +++--


Attachment: xen-api-libs.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] Improvements to the hypercall simulator, David Scott <=