+Thu Jun 7 15:48:30 CEST 2007 Daniel Veillard <veillard@redhat.com>
+
+ * src/xm_internal.c: Fix boot device XML -> config conversion
+ * test/xmconfigdata/test-fullvirt-new-cdrom.xml,
+ test/xmconfigdata/test-fullvirt-old-cdrom.xml fix syntax for
+ boot device
+
Thu Jun 7 15:48:30 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/xend_internal.c src/xm_internal.c src/xml.c: add support
"cannot set the os loader parameter") < 0)
goto error;
- obj = xmlXPathEval(BAD_CAST "string(/domain/os/boot)", ctxt);
+ obj = xmlXPathEval(BAD_CAST "string(/domain/os/boot/@dev)", ctxt);
if ((obj != NULL) && (obj->type == XPATH_STRING) &&
(obj->stringval != NULL)) {
if (!strcmp((const char*)obj->stringval, "fd"))
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
- <boot>cdrom</boot>
+ <boot dev='cdrom'/>
</os>
<currentMemory>403456</currentMemory>
<memory>592896</memory>
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
- <boot>cdrom</boot>
+ <boot dev='cdrom'/>
</os>
<currentMemory>403456</currentMemory>
<memory>592896</memory>