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

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

 



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

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

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