vdagentd: use new virtio port write_[start,append] functions
commite29a1dc386db50d1b5e50463a16d0d8336fc4f01
authorHans de Goede <hdegoede@redhat.com>
Tue, 5 Apr 2011 10:08:36 +0000 (5 12:08 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 5 Apr 2011 10:08:36 +0000 (5 12:08 +0200)
tree265c080f38c8bb560bc8c861b56984e9aff4c0fb
parent2e3d4c2080eaa47fe6c2cf7cb52a1ce81e85afe9
vdagentd: use new virtio port write_[start,append] functions

This avoids the need to alloc a temporary buffer and memcpy all the
clipboard data while building clipboard messages to send to the client.
src/vdagentd.c