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

[Xen-devel] [PATCH] libxc: copy back the result of XEN_DOMCTL_createdomain



Fixes the ARM build breakage introduced by 54ed251dc7.

Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
I've only build-tested this on x86.
---
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/libxc/xc_domain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/libxc/xc_domain.c b/tools/libxc/xc_domain.c
index 2bc695c597..f5dfadd700 100644
--- a/tools/libxc/xc_domain.c
+++ b/tools/libxc/xc_domain.c
@@ -40,6 +40,7 @@ int xc_domain_create(xc_interface *xch, uint32_t *pdomid,
         return err;
 
     *pdomid = (uint16_t)domctl.domain;
+    *config = domctl.u.createdomain;
 
     return 0;
 }
-- 
2.18.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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