[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RfC PATCH] usb/vmstate: add parent dev path
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [RfC PATCH] usb/vmstate: add parent dev path |
Date: |
Fri, 26 Aug 2011 11:25:05 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 "0000: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 fix the issue
> without breaking though. So the question is how to deal with that best?
How about keeping the original naming *only* for devices on the first
USB controller. Since it was impossible to start a QEMU process with
2 USB controllers, migration compatibility does not matter for the
naming of devices on the 2nd, 3rd, 4th.... controller.
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 :|