From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51218 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMLyk-0007xT-BJ for qemu-devel@nongnu.org; Wed, 09 Jun 2010 10:10:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMLyj-00015E-7g for qemu-devel@nongnu.org; Wed, 09 Jun 2010 10:10:02 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:55241) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMLyi-000152-SL for qemu-devel@nongnu.org; Wed, 09 Jun 2010 10:10:01 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [RFC PATCH 3/6] RAMBlock: Add a name field Date: Wed, 9 Jun 2010 15:09:01 +0100 References: <20100608191447.4451.47795.stgit@localhost.localdomain> <4C0F81F2.4030106@redhat.com> <4C0F9DD8.5000400@codemonkey.ws> In-Reply-To: <4C0F9DD8.5000400@codemonkey.ws> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201006091509.01731.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: chrisw@redhat.com, kvm@vger.kernel.org, quintela@redhat.com, qemu-devel@nongnu.org, Alex Williamson , Avi Kivity > Keep in mind, this has to be a stable string across versions of qemu > since this is savevm/migration. Are we absolutely confident that the > full qdev path isn't going to change? I'm more confident that a unique > device name is going to be static across qemu versions. The actual representation of the device address is a secondary issue. The important point is that ram blocks should be associated with devices[*], and matched in exactly the same way. Devices should not be duplicating this on an ad-hoc basis. Paul [*] Ignore that we don't currently have a root system device node. A null device will suffice for now.