Re: [Qemu-devel] [PATCH 2/3] vhost: move virtio 1.0 check to cross-endian helper

2015-11-12 Thread Cornelia Huck
On Mon, 09 Nov 2015 18:58:25 +0100 Greg Kurz wrote: > Indeed vhost doesn't need to ask for vring endian fixing if the device is > virtio 1.0, since it is already handled by the in-kernel vhost driver. This > patch simply consolidates the logic into the existing helper.

[Qemu-devel] [PATCH 2/3] vhost: move virtio 1.0 check to cross-endian helper

2015-11-09 Thread Greg Kurz
Indeed vhost doesn't need to ask for vring endian fixing if the device is virtio 1.0, since it is already handled by the in-kernel vhost driver. This patch simply consolidates the logic into the existing helper. Signed-off-by: Greg Kurz --- hw/virtio/vhost.c |9