Am 19.06.2014 14:47, schrieb Gerd Hoffmann: > Maybe it makes sense to have a usb-hcd-hotplug-test.c file and collect > hotplug testing for all usb hcds we have there. For code sharing > that'll be better for sure as the basic code flow is the same for all > hcd types.
Ah yes, seeing that there is a "global" QEMU instance in 4/5, that may make more sense. OTOH hot-plug testing is a recurring topic for all PCI devices and won't work in general (e.g., virtio-blk needs drive), but maybe we can factor out some helpers to a .h file. Cheers, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg