Re: [Qemu-devel] [PATCH] vhost user: fix documentation of log atomic elements

2015-10-29 Thread Victor Kaplansky
After looking into linux driver code at hw/virtio/vhost.c, I see that the driver does what spec says. Thus spec the should remain as is, and QEMU need to be fixed on big-endian machines by changing the code in hw/virtio/vhost.c --Victor - Original Message - From: "Victor Kaplansky" To: q

[Qemu-devel] [PATCH] vhost user: fix documentation of log atomic elements

2015-10-29 Thread Victor Kaplansky
Current implementation in hw/virtio/vhost.c accesses the log by 32-bit wide chunks in host native bit and byte endianness. Accessing the log by 8-bit wide chunks, as the spec suggests, will be broken on big-endian hosts. This commit changes the spec to match the implementation. Signed-off-by: Vic