[libvirt] [PATCH 5/7] Use sendmsg() on QEMU monitor socket

Daniel Veillard veillard at redhat.com
Mon Jul 27 08:55:57 UTC 2009


On Wed, Jul 22, 2009 at 10:57:34PM +0100, Mark McLoughlin wrote:
> Switch from using write() to using sendmsg() on QEMU's monitor socket
> so that we can add support for SCM_RIGHTS.
> 
> * src/qemu_driver.c: add sendmsg() based qemudMonitorSendUnix() and use
>   it when the monitor fd is a unix socket

  Okay this makes sense only once looking at the next patch where
the extra information can only be passed as part of a struct iovec

  ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list