[libvirt] [PATCH 6/7] Add SCM_RIGHTS support to QEMU monitor code

Daniel Veillard veillard at redhat.com
Mon Jul 27 08:59:47 UTC 2009


On Wed, Jul 22, 2009 at 10:57:35PM +0100, Mark McLoughlin wrote:
> Add qemudMonitorCommandWithFd() which allows a file descriptor to be
> sent to qemu over a unix monitor socket using SCM_RIGHTS. See the
> unix(7) and cmsg(3) man pages.
> 
> * src/qemu_conf.c: add a scm_fd param to qemudMonitorCommandExtra(),
>   add qemudMonitorCommandWithFd(), implement SCM_RIGHTS support in
>   qemudMonitorSendUnix()

  ACK, that's the logical next step from previous patch, apparently
SCM_RIGHTS has been around forever, so this should not break on older
kernel I assume.

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