Re: [PATCH 0/5] Xen: Add support for xl.cfg passthrough setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/18/20 12:29 AM, Jim Fehlig wrote:
Hi All,

Note: This series is based on Marek's patches adding support for e820_host

https://www.redhat.com/archives/libvir-list/2020-April/msg00633.html

which I've ACK'ed, but am waiting to commit until this related setting is
hashed out.

This series adds support for Xen's xl.cfg(5) 'passthrough' setting.
Starting with xen 4.13 this setting must be enabled in order to assign
PCI passthrough devices to a guest. libxl will enable it automatically
if the guest config has PCI devices at creation time, but otherwise
'passthrough' must be enabled to hotplug PCI devices.

The passthrough setting is mapped to a xen hypervisor feature of the
same name. Xen hypervisor features were recently added by the series
mentioned above.

Jim Fehlig (5):
   conf: add xen hypervisor feature 'passthrough'
   libxl: make use of passthrough hypervisor feature
   libxl: refactor cpu and hypervisor feature parser/formatter
   xenconfig: Add support for 'passthrough' hypervisor feature
   tests: check conversion of passthrough hypervisor feature

  docs/formatdomain.html.in                     |   7 ++
  docs/schemas/domaincommon.rng                 |  12 ++
  src/conf/domain_conf.c                        | 115 ++++++++++++++----
  src/conf/domain_conf.h                        |  11 ++
  src/libvirt_private.syms                      |   2 +
  src/libxl/libxl_conf.c                        |  21 ++++
  src/libxl/xen_common.c                        |  86 ++++++++++---
  .../test-fullvirt-hypervisor-features.cfg     |  26 ++++
  .../test-fullvirt-hypervisor-features.xml     |  50 ++++++++
  .../xlconfigdata/test-paravirt-e820_host.cfg  |   1 +
  .../xlconfigdata/test-paravirt-e820_host.xml  |   1 +
  tests/xlconfigtest.c                          |   3 +
  12 files changed, 290 insertions(+), 45 deletions(-)
  create mode 100644 tests/xlconfigdata/test-fullvirt-hypervisor-features.cfg
  create mode 100644 tests/xlconfigdata/test-fullvirt-hypervisor-features.xml


Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux