mbox series

[XEN,for-4.13,v3,00/10] libxl memkb & pt defaulting

Message ID 20191011165549.21639-1-ian.jackson@eu.citrix.com (mailing list archive)
Headers show
Series libxl memkb & pt defaulting | expand

Message

Ian Jackson Oct. 11, 2019, 4:55 p.m. UTC
This is v3 of my series to sort out the shadow/iommu memory and pci
passthrough situation.  It is also available here:
   https://xenbits.xen.org/gitweb/?p=people/iwj/xen.git;a=summary
   wip.libxl-memkb-ptcfg.v3

Thanks to Andrew Cooper and Julien Grall for comments about the PT
mode setting, which I think I have taken into account.

 #a  01 libxl: Offer API versions 0x040700 and 0x040800
 #r  02 xl: Pass libxl_domain_config to freemem(), instead of b_info
 #r  03 libxl: libxl__domain_config_setdefault: New function
 #r  04 libxl: libxl_domain_need_memory: Make it take a domain_config
     05 libxl: Move shadow_memkb and iommu_memkb defaulting into libxl
  a  06 libxl: Remove/deprecate libxl_get_required_*_memory from the API
  a  07 libxl: create: setdefault: Make libxl_physinfo info[1]
  a  08 libxl: create: setdefault: Move physinfo into config_setdefault
   + 09 libxl: Move domain_create_info_setdefault earlier
   * 10 libxl/xl: Overhaul passthrough setting logic

 # = not actually reposted so as to shrink the patchbomb;
      unchanged from previous posting
 a = acked; r = reviewed
 * = patch changed; m = message changed; + = new patch

 docs/man/xl.cfg.5.pod.in     |   6 ++
 tools/libxl/libxl.h          |  24 ++++++-
 tools/libxl/libxl_arch.h     |   6 ++
 tools/libxl/libxl_arm.c      |  24 +++++++
 tools/libxl/libxl_create.c   | 168 ++++++++++++++++++++++++++++++++-----------
 tools/libxl/libxl_dm.c       |   7 +-
 tools/libxl/libxl_dom.c      |   7 +-
 tools/libxl/libxl_internal.h |  13 +++-
 tools/libxl/libxl_mem.c      |  69 ++++++++++++++----
 tools/libxl/libxl_types.idl  |   7 +-
 tools/libxl/libxl_utils.c    |  15 ----
 tools/libxl/libxl_utils.h    |   2 +-
 tools/libxl/libxl_x86.c      |  41 +++++++++++
 tools/xl/xl_parse.c          |  82 ++-------------------
 tools/xl/xl_vmcontrol.c      |   6 +-
 15 files changed, 321 insertions(+), 156 deletions(-)