[Openstack] Custom QEMU Emulator Path?

Wolfgang Richter wolf at cs.cmu.edu
Wed Jul 30 21:06:39 UTC 2014


I thought so.

I don't want to remove my system install QEMU binaries, so I'm forcing
Nova's virt/libvirt/config.py to set the 'emulator' for devices to my
custom QEMU binary.

I _think_ this should work.  I haven't tried forcing libvirt to use a
non-standard QEMU before.

--
Wolf


On Wed, Jul 30, 2014 at 12:07 PM, Daniel P. Berrange <berrange at redhat.com>
wrote:

> On Wed, Jul 30, 2014 at 11:55:04AM -0400, Wolfgang Richter wrote:
> > If I compile a custom QEMU and want to use these non-standard binaries
> when
> > starting instances, how do I override the defaults OpenStack uses via
> > libvirt?
> >
> > Is there an easy OpenStack option?
> >
> > Or do I need to implement a custom LibvirtDriver ?
>
> OpenStack delegates to Libvirt to pick the QEMU binary to use
>
> Libvirt in turns detects the QEMU binaries by searching $PATH.
>
> So if you install your own binaries, just make sure your
> install location is at the front of $PATH when starting
> the libvirtd daemon.
>
>
> Regards,
> 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
> :|
>



-- 
Wolf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140730/68f95dd8/attachment.html>


More information about the Openstack mailing list