[libvirt] PATCH: Be more flexible in emulator choice on x86 archs

Daniel Veillard veillard at redhat.com
Fri Mar 20 12:27:47 UTC 2009

On Fri, Mar 20, 2009 at 11:18:57AM +0000, Daniel P. Berrange wrote:
> To address this I think we'd need to completely change the logic to
> do something like
>  - For each directory in $PATH
>      For each emulator name in (qemu, qemu-system-x864, etc)
>         If emulator exists
>            run  $emulator -help
> So this lets us build up a list of all available emulators and their
> capabilities (eg, whether each supports qemu, kqemu, kvm).

  yes far more flexible, and introspection is the right way to
assess capabilities. Agreed this sounds the way to go.

> >From that list, we can then populate the list of supported combinations
> of guest, arch, domain type. 
> If we honour $PATH, then it probably wouldn't be neccessary to add
> config params for it.

  yes that would probably be sufficient, unless the admin did something
really weird like using /usr/lib/libexec or something ...


Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

More information about the libvir-list mailing list