+Thu Sep 13 17:58:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
+
+ * src/qemu_conf.c: Fix handling of <boot> tag for network PXE
+ * tests/qemuxml2argvdata/qemuxml2argv-boot-network.xml: Fix test
+ for network PXE boot element
+ * tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Fixed potential
+ SEGV crash in error case cleanup
+
Wed Sep 12 16:35:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/xend_internal.c, src/xml.c, src/xml.h: Properly check buffer
def->os.bootDevs[def->os.nBootDevs++] = QEMUD_BOOT_FLOPPY;
} else if (!strcmp((char *)prop, "cdrom")) {
def->os.bootDevs[def->os.nBootDevs++] = QEMUD_BOOT_CDROM;
- } else if (!strcmp((char *)prop, "net")) {
+ } else if (!strcmp((char *)prop, "network")) {
def->os.bootDevs[def->os.nBootDevs++] = QEMUD_BOOT_NET;
} else {
goto error;
boottype = "cdrom";
break;
case QEMUD_BOOT_NET:
- boottype = "net";
+ boottype = "network";
break;
}
if (virBufferVSprintf(buf, " <boot dev='%s'/>\n", boottype) < 0)