[PATCH v3] KVM: Specify byte order for KVM_EXIT_MMIO

2014-01-28 Thread Christoffer Dall
The KVM API documentation is not clear about the semantics of the data field on the mmio struct on the kvm_run struct. This has become problematic when supporting ARM guests on big-endian host systems with guests of both endianness types, because it is unclear how the data should be exported to us

Re: [PATCH v3] KVM: Specify byte order for KVM_EXIT_MMIO

2014-01-29 Thread Alexander Graf
On 01/28/2014 05:28 PM, Christoffer Dall wrote: The KVM API documentation is not clear about the semantics of the data field on the mmio struct on the kvm_run struct. This has become problematic when supporting ARM guests on big-endian host systems with guests of both endianness types, because i

Re: [PATCH v3] KVM: Specify byte order for KVM_EXIT_MMIO

2014-02-02 Thread Peter Maydell
On 28 January 2014 16:28, Christoffer Dall wrote: > diff --git a/Documentation/virtual/kvm/api.txt > b/Documentation/virtual/kvm/api.txt > index 366bf4b..e11f09d 100644 > --- a/Documentation/virtual/kvm/api.txt > +++ b/Documentation/virtual/kvm/api.txt > @@ -2565,6 +2565,10 @@ executed a memory-m

Re: [PATCH v3] KVM: Specify byte order for KVM_EXIT_MMIO

2014-02-02 Thread Christoffer Dall
On Sun, Feb 02, 2014 at 12:50:47PM +, Peter Maydell wrote: > On 28 January 2014 16:28, Christoffer Dall > wrote: > > diff --git a/Documentation/virtual/kvm/api.txt > > b/Documentation/virtual/kvm/api.txt > > index 366bf4b..e11f09d 100644 > > --- a/Documentation/virtual/kvm/api.txt > > +++ b/

Re: [PATCH v3] KVM: Specify byte order for KVM_EXIT_MMIO

2014-03-13 Thread Christoffer Dall
On Tue, Jan 28, 2014 at 08:28:42AM -0800, Christoffer Dall wrote: > The KVM API documentation is not clear about the semantics of the data > field on the mmio struct on the kvm_run struct. > > This has become problematic when supporting ARM guests on big-endian > host systems with guests of both e

Re: [PATCH v3] KVM: Specify byte order for KVM_EXIT_MMIO

2014-03-17 Thread Marc Zyngier
On Fri, Mar 14 2014 at 4:27:56 am GMT, Christoffer Dall wrote: > On Tue, Jan 28, 2014 at 08:28:42AM -0800, Christoffer Dall wrote: >> The KVM API documentation is not clear about the semantics of the data >> field on the mmio struct on the kvm_run struct. >> >> This has become problematic when

Re: [PATCH v3] KVM: Specify byte order for KVM_EXIT_MMIO

2014-03-29 Thread Paolo Bonzini
Il 28/01/2014 17:28, Christoffer Dall ha scritto: The KVM API documentation is not clear about the semantics of the data field on the mmio struct on the kvm_run struct. This has become problematic when supporting ARM guests on big-endian host systems with guests of both endianness types, because