
On Mon, Jul 27, 2009 at 10:59:47AM +0200, Daniel Veillard wrote:
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.
It won't break on any kernel we care about in the slightest ;-P I'm sure other things will break first ! Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|