mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
Back out accidental commit of code adding an <os> block for dom0
This commit is contained in:
parent
c73708ea46
commit
9e4d606303
@ -1,9 +1,14 @@
|
||||
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.
|
||||
|
@ -1399,11 +1399,7 @@ xend_parse_sexp_desc(virConnectPtr conn, struct sexpr *root, int xendConfigVersi
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user