Skip to content

New hypercall for device models

Paul Durrant xen-devel 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest8 patches 6 repliesIn review
  2. v78 patches 4 repliesSuperseded
  3. v68 patches 2 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v58 patches1 replySuperseded
v48 patches34 repliesSuperseded
v38 patches30 repliesSuperseded
v28 patches13 repliesSuperseded
v18 patches30 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8public / x86: Introduce __HYPERCALL_dm_op...docs/designs/dmop.markdown tools/flask/policy/modules/xen.if tools/libxc/include/xenctrl.h +14 more+511 -14 replies
2/8dm_op: convert HVMOP_*ioreq_server*tools/libxc/xc_domain.c xen/arch/x86/hvm/dm.c xen/arch/x86/hvm/hvm.c +9 more+376 -5070 replies
3/8dm_op: convert HVMOP_track_dirty_vramtools/flask/policy/modules/xen.if tools/libxc/include/xenctrl.h tools/libxc/xc_misc.c +11 more+76 -920 replies
4/8dm_op: convert HVMOP_set_pci_intx_level, HVMOP_set_isa_irq_level, and...tools/flask/policy/modules/xen.if tools/libxc/include/xenctrl.h tools/libxc/xc_misc.c +13 more+164 -2600 replies
5/8dm_op: convert HVMOP_modified_memorytools/libxc/include/xenctrl.h tools/libxc/xc_misc.c xen/arch/x86/hvm/dm.c +5 more+118 -960 replies
6/8dm_op: convert HVMOP_set_mem_typetools/libxc/include/xenctrl.h tools/libxc/xc_misc.c xen/arch/x86/hvm/dm.c +5 more+128 -1762 replies
7/8dm_op: convert HVMOP_inject_trap and HVMOP_inject_msitools/flask/policy/modules/xen.if tools/libxc/include/xenctrl.h tools/libxc/xc_misc.c +11 more+129 -1930 replies
8/8x86/hvm: serialize trap injecting producer and consumerxen/arch/x86/hvm/dm.c xen/arch/x86/hvm/hvm.c xen/include/asm-x86/hvm/hvm.h+13 -50 replies

Reviews trailers per patch

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

PatchAndrew CooperJan BeulichWei LiuDaniel De GraafGeorge DunlapTim Deegan
1/8R-b R-b A-b A-b
2/8R-b R-b A-b A-b
3/8R-b R-b A-b A-b A-b A-b
4/8R-b R-b A-b A-b
5/8R-b R-b A-b A-b
6/8R-b R-b A-b A-b
7/8R-b R-b A-b A-b
8/8R-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 6 reviewers.

Read the v8 thread

Cover letter [PATCH v8 0/8] New hypercall for device models

Following on from the design submitted by Jennifer Herbert to the list [1] this series provides an implementation of __HYPERCALL_dm_op followed by patches based on Jan Beulich's previous HVMCTL series [2] to convert tools-only HVMOPs used by device models to DMOPs.

[1] https://lists.xenproject.org/archives/html/xen-devel/2016-09/msg01052.html
[2] https://lists.xenproject.org/archives/html/xen-devel/2016-06/msg02433.html

Paul Durrant (8):
public / x86: Introduce __HYPERCALL_dm_op...
dm_op: convert HVMOP_*ioreq_server*
dm_op: convert HVMOP_track_dirty_vram
dm_op: convert HVMOP_set_pci_intx_level, HVMOP_set_isa_irq_level,

    and...

dm_op: convert HVMOP_modified_memory
dm_op: convert HVMOP_set_mem_type
dm_op: convert HVMOP_inject_trap and HVMOP_inject_msi x86/hvm: serialize trap injecting producer and consumer

 docs/designs/dmop.markdown          | 175 +++++++++
 tools/flask/policy/modules/xen.if   |   8 +-
 tools/libxc/include/xenctrl.h       |  13 +-
 tools/libxc/xc_domain.c             | 212 +++++------
 tools/libxc/xc_misc.c               | 235 +++++--------
 tools/libxc/xc_private.c            |  70 ++++
 tools/libxc/xc_private.h            |   2 +
 xen/arch/x86/hvm/Makefile           |   1 +
 xen/arch/x86/hvm/dm.c               | 591 +++++++++++++++++++++++++++++++
 xen/arch/x86/hvm/hvm.c              | 681 +-----------------------------------
 xen/arch/x86/hvm/ioreq.c            |  36 +-
 xen/arch/x86/hvm/irq.c              |   7 +-
 xen/arch/x86/hypercall.c            |   2 +
 xen/arch/x86/mm/hap/hap.c           |   2 +-
 xen/arch/x86/mm/shadow/common.c     |   2 +-
 xen/include/Makefile                |   1 +
 xen/include/asm-x86/hap.h           |   2 +-
 xen/include/asm-x86/hvm/domain.h    |   3 +-
 xen/include/asm-x86/hvm/hvm.h       |   3 +
 xen/include/asm-x86/hvm/vcpu.h      |   2 +-
 xen/include/asm-x86/shadow.h        |   2 +-
 xen/include/public/hvm/dm_op.h      | 376 ++++++++++++++++++++
 xen/include/public/hvm/hvm_op.h     | 230 +-----------
 xen/include/public/xen-compat.h     |   2 +-
 xen/include/public/xen.h            |   1 +
 xen/include/xen/hvm/irq.h           |   2 +-
 xen/include/xen/hypercall.h         |  15 +
 xen/include/xlat.lst                |  14 +
 xen/include/xsm/dummy.h             |  36 +-
 xen/include/xsm/xsm.h               |  36 +-
 xen/xsm/dummy.c                     |   5 -
 xen/xsm/flask/hooks.c               |  37 +-
 xen/xsm/flask/policy/access_vectors |  15 +-
 33 files changed, 1502 insertions(+), 1317 deletions(-)
 create mode 100644 docs/designs/dmop.markdown
 create mode 100644 xen/arch/x86/hvm/dm.c
 create mode 100644 xen/include/public/hvm/dm_op.h
Signature · 7 lines
2.1.4


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