diff --git a/AUTHORS b/AUTHORS index 36043963341fe3fdc1b0918c05ed91a35c9ce76d..028dafcf2012d05abcda8f8ab333d64ae3acd972 100644 --- a/AUTHORS +++ b/AUTHORS @@ -34,6 +34,7 @@ Patches have also been contributed by: Nobuhiro Itou Masayuki Sunou Mark Johnson + Christian Ehrhardt [....send patches to get your name here....] diff --git a/ChangeLog b/ChangeLog index 1b60df7f24053aadcdcfb3472b4b0186054eabdd..1d1dfdd513c11327f6b64690772b9f5baef4298a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Jul 12 10:57:17 CEST 2007 Daniel Veillard + + * src/xen_internal.c: applied patch from Christian Ehrhardt to + fix Xen hypervisor alignment problems on PPC64 + * AUTHORS: added Christian + Thu Jul 12 09:34:00 BST 2007 Richard W.M. Jones * configure.in: Removed --with-qemud-pid-file option since diff --git a/docs/bugs.html b/docs/bugs.html index ea03e5ffdb408e57bd501f4557e5a751718b46d8..8c8887e3867f7ef8e0050b719996674c5bee87dc 100644 --- a/docs/bugs.html +++ b/docs/bugs.html @@ -9,4 +9,9 @@ If possible generate the patches by using cvs diff -u in a CVS checkout.

W If you want to report a bug or ask for a feature, please check the existing open bugs, then if yours isn't a duplicate of an existing bug, log a new bug and attach any patch or extra data that you may have available. It is always a good idea to also to post to the mailing-list -too, so that everybody working on the project can see it, thanks !

+too, so that everybody working on the project can see it, thanks !

Some of the libvirt developpers may be found on IRC on the OFTC +network. Use the settings:

  • server: irc.oftc.net
  • +
  • port: 6667 (the usual IRC port)
  • +
  • channel: #virt
  • +

But there is no garantee that someone will be watching or able to reply, +use the mailing-list if you don't get an answer there.

diff --git a/docs/libvir.html b/docs/libvir.html index f9d7183bec6f1bda7312fc10874d1d2ebcaf960a..69e3451f68a35289e1218d38d920b2d39f6613cc 100644 --- a/docs/libvir.html +++ b/docs/libvir.html @@ -1417,6 +1417,15 @@ an existing bug, mailing-list too, so that everybody working on the project can see it, thanks !

+

Some of the libvirt developpers may be found on IRC on the OFTC +network. Use the settings:

+
    +
  • server: irc.oftc.net
  • +
  • port: 6667 (the usual IRC port)
  • +
  • channel: #virt
  • +
+

But there is no garantee that someone will be watching or able to reply, +use the mailing-list if you don't get an answer there.

Remote support

diff --git a/src/xen_internal.c b/src/xen_internal.c index 12d948bb8e51a1b2dd463465dec6625cd2d12c0e..545a816e88332913af3a72dccb1771a0db1ca87e 100644 --- a/src/xen_internal.c +++ b/src/xen_internal.c @@ -314,10 +314,17 @@ typedef struct xen_v2_getdomaininfolistop xen_v2_getdomaininfolistop; struct xen_v2s3_getdomaininfolistop { domid_t first_domain; uint32_t max_domains; +#ifdef __BIG_ENDIAN__ + struct { + int __pad[(sizeof (long long) - sizeof (struct xen_v2d5_getdomaininfo *)) / sizeof (int)]; + struct xen_v2d5_getdomaininfo *v; + } buffer; +#else union { struct xen_v2d5_getdomaininfo *v; uint64_t pad ALIGN_64; } buffer; +#endif uint32_t num_domains; }; typedef struct xen_v2s3_getdomaininfolistop xen_v2s3_getdomaininfolistop; @@ -422,10 +429,17 @@ typedef struct xen_v2_setvcpumap xen_v2_setvcpumap; /* HV version 2, Dom version 5 requires 64-bit alignment */ struct xen_v2d5_cpumap { +#ifdef __BIG_ENDIAN__ + struct { + int __pad[(sizeof (long long) - sizeof (uint8_t *)) / sizeof (int)]; + uint8_t *v; + } bitmap; +#else union { uint8_t *v; uint64_t pad ALIGN_64; } bitmap; +#endif uint32_t nr_cpus; }; struct xen_v2d5_setvcpumap {