libvirt/src/network
Jean-Baptiste Rouault 966a1bfe22 Create file in virFileWriteStr() if it doesn't exist
This patch adds a mode_t parameter to virFileWriteStr().
If mode is different from 0, virFileWriteStr() will try
to create the file if it doesn't exist.

* src/util/util.h (virFileWriteStr): Alter signature.
* src/util/util.c (virFileWriteStr): Allow file creation.
* src/network/bridge_driver.c (networkEnableIpForwarding)
(networkDisableIPV6): Adjust clients.
* src/node_device/node_device_driver.c
(nodeDeviceVportCreateDelete): Likewise.
* src/util/cgroup.c (virCgroupSetValueStr): Likewise.
* src/util/pci.c (pciBindDeviceToStub, pciUnBindDeviceFromStub):
Likewise.
2010-12-03 08:08:22 -07:00
..
bridge_driver.c Create file in virFileWriteStr() if it doesn't exist 2010-12-03 08:08:22 -07:00
bridge_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
default.xml Move config files to align with driver sources 2009-09-21 14:41:45 +01:00