提交 9e4d6063 编写于 作者: D Daniel P. Berrange

Back out accidental commit of code adding an <os> block for dom0

上级 c73708ea
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册