[Xen-devel] [XEN PATCH for-4.13 v2 0/9] libxl memkb & pt defaulting

Ian Jackson posted 9 patches 4 years, 5 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
tools/libxl/libxl.h          |  24 +++++-
tools/libxl/libxl_create.c   | 174 ++++++++++++++++++++++++++++++++++---------
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  |   5 +-
tools/libxl/libxl_utils.c    |  15 ----
tools/libxl/libxl_utils.h    |   2 +-
tools/xl/xl_parse.c          |  82 ++------------------
tools/xl/xl_vmcontrol.c      |   6 +-
11 files changed, 254 insertions(+), 150 deletions(-)
[Xen-devel] [XEN PATCH for-4.13 v2 0/9] libxl memkb & pt defaulting
Posted by Ian Jackson 4 years, 5 months ago
This is v2 of my series to sort out the shadow/iommu memory and pci
passthrough situation.  I think this series will mask the bug which is
currently blocking staging propagating to master.

I had some difficulty testing this, as the test box under my desk
doesn't do PT and I didn't want to wait to book one out from the test
lab.  So I have executed only some of the new code in libxl.

I would really appreciate review by a hypervisor expert on the main
chunk of new code in libxl added in patch 9, which is where all the
logic related to passthrough enabling and mode now resides.

 am 1 libxl: Offer API versions 0x040700 and 0x040800
 r  2 xl: Pass libxl_domain_config to freemem(), instead of b_info
 r* 3 libxl: libxl__domain_config_setdefault: New function
 r* 4 libxl: libxl_domain_need_memory: Make it take a domain_config
  * 5 libxl: Move shadow_memkb and iommu_memkb defaulting into libxl
 a  6 libxl: Remove/deprecate libxl_get_required_*_memory from the API
  + 7 libxl: create: setdefault: Make libxl_physinfo info[1]
  + 8 libxl: create: setdefault: Move physinfo into config_setdefault
  + 9 libxl/xl: Overhaul passthrough setting logic

a=acked; r=reviewed; m=message changed; *=patch changed; +=new patch

 tools/libxl/libxl.h          |  24 +++++-
 tools/libxl/libxl_create.c   | 174 ++++++++++++++++++++++++++++++++++---------
 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  |   5 +-
 tools/libxl/libxl_utils.c    |  15 ----
 tools/libxl/libxl_utils.h    |   2 +-
 tools/xl/xl_parse.c          |  82 ++------------------
 tools/xl/xl_vmcontrol.c      |   6 +-
 11 files changed, 254 insertions(+), 150 deletions(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [XEN PATCH for-4.13 v2 0/9] libxl memkb & pt defaulting
Posted by Ian Jackson 4 years, 5 months ago
Ian Jackson writes ("[XEN PATCH for-4.13 v2 0/9] libxl memkb & pt defaulting"):
> This is v2 of my series to sort out the shadow/iommu memory and pci
> passthrough situation.  I think this series will mask the bug which is
> currently blocking staging propagating to master.

I have pushed this to:
   https://xenbits.xen.org/gitweb/?p=people/iwj/xen.git;a=summary
   wip.libxl-memkb-ptcfg.v2

Ian.

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