https://bugzilla.redhat.com/show_bug.cgi?id=428868
Defining a xen fullvirt guest with a <boot dev="{hd,cdrom,etc.}">
tag currently ignores this tag and forces in a kernel tag.
Dan pointed out the fix in the bz, which I verified does the trick.
Patch attached.
Thanks,
Cole
diff --git a/src/xend_internal.c b/src/xend_internal.c
index 8bbc28f..ddd1888 100644
--- a/src/xend_internal.c
+++ b/src/xend_internal.c
@@ -1323,7 +1323,7 @@ xend_parse_sexp_desc_os(virConnectPtr xend, struct sexpr *node, virBufferPtr buf
if (hvm)
virBufferVSprintf(buf, " <loader>%s</loader>\n", loader);
- if (kernel) {
+ if (kernel && STRNEQ(kernel, loader)) {
virBufferVSprintf(buf, " <kernel>%s</kernel>\n", kernel);
if (initrd && initrd[0])
virBufferVSprintf(buf, " <initrd>%s</initrd>\n", initrd);
--
Libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list