[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels

From: Paolo Bonzini
Subject: Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels
Date: Wed, 04 Feb 2015 16:22:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 04/02/2015 16:11, Daniel P. Berrange wrote:
> > For GIO/GIOChannel, you'd have to choose between zerocopy and many
> > syscalls, or one copy and few syscalls.  Since every page has two iov
> > entries, one of which is just 8 bytes, one copy and few syscalls is
> > probably faster---but still only half the speed of writev.
> That could be an argument in favour of defining a QEMUIOChannel
> instead. The use of GIOChannel is only compelling if we gain some
> significant benefit from using the standard glib API in this scenario
> and I'm not clear that we really do, other than developer familiarity
> with glib.

GIOChannel's advantage is that---even though it may not be used for
regular migration---integration with chardev would be really easy.

> GIO could be compelling if we could leverage its TLS integration

I agree.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]