Re: [Qemu-devel] USB PCI host bus adapter hot plug

2014-08-28 Thread Gonglei (Arei)
Hi, Gerd > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Thursday, August 28, 2014 4:36 PM > Subject: Re: [Qemu-devel] USB PCI host bus adapter hot plug > > Hi, > > > > The last missing bit (beside the make check failures) needed to finally > > >

Re: [Qemu-devel] USB PCI host bus adapter hot plug

2014-08-28 Thread Gerd Hoffmann
Hi, > > The last missing bit (beside the make check failures) needed to finally > > merge this is turning off hotplug in case we have a companion setup. > > > Have a patch work for this yet? Thanks. Havn't found time to do it yet. Patches are welcome. cheers, Gerd

Re: [Qemu-devel] USB PCI host bus adapter hot plug

2014-08-28 Thread Gonglei (Arei)
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Thursday, August 28, 2014 4:25 PM > To: Gonglei (Arei) > Cc: Alexey Kardashevskiy; qemu-devel@nongnu.org > Subject: Re: [Qemu-devel] USB PCI host bus adapter hot plug > > Hi, >

Re: [Qemu-devel] USB PCI host bus adapter hot plug

2014-08-28 Thread Gerd Hoffmann
Hi, > Actually I have post a patch serials for supporting usb host adapter > hotplugging, > Which has been involved in Gerd's (the USB mantainer) usb-next tree. Please > see: > https://www.kraxel.org/cgit/qemu/log/?h=rebase/usb-next While being at it: I've rebased to latest master, solved so

Re: [Qemu-devel] USB PCI host bus adapter hot plug

2014-08-12 Thread Alexey Kardashevskiy
On 08/13/2014 03:00 PM, Gonglei (Arei) wrote: > I noticed that QMP's "device_add usb-ehci,id=i2,bus=pci.0" fails on PCI > hotplug. The same for pci-ohci and this is because their initfn() do > "dc->hotpluggable = false". So I removed those and now I can hotplug >> USB > hosts but

Re: [Qemu-devel] USB PCI host bus adapter hot plug

2014-08-12 Thread Gonglei (Arei)
> >>> I noticed that QMP's "device_add usb-ehci,id=i2,bus=pci.0" fails on PCI > >>> hotplug. The same for pci-ohci and this is because their initfn() do > >>> "dc->hotpluggable = false". So I removed those and now I can hotplug > USB > >>> hosts but none of them is able to actually work: > >>> >

Re: [Qemu-devel] USB PCI host bus adapter hot plug

2014-08-12 Thread Alexey Kardashevskiy
On 08/12/2014 04:05 PM, Alexey Kardashevskiy wrote: > On 08/11/2014 03:59 PM, Gonglei (Arei) wrote: >> Hi, >> >>> Subject: [Qemu-devel] USB PCI host bus adapter hot plug >>> >>> Hi! >>> >>> I noticed that QMP's "device_add usb

Re: [Qemu-devel] USB PCI host bus adapter hot plug

2014-08-11 Thread Alexey Kardashevskiy
On 08/11/2014 03:59 PM, Gonglei (Arei) wrote: > Hi, > >> Subject: [Qemu-devel] USB PCI host bus adapter hot plug >> >> Hi! >> >> I noticed that QMP's "device_add usb-ehci,id=i2,bus=pci.0" fails on PCI >> hotplug. The same for pci-ohci a

Re: [Qemu-devel] USB PCI host bus adapter hot plug

2014-08-10 Thread Gonglei (Arei)
Hi, > Subject: [Qemu-devel] USB PCI host bus adapter hot plug > > Hi! > > I noticed that QMP's "device_add usb-ehci,id=i2,bus=pci.0" fails on PCI > hotplug. The same for pci-ohci and this is because their initfn() do > "dc->hotpluggable = false&qu

[Qemu-devel] USB PCI host bus adapter hot plug

2014-08-10 Thread Alexey Kardashevskiy
Hi! I noticed that QMP's "device_add usb-ehci,id=i2,bus=pci.0" fails on PCI hotplug. The same for pci-ohci and this is because their initfn() do "dc->hotpluggable = false". So I removed those and now I can hotplug USB hosts but none of them is able to actually work: root@aiktest-le:~# echo 1 >/