Fix xc_domain_config usage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86/libxc: add an arch domain config parameter to xc_domain_createtools/ tools/ tools/ +3 more | +29 | 3 replies | |
| 2/2 | xen: fix usage of xc_domain_create in domain builderhw/ | +1 | 12 replies | |
| 2/2 | xen: fix usage of xc_domain_create in domain builderhw/ | +1 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Cooper | Stefano Stabellini | Ian Campbell |
|---|---|---|---|
| 1/2 | R-b | A-b | |
| 2/2 | A-b A-b | ||
| 2/2 | A-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/2] Fix xc_domain_config usage
Hello,
Due to the HVMlite patches now x86 always requires a valid arch domain config. This is currently causing problems to out-of-tree toolstacks that are based on the Ocaml or the python bindings, since those bindings have lost the ability to create HVM guests because a zeroed arch domain config is always used regardless of the guest type.
In order to fix this add a new parameter to xc_domain_create that's a pointer to a arch domain config that can be null (the function itself will set a sensible default based on the guest type). Since xc_domain_create_config is meaningless now just remove it.
The in-tree callers are fixed in the first patch, while Qemu is fixed in the second patch. I'm not sure how this is going to work with the push gate, since both patches should be applied and tested together, or else Qemu build is going to fail.
Thanks, Roger.