From: Daniel Veillard Date: Wed, 21 Nov 2007 16:31:30 +0000 (+0000) Subject: * src/xm_internal.c: fix the parsing of predefined domains on X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1ad3d2cdd86051002656d5d37a48964ccbc9080b;p=libvirt.git * src/xm_internal.c: fix the parsing of predefined domains on xen prior to 3.1 to take into accound the fact that disk can be shareable. Daniel --- diff --git a/ChangeLog b/ChangeLog index 8b1f6a187a..c380648693 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Nov 21 17:29:42 CET 2007 Daniel Veillard + + * src/xm_internal.c: fix the parsing of predefined domains on + xen prior to 3.1 to take into accound the fact that disk can + be shareable. + Wed Nov 21 11:59:00 UTC 2007 Richard W.M. Jones * docs/libvir.html, docs/site.xsl: Fix the link to OCaml diff --git a/src/xm_internal.c b/src/xm_internal.c index a965b6ceba..e8c1ac3e45 100644 --- a/src/xm_internal.c +++ b/src/xm_internal.c @@ -810,6 +810,9 @@ char *xenXMDomainFormatXML(virConnectPtr conn, virConfPtr conf) { if (!strcmp(head, "r") || !strcmp(head, "ro")) virBufferAdd(buf, " \n", -1); + else if ((!strcmp(head, "w!")) || + (!strcmp(head, "!"))) + virBufferAdd(buf, " \n", -1); virBufferAdd(buf, " \n", -1); skipdisk: