RFC RFC Linux based stub-domain
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | linux-stubdomain: Compile QEMUstubdom-linux/ | +49 | 0 replies | |
| 2/6 | linux-stubdomain: Compile Linuxstubdom-linux/ stubdom-linux/ stubdom-linux/ +2 more | +1284 | 4 replies | |
| 3/6 | linux-stubdomain: Build a disk image.stubdom-linux/ stubdom-linux/ stubdom-linux/ +3 more | +366 | 4 replies | |
| 4/6 | libxl: Add "stubdomain_version" to domain_build_info.tools/ tools/ tools/ | +50 | 3 replies | |
| 5/6 | libxl: Handle Linux stubdomain specifique QEMU option.tools/ | +52 | 2 replies | |
| 6/6 | libxl: Build the domain with a Linux based stubdomain.tools/ tools/ tools/ +2 more | +145 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/6] RFC Linux based stub-domain
Hi all,
Here is the long overdue patch series to bring support for a Linux based stubdom which will enable to use QEMU upstream as device model in a stubdom.
The first three patches will provide the necessary to build Linux and a disk image for the stubdomain itself. This is created in a separated directory "stubdom-linux". Calling make in this directory will build Linux and the disk. Then a make install will copy the two files to the same directory as the MiniOS use.
The last three patches are the libxl support. There is a field called "stubdomain_version" which is automatically set to the appropriate value, depending on the QEMU version used. It call also be set from VM config file.
So, to start a Linux stubdomain, just set those two variables and it shoud start:device_model_stubdomain_override = 1device_model_version = "qemu-xen"
There is few things that does not have support yet and are on my todo list:
- video output
- save/restore
So for now, we have the network and the console and the disk of the domain.
Regards,
Anthony PERARD (6):
linux-stubdomain: Compile QEMU
linux-stubdomain: Compile Linux
linux-stubdomain: Build a disk image.
libxl: Add "stubdomain_version" to domain_build_info.
libxl: Handle Linux stubdomain specifique QEMU option.
libxl: Build the domain with a Linux based stubdomain.
stubdom-linux/.gitignore | 5 + ...heck-for-xen_initial_domain-in-privcmd_io.patch | 39 + stubdom-linux/0002-fix-remap_area_mfn_pte_fn.patch | 36 + stubdom-linux/Makefile | 83 ++ stubdom-linux/extra/initscript | 40 + stubdom-linux/extra/qemu-ifup | 7 + stubdom-linux/mk-ramdisk-common | 178 +++ stubdom-linux/mk-ramdisk-ioemu | 124 ++ stubdom-linux/stubdom-linux-config-64b | 1185 ++++++++++++++++++++ tools/libxl/libxl.c | 25 +- tools/libxl/libxl_create.c | 41 +- tools/libxl/libxl_dm.c | 178 ++- tools/libxl/libxl_internal.c | 22 + tools/libxl/libxl_internal.h | 4 + tools/libxl/libxl_types.idl | 7 + tools/libxl/xl_cmdimpl.c | 14 + 16 files changed, 1944 insertions(+), 44 deletions(-) create mode 100644 stubdom-linux/.gitignore create mode 100644 stubdom-linux/0001-xen-Don-t-check-for-xen_initial_domain-in-privcmd_io.patch create mode 100644 stubdom-linux/0002-fix-remap_area_mfn_pte_fn.patch create mode 100644 stubdom-linux/Makefile create mode 100644 stubdom-linux/extra/initscript create mode 100644 stubdom-linux/extra/qemu-ifup create mode 100755 stubdom-linux/mk-ramdisk-common create mode 100755 stubdom-linux/mk-ramdisk-ioemu create mode 100644 stubdom-linux/stubdom-linux-config-64b
Signature · 1 line
Anthony PERARD