Skip to content

Xen stubdom support

Jason Andryuk qemu-devel xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xen: Introduce -xen-stubdom optioninclude/hw/xen/xen.h qemu-options.hx vl.c+21 -02 replies
2/6xen: Move xenstore initialization to common locationhw/i386/xen/xen-hvm.c hw/xen/xen-legacy-backend.c+8 -83 replies
3/6xen: Skip backend initialization for stubdomhw/i386/xen/xen-hvm.c+9 -71 reply
4/6xen: Set HVM_PARAM_DM_DOMAIN for stubdom on older Xeninclude/hw/xen/xen_common.h+5 -00 replies
5/6xen-pt: Hide MSI-X from xen stubdomshw/xen/xen_pt_config_init.c+3 -07 replies
6/6xen-pt: Round pci regions sizes to XEN_PAGE_SIZEhw/xen/xen_pt.c+7 -316 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchPaul Durrant
1/6
2/6
3/6R-b
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] Xen stubdom support

Xen supports running QEMU in a dedicated service vm - a stub domain or stubdom. QEMU is then isolated outside of the privileged Domain-0.

When running in a stubdom, there are a few changes needed for QEMU. On older Xen versions, the default ioreq server needs to have the stubdom's domid specified. The stubdom doesn't run PV backends, so that initialization code can be skipped. Stubdom's don't support MSI-X, so that PCI capability must be hidden from passed through devices.

Stubdom mode is enabled by the new -xen-stubdom flag.

Jason Andryuk (5):
xen: Introduce -xen-stubdom option
xen: Move xenstore initialization to common location
xen: Skip backend initialization for stubdom
xen: Set HVM_PARAM_DM_DOMAIN for stubdom on older Xen
xen-pt: Hide MSI-X from xen stubdoms

Simon Gaiser (1):
xen-pt: Round pci regions sizes to XEN_PAGE_SIZE

 hw/i386/xen/xen-hvm.c       | 22 ++++++++++++++++------
 hw/xen/xen-legacy-backend.c |  8 --------
 hw/xen/xen_pt.c             | 10 +++++++---
 hw/xen/xen_pt_config_init.c |  3 +++
 include/hw/xen/xen.h        |  6 ++++++
 include/hw/xen/xen_common.h |  5 +++++
 qemu-options.hx             |  7 +++++++
 vl.c                        |  8 ++++++++
 8 files changed, 52 insertions(+), 17 deletions(-)
Signature · 7 lines
2.20.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel