qemu_hostdev: move netconfig file location to virhostdev stateDir

Signed-off-by: Chunyan Liu <cyliu@suse.com>
extract general code from qemuPrepareHostdevPCIDevices

Extract general code from qemuPrepareHostdevPCIDevices to
virHostdevPrepareHostdevPCIDevices.

Signed-off-by: Chunyan Liu <cyliu@suse.com>
rename qemu*NetConfigRestore/Replace to virHostdevNetConfigRestore/Replace

Signed-off-by: Chunyan Liu <cyliu@suse.com>
rename qemuGet*PciHostDeviceList to virHostdevGet*PciHostDeviceList

Signed-off-by: Chunyan Liu <cyliu@suse.com>
pass driver name as a parameter to virHostdevPrepareHostdevPCIDevices

Signed-off-by: Chunyan Liu <cyliu@suse.com>
extract general code from qemuDomainReAttachHostdevDevices

Extract general code from qemuDomainReAttachHostdevDevicesi
to virHostdevReAttachPCIDevices

Signed-off-by: Chunyan Liu <cyliu@suse.com>
pass driver name as a parameter to virHostdevReAttachPCIDevices

Signed-off-by: Chunyan Liu <cyliu@suse.com>
rename qemuReAttachPciDevice to virHostdevReAttachPciDevice

Signed-off-by: Chunyan Liu <cyliu@suse.com>
move virHostdevPrepare(ReAttach)PCIDevices to virhostdev.c

Signed-off-by: Chunyan Liu <cyliu@suse.com>
extract general code from qemuUpdateActivePciHostdevs

Extract general code from qemuUpdateActivePciHostdevs to
virHostdevUpdateActivePciHostdevs.

Signed-off-by: Chunyan Liu <cyliu@suse.com>
extract general code from qemuUpdateActiveUsbHostdevs

Extract general code from qemuUpdateActiveUsbHostdevs to
virHostdevUpdateActiveUsbHostdevs.

Signed-off-by: Chunyan Liu <cyliu@suse.com>
extract general code from qemuUpdateActiveScsiHostdevs

Extract general code from qemuUpdateActiveScsiHostdevs to
virHostdevUpdateActiveScsiHostdevs

Signed-off-by: Chunyan Liu <cyliu@suse.com>
pass driver_name as parameter of virHostdevUpdate*Hostdevs functions

Signed-off-by: Chunyan Liu <cyliu@suse.com>
move virHostdevUpdate* functions to virhostdev.c

Signed-off-by: Chunyan Liu <cyliu@suse.com>
qemuPrepareUSBDevices: code adjustment for extracting general code

Signed-off-by: Chunyan Liu <cyliu@suse.com>
extract general code from qemuPrepareHostUSBDevices

Extract general code from qemuPrepareHostUSBDevices to
virHostdevPrepareHostUSBDevices.

Signed-off-by: Chunyan Liu <cyliu@suse.com>
rename qemu*USBDevices to virHostdev*USBDevices

Signed-off-by: Chunyan Liu <cyliu@suse.com>
pass driver name to virHostdevPrepareUSBDevices

Signed-off-by: Chunyan Liu <cyliu@suse.com>
move virHostdevPrepareHostUSBDevices to virhostdev.c

Signed-off-by: Chunyan Liu <cyliu@suse.com>
extract general code from qemuPrepareHostSCSIDevices

Extract general code from qemuPrepareHostSCSIDevices to
virHostdevPrepareHostSCSIDevices.

Signed-off-by: Chunyan Liu <cyliu@suse.com>