[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] PATCH: Be more flexible in emulator choice on x86 archs
- From: Daniel Veillard <veillard redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] PATCH: Be more flexible in emulator choice on x86 archs
- Date: Fri, 20 Mar 2009 13:27:47 +0100
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 veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]