From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwtb7-0000es-FK for qemu-devel@nongnu.org; Fri, 26 Aug 2011 06:25:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qwtb6-0005RC-5z for qemu-devel@nongnu.org; Fri, 26 Aug 2011 06:25:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwtb5-0005R6-8F for qemu-devel@nongnu.org; Fri, 26 Aug 2011 06:25:12 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7QAPAr9015561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 26 Aug 2011 06:25:10 -0400 Date: Fri, 26 Aug 2011 11:25:05 +0100 From: "Daniel P. Berrange" Message-ID: <20110826102505.GI3944@redhat.com> References: <1314353480-14169-1-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1314353480-14169-1-git-send-email-kraxel@redhat.com> Subject: Re: [Qemu-devel] [RfC PATCH] usb/vmstate: add parent dev path Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org 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 :|