From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54677 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOUGR-0006MO-IL for qemu-devel@nongnu.org; Tue, 15 Jun 2010 07:25:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOUGJ-0000NT-B7 for qemu-devel@nongnu.org; Tue, 15 Jun 2010 07:25:00 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:37013) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOUGI-0000NB-TZ for qemu-devel@nongnu.org; Tue, 15 Jun 2010 07:24:59 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev_path() Date: Tue, 15 Jun 2010 12:24:53 +0100 References: <20100614054923.879.33717.stgit@localhost.localdomain> <201006142346.44383.paul@codesourcery.com> <1276564441.12015.668.camel@x201> In-Reply-To: <1276564441.12015.668.camel@x201> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201006151224.53472.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: "chrisw@redhat.com" , "kvm@vger.kernel.org" , Jan Kiszka , Markus Armbruster , "qemu-devel@nongnu.org" , "kraxel@redhat.com" , "avi@redhat.com" > > In fact what you really want to do is transfer the device tree > > (including properties), and create the machine from scratch, not load > > state into a pre-supplied device tree. > > Well, I agree, but that's a lot more of an overhaul, and once again > we're changing the problem. I think it's you that's changing the problem. The requirement is to uniquely identify a device within a machine. Verifying that this device is that compatible with the device at the same address in a different machine is a separate problem. We should not be trying to encode this information in the canonical device path. Paul