
5 Nov
2008
5 Nov
'08
7:59 p.m.
Dan Smith wrote:
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1225902171 28800 # Node ID 1d696e80fccc41c9b21b5f24b84deab82d1416cc # Parent ece7c71cd2aab612dec19cc6247194cdf8b5b049 Don't drop disk type on redefine
Right now, we track the status of disk/cdrom of a disk device, but don't use it in the XML define. This patch uses the value instead of a static device='disk'.
The disk_rasd_to_vdev() function in VSMS doesn't set the device value of the disk struct. The guest fails to define due to a null device. <disk type='file' device='(null)'> <source file='/tmp/default-kvm-dimage'/> <target dev='hda'/> </disk> -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com