xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/8] New hypercall for device models
@ 2017-01-12 14:58 Paul Durrant
  2017-01-12 14:58 ` [PATCH v3 1/8] public / x86: Introduce __HYPERCALL_dm_op Paul Durrant
                   ` (7 more replies)
  0 siblings, 8 replies; 39+ messages in thread
From: Paul Durrant @ 2017-01-12 14:58 UTC (permalink / raw)
  To: xen-devel; +Cc: Paul Durrant

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          | 158 +++++++++
 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               | 544 +++++++++++++++++++++++++++++
 xen/arch/x86/hvm/hvm.c              | 677 +-----------------------------------
 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/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/shadow.h        |   2 +-
 xen/include/public/hvm/dm_op.h      | 373 ++++++++++++++++++++
 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         |   7 +
 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 +-
 30 files changed, 1409 insertions(+), 1314 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

-- 
2.1.4


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

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2017-01-17 15:37 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-12 14:58 [PATCH v3 0/8] New hypercall for device models Paul Durrant
2017-01-12 14:58 ` [PATCH v3 1/8] public / x86: Introduce __HYPERCALL_dm_op Paul Durrant
2017-01-12 15:33   ` Andrew Cooper
2017-01-12 16:10     ` Paul Durrant
2017-01-12 16:29       ` Jan Beulich
2017-01-13  9:05         ` Paul Durrant
2017-01-13 10:30           ` Jan Beulich
2017-01-13 10:47             ` Paul Durrant
2017-01-13 10:44           ` Wei Liu
2017-01-13 12:03         ` Andrew Cooper
2017-01-13 12:47           ` Jan Beulich
2017-01-16 16:05             ` Andrew Cooper
2017-01-16 16:16               ` Jan Beulich
2017-01-16 17:07                 ` Paul Durrant
2017-01-16 17:18                   ` Jan Beulich
2017-01-17 11:22                 ` Andrew Cooper
2017-01-17 12:29                   ` George Dunlap
2017-01-17 15:06                     ` Andrew Cooper
2017-01-17 15:37                       ` Jan Beulich
2017-01-17 12:42                   ` Jan Beulich
2017-01-17 15:13                     ` Andrew Cooper
2017-01-17 15:31                       ` Jan Beulich
2017-01-12 14:58 ` [PATCH v3 2/8] dm_op: convert HVMOP_*ioreq_server* Paul Durrant
2017-01-12 16:30   ` Jan Beulich
2017-01-12 14:58 ` [PATCH v3 3/8] dm_op: convert HVMOP_track_dirty_vram Paul Durrant
2017-01-13 11:45   ` Jan Beulich
2017-01-13 11:46     ` Paul Durrant
2017-01-13 13:22   ` Tim Deegan
2017-01-16 15:12   ` George Dunlap
2017-01-12 14:58 ` [PATCH v3 4/8] dm_op: convert HVMOP_set_pci_intx_level, HVMOP_set_isa_irq_level, and Paul Durrant
2017-01-12 14:58 ` [PATCH v3 5/8] dm_op: convert HVMOP_modified_memory Paul Durrant
2017-01-13 11:51   ` Jan Beulich
2017-01-13 11:54     ` Paul Durrant
2017-01-12 14:58 ` [PATCH v3 6/8] dm_op: convert HVMOP_set_mem_type Paul Durrant
2017-01-13 11:54   ` Jan Beulich
2017-01-12 14:58 ` [PATCH v3 7/8] dm_op: convert HVMOP_inject_trap and HVMOP_inject_msi Paul Durrant
2017-01-12 14:58 ` [PATCH v3 8/8] x86/hvm: serialize trap injecting producer and consumer Paul Durrant
2017-01-12 16:28   ` Andrew Cooper
2017-01-12 16:41     ` Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).