[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.