+Fri Apr 13 10:07:04 EST 2007 Daniel P. Berrange <berrange@redhat.com>
+
+ * src/xend_internal.c: Back out accidental commit of code which
+ added an <os> block for dom0.
+
Fri Apr 13 10:00:04 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/virsh.c: fixed a bad messaging mechanism preventing localization
and raised by Thomas Canniot
-Thu Apr 12 19:51:00 EST 2007 Daniel Berrange <berrange@redhat.com>
+Thu Apr 12 19:51:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* src/xen_internal.c: Updated structs to work with new Xen 3.0.5
hypercall ABI. Mask out HVM bit when determining domain status.
virBufferVSprintf(&buf, " <bootloader>%s</bootloader>\n", tmp);
}
- if (domid == 0) {
- virBufferAdd(&buf, " <os>\n", -1);
- virBufferAdd(&buf, " <type>linux</type>\n", -1);
- virBufferAdd(&buf, " </os>\n", -1);
- } else {
+ if (domid != 0) {
if (sexpr_lookup(root, "domain/image")) {
hvm = sexpr_lookup(root, "domain/image/hvm") ? 1 : 0;
xend_parse_sexp_desc_os(conn, root, &buf, hvm, bootloader);