Skip to content

Add dmops to allow use of VGA with restricted QEMU

Ross Lagerwall xen-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 11 repliesIn review
  2. v36 patches 7 repliesSuperseded
  3. v25 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches12 repliesSuperseded

Changes in v4 from the cover letter

* Rename add_to_physmap -> relocate_memory.
* Use continutation instead of erroring in relocate_memory.
* Bump domctl interface version.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xen/mm: Make xenmem_add_to_physmap globalxen/common/memory.c xen/include/xen/mm.h+5 -31 reply
2/6x86/hvm: Provide XEN_DMOP_relocate_memoryxen/arch/x86/hvm/dm.c xen/include/public/hvm/dm_op.h xen/include/xlat.lst+51 -02 replies
3/6x86/hvm: Provide XEN_DMOP_pin_memory_cacheattrxen/arch/x86/hvm/dm.c xen/include/public/hvm/dm_op.h xen/include/xlat.lst+33 -00 replies
4/6tools: libxendevicemodel: Provide xendevicemodel_relocate_memorytools/libs/devicemodel/Makefile tools/libs/devicemodel/core.c tools/libs/devicemodel/include/xendevicemodel.h +1 more+40 -10 replies
5/6tools: libxendevicemodel: Provide xendevicemodel_pin_memory_cacheattrtools/libs/devicemodel/core.c tools/libs/devicemodel/include/xendevicemodel.h tools/libs/devicemodel/libxendevicemodel.map+34 -00 replies
6/6x86/domctl: Remove XEN_DOMCTL_pin_mem_cacheattrtools/flask/policy/modules/xen.if tools/libs/devicemodel/include/xendevicemodel.h tools/libxc/include/xenctrl.h +8 more+25 -456 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchPaul DurrantJan BeulichIan JacksonDaniel De GraafWei Liu
1/6R-b A-b A-b
2/6R-b R-b
3/6R-b R-b
4/6R-b A-b
5/6R-b A-b
6/6R-b A-b A-b R-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 5 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/6] Add dmops to allow use of VGA with restricted QEMU

The recently added support for restricting QEMU prevents use of the VGA console. This series addresses that by adding a couple of new dmops. A corresponding patch for QEMU is needed to make use of the new dmops.

Changes in v4:
* Rename add_to_physmap -> relocate_memory.
* Use continutation instead of erroring in relocate_memory.
* Bump domctl interface version.

Changes in v3:
* Address Jan's comments - primarily adding a new patch to remove the existing pin_mem_cacheattr domctl.

Changes in v2:
* Address Paul's comments - mainly making add_to_physmap operate on a range.

Ross Lagerwall (6):
xen/mm: Make xenmem_add_to_physmap global
x86/hvm: Provide XEN_DMOP_relocate_memory
x86/hvm: Provide XEN_DMOP_pin_memory_cacheattr
tools: libxendevicemodel: Provide xendevicemodel_relocate_memory
tools: libxendevicemodel: Provide xendevicemodel_pin_memory_cacheattr x86/domctl: Remove XEN_DOMCTL_pin_mem_cacheattr

 tools/flask/policy/modules/xen.if               |  4 +-
 tools/libs/devicemodel/Makefile                 |  2 +-
 tools/libs/devicemodel/core.c                   | 39 +++++++++++++++++++
 tools/libs/devicemodel/include/xendevicemodel.h | 28 ++++++++++++++
 tools/libs/devicemodel/libxendevicemodel.map    |  6 +++
 tools/libxc/include/xenctrl.h                   |  6 ---
 tools/libxc/include/xenctrl_compat.h            |  3 ++
 tools/libxc/xc_devicemodel_compat.c             |  8 ++++
 tools/libxc/xc_domain.c                         | 15 --------
 xen/arch/x86/domctl.c                           |  8 ----
 xen/arch/x86/hvm/dm.c                           | 50 +++++++++++++++++++++++++
 xen/common/memory.c                             |  5 +--
 xen/include/public/domctl.h                     |  9 +----
 xen/include/public/hvm/dm_op.h                  | 40 ++++++++++++++++++++
 xen/include/xen/mm.h                            |  3 ++
 xen/include/xlat.lst                            |  2 +
 xen/xsm/flask/hooks.c                           |  3 --
 xen/xsm/flask/policy/access_vectors             |  2 -
 18 files changed, 186 insertions(+), 47 deletions(-)
Signature · 7 lines
2.9.5


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