]> xenbits.xensource.com Git - libvirt.git/commit
Convert dhcpStartDhcpDaemon from virRun to virCommand
authorLaine Stump <laine@laine.org>
Fri, 10 Dec 2010 18:54:48 +0000 (13:54 -0500)
committerLaine Stump <laine@laine.org>
Fri, 10 Dec 2010 21:06:21 +0000 (16:06 -0500)
commit044f2011aae84e89928f6b4e79f095b2f1f92396
treeff5c6b8334f3439773116caf86b4fe235983df7c
parentc9006b6b1ea4abef51b7eea01d5b69cb365bc333
Convert dhcpStartDhcpDaemon from virRun to virCommand

This is pretty straightforward - even though dnsmasq gets daemonized
and uses a pid file, those things are both handled by the dnsmasq
binary itself. And libvirt doesn't need any of the output of the
dnsmasq command either, so we just setup the args and call
virRun(). Mainly it was just a (mostly) mechanical job of replacing
the APPEND_ARG() macro (and some other *printfs()) with
virCommandAddArg*().
src/network/bridge_driver.c