[Spice-devel] [PATCH] Do endian swapping.
Michal Suchánek
msuchanek at suse.de
Mon Dec 12 14:01:35 UTC 2016
Hello,
On Mon, 28 Nov 2016 15:08:34 +0100
Michal Suchanek <msuchanek at suse.de> wrote:
> This allows running big endian and little endian guest side by side
> using cut&paste between them.
>
> There is some general design idea that swapping should come as cloce
> to virtio_read/virtio_write as possible. In particular, the protocol
> between vdagent and vdagentd is guest-specific and in native endian.
> With muliple layers of headers this is a bit tricky. A few message
> types have to be swapped fully before passing through vdagentd.
Is there any problem with this patch?
I was able to test
- mouse events
- cut & paste
- audio volume sync
unused
- file transfer
unsupported
- monitor size sync (qemu ppc64 does not support qxl graphics)
Due to switch from big endian to little endian as default on ppc64 the
ability to use the agent is very useful for GUI testing of older
distribution releases.
Thanks
Michal
More information about the Spice-devel
mailing list