Re: [libvirt] PATCH: Fix QEMU arg detection for kvm >= 85

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

 



On Fri, May 08, 2009 at 11:39:28AM +0100, Daniel P. Berrange wrote:
> The -help output from KVM >= 85 is now large than we expected. This patch
> increases the buffer from 8k to 64k when reading help. It also provides
> more detailed error messages should something go wrong in the future.
> 
> Two examples of improved error reporting
> 
> # virsh -c qemu:///system start VirtTest
> error: Failed to start domain VirtTest
> error: Unable to read QEMU help output: Value too large for defined data type
> 
> # virsh -c qemu:///system start VirtTest
> error: Failed to start domain VirtTest
> error: internal error cannot parse QEMU version number in 'QEMU PC emulator version 0.9.1 (kvm-79), Copyright (c) 2003-2008 Fabrice Bellard'

  ACK, a rather annoying bug !

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]