[Libvir] PATCH: Added QEMU driver for virDomainGetOSType method

Daniel Veillard veillard at redhat.com
Sun Apr 15 21:27:08 UTC 2007


On Sun, Apr 15, 2007 at 10:10:00PM +0100, Daniel P. Berrange wrote:
> 
> For some reason we never had an impl of the virDomainGetOSType method for
> the QEMU driver - and for even more bizarre reason it wasn't failing, because
> the old libvirt.c code hardcoded 'linux' if there was no impl. The latter

  haha :-)

> was fixed by Rich, with the xenUnified driver, so exposing the former bug.
> This patch adds a simple impl for QEMU - there's no need to talk to the
> daemon in this case because QEMU guests can only ever by of type 'hvm'.

  Sure looks fine :-)

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list