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

[Xen-devel] [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 = 1
device_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

-- 
Anthony PERARD


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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