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

Jim Fehlig jfehlig at suse.com
Fri Apr 24 16:21:23 UTC 2020


On 4/24/20 4:57 AM, Marek Marczykowski-Górecki wrote:
> On Fri, Apr 17, 2020 at 04:29:34PM -0600, 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.
> 
> I'm wondering how does it relate to other drivers/hypervisors. Is there
> any other that requires some option to be enabled to enable PCI hot
> plugging?

I'm not aware of any, but may have overlooked something. I relayed the question 
on IRC with no answer thus far.

> If yes, I'd try to model this one similar to existing cases.

Definitely.

> Otherwise modeling it as a Xen feature would make sense.

That is what I pushed, although we have about a week to change our minds :-).

Regards,
Jim





More information about the libvir-list mailing list