On Tue, Mar 31, 2009 at 11:41:55PM +0200, Daniel Veillard wrote:
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,
Comitted
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|