* 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
This commit is contained in:
Daniel Veillard 2007-11-21 16:31:30 +00:00
parent 207962bb1a
commit 1ad3d2cdd8
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Wed Nov 21 17:29:42 CET 2007 Daniel Veillard <veillard@redhat.com>
* 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 <rjones@redhat.com>
* docs/libvir.html, docs/site.xsl: Fix the link to OCaml

View File

@ -810,6 +810,9 @@ char *xenXMDomainFormatXML(virConnectPtr conn, virConfPtr conf) {
if (!strcmp(head, "r") ||
!strcmp(head, "ro"))
virBufferAdd(buf, " <readonly/>\n", -1);
else if ((!strcmp(head, "w!")) ||
(!strcmp(head, "!")))
virBufferAdd(buf, " <shareable/>\n", -1);
virBufferAdd(buf, " </disk>\n", -1);
skipdisk: