[libvirt] [PATCH] pass stub driver name instead of pciFindStubDriver

Laine Stump laine at laine.org
Thu Jan 10 16:31:00 UTC 2013


On 01/10/2013 05:16 AM, Daniel P. Berrange wrote:
> On Thu, Jan 10, 2013 at 03:51:43PM +0800, Chunyan Liu wrote:
>> Pass stub driver name directly to pciDettachDevice and pciReAttachDevice to fit
>> for different libvirt drivers. For example, qemu driver prefers pci-stub, but
>> Xen prefers pciback.
>>  
>> Signed-off-by: Chunyan Liu <cyliu at suse.com>
>> ---
>>  src/qemu/qemu_driver.c  |    4 +-
>>  src/qemu/qemu_hostdev.c |    6 ++--
>>  src/util/virpci.c       |   62 +++++++++++++++-------------------------------
>>  src/util/virpci.h       |    6 +++-
>>  src/xen/xen_driver.c    |    4 +-
>>  5 files changed, 31 insertions(+), 51 deletions(-)
> ACK, this looks nicer to me.

I just pushed this.




More information about the libvir-list mailing list