[Libvir] [PATCH] virsh dumpxml and create fails with no UNAME cdrom device
veillard at redhat.com
Fri Apr 6 08:37:48 UTC 2007
On Fri, Apr 06, 2007 at 11:53:36AM +0900, Nobuhiro Itou wrote:
> In the xmexample.hvm(/etc/xen/xmexample.hvm), no UNAME cdrom device is written.
> disk = [ 'file:/var/images/min-el3-i386.img,hda,w', ',hdc:cdrom,r' ]
> But virsh dumpxml fails if the domain has virtual cdrom device without UNAME.
> And virsh create fails if the domain config XML has no UNAME cdrom device, too.
> The attached patch adds to solve this problem.
Hum, this would be clearer if you could gave the XML and sexpr format
for such an example, that would also allow to add it to the regression tests
in tests/sexpr2xmldata and tests/xml2sexprdata . Ideally every change to
the conversion routines should be added to the regression tests suite to
help stabilizing the behaviour over long term.
Could you provide this ?
thanks in advance,
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