]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Starts dnsmasq from libvirtd with --dhcp-hostsfile option
authorSatoru SATOH <satoru.satoh@gmail.com>
Mon, 26 Apr 2010 14:07:25 +0000 (16:07 +0200)
committerDaniel Veillard <veillard@redhat.com>
Mon, 26 Apr 2010 15:20:02 +0000 (17:20 +0200)
commit8fa9c221424702459ebcf039cad6b1ef3278848b
treed23c7df73c00ec8b20ec62dac92d6b17b105f6b7
parent51d203c67655bd567d17c991712736384a6b48f3
Starts dnsmasq from libvirtd with --dhcp-hostsfile option

This patch makes libvirtd start the dnsmasq daemon with a
--dhcp-hostsfile option instead of --dhcp-host options for each
'//ip/dhcp/host' entries defined in network xml file.

the dnsmasq host file is stored into /var/lib/libvirt/network

* src/network/bridge_driver.c: define the directory for the hostfiles
  and save/delete them to be used by dnsmasq
src/network/bridge_driver.c