]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Factor qemuBuildNicStr() out from qemuBuildCommandLine()
authorMark McLoughlin <markmc@redhat.com>
Fri, 17 Jul 2009 21:08:33 +0000 (22:08 +0100)
committerMark McLoughlin <markmc@redhat.com>
Wed, 22 Jul 2009 10:34:06 +0000 (11:34 +0100)
commitce2e300a4f00f9ac131204ffd8b095413532b923
treefe8ca1fe2474d37e95fa15a2df38500c10b5d42f
parent0165410712e25fffa0585bf026762e3cdc623a9e
Factor qemuBuildNicStr() out from qemuBuildCommandLine()

Re-factor this code so that it can be used for NIC hotplug
too. The awkward arguments are needed to allow use to do
"pci_add auto nic macaddr=..."

* src/qemu_conf.c: factor the nic string formatting code into
  its own function
src/qemu_conf.c