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.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

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

Reply via email to