Skip to contentSkip to conversation

libxc: copy back the result of XEN_DOMCTL_createdomain

PATCH In review Roger Pau Monne 3 participants 4 messages Aug 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxc: copy back the result of XEN_DOMCTL_createdomain

Fixes the ARM build breakage introduced by 54ed251dc7.

---
I've only build-tested this on x86.
---
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>

---
 tools/libxc/xc_domain.c | 1 +
 1 file changed, 1 insertion(+)
tools/libxc/xc_domain.c +1 -0
index 2bc695c597..f5dfadd700 100644
@@ -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;
 }
Signature · 7 lines
2.18.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Reviewed-by
#2 lore raw
Quoted 4 lines · Roger Pau Monné
Quoted 1 line · Roger Pau Monne

Fixes the ARM build breakage introduced by 54ed251dc7.

It's not a build fix but a runtime fix, so the 'build' in the above sentence should be removed if this ends up in the repo.

I really mangled thing with that patch, didn't I :(

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel