[openstack-dev] Instance with access to GPU, libvirt and hostdev
Daniel P. Berrange
berrange at redhat.com
Wed Apr 10 09:00:43 UTC 2013
On Tue, Apr 09, 2013 at 10:59:29AM -0700, Ian Wells wrote:
> On 9 April 2013 10:27, Jim Fehlig <jfehlig at suse.com> wrote:
> > On 04/09/2013 03:12 AM, Guillaume Thouvenin wrote:
> >> Hello,
> >> Here is my use case. I have a machine with GPU and I want to provide an
> >> instance that can start an X server and use the GPU to allow 3D rendering.
> >> The BIOS installed on my machine doesn't allow IOMMU. So the solution I
> >> see is to use a compute node with the Linux container driver.
> > A blueprint already exists for this feature
> > https://blueprints.launchpad.**net/nova/+spec/pci-**passthrough-and-sr-iov<https://blueprints.launchpad.net/nova/+spec/pci-passthrough-and-sr-iov>
> I don't believe this would work without IOMMU support.
Correct, libvirt will refuse to let you assign any devices to a
guest, unless it can be done safely, which means you need
|: 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 :|
More information about the OpenStack-dev