]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Factor qemudMonitorSend() out of qemudMonitorCommandExtra()
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)
commit9de2972c30dc2bb2de60ba797b1fb48878d69b7a
tree23c6ad23c816314c5aed13a5a5bb6e717c027a82
parentbe44cabd7f0e8677588900cd046b00a5506522c4
Factor qemudMonitorSend() out of qemudMonitorCommandExtra()

Add a little helper function to write the monitor command followed by
carriage return in a single write.

This doesn't make any real difference, but allows us to more easily
switch to using sendmsg() when using the monitor over a unix socket.

* src/qemu_conf.c: split qemudMonitorSend() out
src/qemu_driver.c