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@xxxxxxxx> > --- > 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 :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list