libxl: Handle Linux stubdomain specific QEMU options.
authorEric Shelton <eshelton@pobox.com>
Tue, 19 May 2020 01:54:49 +0000 (21:54 -0400)
committerWei Liu <wl@xen.org>
Mon, 18 May 2020 22:23:44 +0000 (23:23 +0100)
commit7efd9f3d45480c12328e4419547a98022f7af43a
tree2c905eb395540aa157709657cb2464f2e8b78ea7
parent46587a30d4cb7702a8c2074c98d687b6f9602e6c
libxl: Handle Linux stubdomain specific QEMU options.

This patch creates an appropriate command line for the QEMU instance
running in a Linux-based stubdomain.

NOTE: a number of items are not currently implemented for Linux-based
stubdomains, such as:
- save/restore
- QMP socket
- graphics output (e.g., VNC)

Signed-off-by: Eric Shelton <eshelton@pobox.com>
Simon:
 * fix disk path
 * fix cdrom path and "format"

Signed-off-by: Simon Gaiser <simon@invisiblethingslab.com>
[drop Qubes-specific parts]
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Allow setting stubdomain_ramdisk independently from stubdomain_kernel
Add a qemu- prefix for qemu-stubdom-linux-{kernel,rootfs} since stubdom
doesn't convey device-model.  Use qemu- since this code is qemu specific.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_mem.c
tools/libxl/libxl_types.idl