Re: [Qemu-devel] [RfC PATCH] usb/vmstate: add parent dev path

2012-03-13 Thread Paolo Bonzini
Il 13/03/2012 13:34, Gerd Hoffmann ha scritto: > ... to make vmstate id string truely unique with multiple host > controllers, i.e. move from "1/usb-ptr" to ":00:01.3/1/usb-ptr" > (usb tabled connected to piix3 uhci). > > This is needed in case you have multiple USB busses in a virtual > machi

[Qemu-devel] [RfC PATCH] usb/vmstate: add parent dev path

2012-03-13 Thread Gerd Hoffmann
... to make vmstate id string truely unique with multiple host controllers, i.e. move from "1/usb-ptr" to ":00:01.3/1/usb-ptr" (usb tabled connected to piix3 uhci). This is needed in case you have multiple USB busses in a virtual machine to make sure the section names are unique. Obviously th

Re: [Qemu-devel] [RfC PATCH] usb/vmstate: add parent dev path

2011-08-26 Thread Gerd Hoffmann
On 08/26/11 12:25, Daniel P. Berrange wrote: On Fri, Aug 26, 2011 at 12:11:20PM +0200, Gerd Hoffmann wrote: ... to make vmstate id string truely unique with multiple host controllers, i.e. move from "1/usb-ptr" to ":00:01.3/1/usb-ptr" (usb tabled connected to piix3 uhci). Obvious problem wi

Re: [Qemu-devel] [RfC PATCH] usb/vmstate: add parent dev path

2011-08-26 Thread Daniel P. Berrange
On Fri, Aug 26, 2011 at 12:11:20PM +0200, Gerd Hoffmann wrote: > ... to make vmstate id string truely unique with multiple host > controllers, i.e. move from "1/usb-ptr" to ":00:01.3/1/usb-ptr" > (usb tabled connected to piix3 uhci). > > Obvious problem with that is that it breaks migration fr

[Qemu-devel] [RfC PATCH] usb/vmstate: add parent dev path

2011-08-26 Thread Gerd Hoffmann
... to make vmstate id string truely unique with multiple host controllers, i.e. move from "1/usb-ptr" to ":00:01.3/1/usb-ptr" (usb tabled connected to piix3 uhci). Obvious problem with that is that it breaks migration from and to older versions, thats why it is RfC. I don't see any way to fi