Re: [libvirt] PATCH: Fix error reporting for guest with missing network

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

 



On Tue, Mar 31, 2009 at 04:37:36PM +0100, Daniel P. Berrange wrote:
> If you attempt to create a Xen guest using a virutal network that does not
> exist, or is not running you get a cryptic message
> 
> # virsh create rhel5pv.xml
> error: Failed to create domain from rhel5pv.xml
> error: XML description for failed to build sexpr is not well formed or invalid
> 
> This is because the XenD/XM drivers are both overwriting errors that have
> already been reported. The fix is simply to remove this bogus error call.
> It also tweaks the original error reporting to be more meaningful.
> 
> The result is this
> 
> # virsh create rhel5pv.xml
> error: Failed to create domain from rhel5pv.xml
> error: Network not found: default

  Okay, looks fine to me, ACK,

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]