qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH RFC 1/2] Allow recvmsg for qemu char devices


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH RFC 1/2] Allow recvmsg for qemu char devices
Date: Thu, 30 Jul 2009 13:28:57 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Cam Macdonell wrote:
This patch allows switching from the standard recv to recvmsg for a qemu char
device.  Switching allows file descriptors to be passed with SCM_RIGHTS to a
qemu process.  Instead of receiving a buffer of data the recvmsg call back is
passed a 'struct msghdr'.

The patch also adds a function to add an eventfd as qemu char device.  Perhaps
this should be a separate patch.

This is not an elegant solution to supporting recvmsg so suggestions are
especially welcome.

Use the sendfd/closefd commands that Mark introduced.

Regards,

Anthony Liguori




reply via email to

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