* src/xend_internal.c: applied patch from Cole Robinson to not

loose the boot tag when defining a fully virtualized xen domain
Daniel
This commit is contained in:
Daniel Veillard 2008-03-07 09:23:30 +00:00
parent 2a4c20437d
commit d4cbf4c624
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Mar 7 10:22:00 CET 2008 Daniel Veillard <veillard@redhat.com>
* src/xend_internal.c: applied patch from Cole Robinson to not
loose the boot tag when defining a fully virtualized xen domain
Tue Mar 4 20:01:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
Make iSCSI login actually work

View File

@ -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) && ((!loader) || (STRNEQ(kernel, loader)))) {
virBufferVSprintf(buf, " <kernel>%s</kernel>\n", kernel);
if (initrd && initrd[0])
virBufferVSprintf(buf, " <initrd>%s</initrd>\n", initrd);