]> xenbits.xensource.com Git - libvirt.git/commit
Use sendmsg() on QEMU monitor socket
authorMark McLoughlin <markmc@redhat.com>
Wed, 22 Jul 2009 19:17:14 +0000 (20:17 +0100)
committerMark McLoughlin <markmc@redhat.com>
Mon, 27 Jul 2009 14:31:51 +0000 (15:31 +0100)
commit7d9576edcb06b0a7abe4358317bf429a83539c5e
treea3b62647e20eec0b17cb6ef818cbaae35f7c634f
parent9de2972c30dc2bb2de60ba797b1fb48878d69b7a
Use sendmsg() on QEMU monitor socket

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
src/qemu_driver.c