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

2018-08-17 Thread Wei Liu
On Fri, Aug 17, 2018 at 11:50:53AM +0200, Roger Pau Monne wrote:
> Fixes the ARM build breakage introduced by 54ed251dc7.
> 
> Signed-off-by: Roger Pau Monné 

Acked-by: Wei Liu 

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

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

2018-08-17 Thread Andrew Cooper
On 17/08/2018 10:52, Roger Pau Monné wrote:
> On Fri, Aug 17, 2018 at 11:50:53AM +0200, Roger Pau Monne wrote:
>> 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 :(

Reviewed-by: Andrew Cooper 

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

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

2018-08-17 Thread Roger Pau Monné
On Fri, Aug 17, 2018 at 11:50:53AM +0200, Roger Pau Monne wrote:
> 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.

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

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

2018-08-17 Thread Roger Pau Monne
Fixes the ARM build breakage introduced by 54ed251dc7.

Signed-off-by: Roger Pau Monné 
---
I've only build-tested this on x86.
---
Cc: Ian Jackson 
Cc: Wei Liu 
---
 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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel