From 63d4dd03360f4f485fd69d97b91cc6a2fbb9eb20 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 12 Mar 2014 15:51:31 +0000 Subject: [PATCH] rename qemuReAttachPciDevice to virHostdevReAttachPciDevice Signed-off-by: Chunyan Liu --- src/qemu/qemu_hostdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_hostdev.c b/src/qemu/qemu_hostdev.c index 3a0653ff77..2dfe2521b6 100644 --- a/src/qemu/qemu_hostdev.c +++ b/src/qemu/qemu_hostdev.c @@ -1254,7 +1254,7 @@ qemuPrepareHostDevices(virQEMUDriverPtr driver, * are locked */ static void -qemuReattachPciDevice(virPCIDevicePtr dev, virHostdevManagerPtr mgr) +virHostdevReattachPciDevice(virPCIDevicePtr dev, virHostdevManagerPtr mgr) { /* If the device is not managed and was attached to guest * successfully, it must have been inactive. @@ -1365,7 +1365,7 @@ virHostdevReAttachPCIDevices(virHostdevManagerPtr hostdev_mgr, while (virPCIDeviceListCount(pcidevs) > 0) { virPCIDevicePtr dev = virPCIDeviceListStealIndex(pcidevs, 0); - qemuReattachPciDevice(dev, hostdev_mgr); + virHostdevReattachPciDevice(dev, hostdev_mgr); } virObjectUnref(pcidevs); -- GitLab