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

[Xen-changelog] [xen master] libxc: copy back the result of XEN_DOMCTL_createdomain



commit effed864104ad9bee3f72a2a7d9fb2146b8bf122
Author:     Roger Pau Monné <roger.pau@xxxxxxxxxx>
AuthorDate: Fri Aug 17 13:59:35 2018 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Aug 17 13:59:35 2018 +0200

    libxc: copy back the result of XEN_DOMCTL_createdomain
    
    Fixes the ARM guest boot breakage introduced by 54ed251dc7.
    
    Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Acked-by: 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;
 }
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

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