[libvirt] [PATCH v14 04/49] qemu: reuse hostdev interfaces to avoid duplicate

Daniel P. Berrange berrange at redhat.com
Mon Mar 10 17:12:54 UTC 2014


On Fri, Mar 07, 2014 at 06:52:31PM +0800, Chunyan Liu wrote:
> Same logic of preparing/reattaching hostdevs could be used in attach/detach
> hotplug places, so reuse hostdev interfaces to avoid duplicate, also for later
> extracting general code to common library.
> 
> Signed-off-by: Chunyan Liu <cyliu at suse.com>
> ---
>  src/qemu/qemu_hostdev.c |  4 ++--
>  src/qemu/qemu_hostdev.h | 11 +++++++++
>  src/qemu/qemu_hotplug.c | 63 ++++---------------------------------------------
>  3 files changed, 18 insertions(+), 60 deletions(-)

ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list