Re: [PATCH RESENT 02/12] libxl: PCI passthrough support

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

 



Daniel P. Berrange wrote:
> On Wed, Apr 10, 2013 at 04:44:43AM +0200, Marek Marczykowski wrote:
>   
>> ---
>>  src/libxl/libxl_conf.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++
>>  src/libxl/libxl_conf.h |  2 ++
>>  2 files changed, 74 insertions(+)
>>     
>
> This needs todo more than just create the config. You need to use
> the libvirt PCI APIs to validate that it is safe to assign the
> devices requested, and track which devices are given to which
> guest, to avoid concurrent assignemnt to 2 guests. Basically I'd
> expect this to borrow all the code currently in the QMEU driver
> related to the 'activePciHostdevs' and 'inactivePciHostdevs'
> data structures.
>   

Right.  Chunyan already posted such a patch series [1], but Laine noted
that it would be useful to maintain the state of PCI device assignment
for coordination among multiple drivers.  Chunyan posted a design [2]
for a "hostdev passthrough driver", and IIRC she has started coding
after receiving feedback from the list.

Regards,
Jim

[1] https://www.redhat.com/archives/libvir-list/2013-January/msg00697.html
[2] https://www.redhat.com/archives/libvir-list/2013-March/msg01331.html

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[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]