Re: [libvirt] [PATCH] Don't list capabilities entries if emulators can't be accessed

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

 



On Mon, Aug 25, 2008 at 01:16:39PM -0400, Cole Robinson wrote:
> Daniel P. Berrange wrote:
> > This isn't right - this means that if KVM is installed, but QEMU is
> > not installed you won't get any capabilities.
> > 
> > Basically we need todo all the access() checks for QEMU, KVM, /dev/kvm
> > up-front. And then generated the capabilites if either QEMU or KVM is
> > available.
> > 
> 
> Okay, I think this patch solves the issues. We check upfront
> for the base emulator and potential kvm emulators (qemu-kvm,
> and /usr/bin/kvm for ubuntu/upstream .spec). If nothing is
> found, just return. If only the base emulator is found, skip
> kvm even if /dev/kvm exists. If only kvm bin is found, add
> the base emulator capabilities only if emulator and host arch
> matches.

  That looks fine, applied and commited to CVS,

    thanks !

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]