[Libvir] [PATCH] virsh dumpxml and create fails with no UNAME cdrom device

Nobuhiro Itou fj0873gn at aa.jp.fujitsu.com
Fri Apr 6 02:53:36 UTC 2007


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.

Signed-off-by: Nobuhiro Itou <fj0873gn at aa.jp.fujitsu.com>

Nobuhiro Itou.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_source_cdrom.patch
Type: application/octet-stream
Size: 9502 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070406/be09d7e6/attachment-0001.obj>

More information about the libvir-list mailing list