Jim Fehlig fadbaa2375 conf: add xen hypervisor feature 'passthrough'
'passthrough' is Xen-Specific guest configuration option new to Xen 4.13
that enables IOMMU mappings for a guest and hence whether it supports PCI
passthrough. The default is disabled. See the xl.cfg(5) man page and
xen.git commit babde47a3fe for more details.

The default state of disabled prevents hotlugging PCI devices. However,
if the guest configuration contains a PCI passthrough device at time of
creation, libxl will automatically enable 'passthrough' and subsequent
hotplugging of PCI devices will also be possible. It is not possible to
unconditionally enable 'passthrough' since it would introduce a migration
incompatibility due to guest ABI change. Instead, introduce another Xen
hypervisor feature that can be used to enable guest PCI passthrough

  <features>
    <xen>
      <passthrough state='on'/>
    </xen>
  </features>

To allow finer control over how IOMMU maps to guest P2M table, the
passthrough element also supports a 'mode' attribute with values
restricted to snyc_pt and share_pt, similar to xl.cfg(5) 'passthrough'
setting .

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-04-21 09:18:58 -06:00
..
2020-04-09 19:03:29 +02:00
2019-06-20 17:01:44 +02:00
2020-03-04 12:08:50 +01:00
2019-08-29 12:46:33 +01:00
2017-10-16 10:22:34 +01:00
2019-12-20 12:25:42 -05:00
2019-12-20 12:25:42 -05:00
2019-12-23 10:08:05 +00:00
2020-04-08 09:32:30 +02:00
2019-08-28 13:39:26 +02:00
2018-12-17 17:52:46 +01:00
2019-12-04 15:48:28 +00:00
2020-04-08 09:32:28 +02:00
2020-04-08 09:32:46 +02:00
2017-08-02 15:00:28 -04:00
2019-07-09 10:42:39 -05:00
2020-04-20 14:06:25 +01:00