From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCufD-0002LM-KF for qemu-devel@nongnu.org; Wed, 28 Mar 2012 11:19:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCuf7-0004G0-Ek for qemu-devel@nongnu.org; Wed, 28 Mar 2012 11:19:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCuf7-0004Fj-6v for qemu-devel@nongnu.org; Wed, 28 Mar 2012 11:19:49 -0400 Message-ID: <4F732C0F.8030005@redhat.com> Date: Wed, 28 Mar 2012 17:19:43 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1332945252-19025-1-git-send-email-pbonzini@redhat.com> <4F7329DD.8030803@suse.de> In-Reply-To: <4F7329DD.8030803@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 4/4] qdev: put all devices under /machine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-15?Q?Andreas_F=E4rber?= Cc: aliguori@linux.vnet.ibm.com, aliguori@us.ibm.com, qemu-devel@nongnu.org Il 28/03/2012 17:10, Andreas F=E4rber ha scritto: >> > if (dev =3D=3D NULL) { >> > - dev =3D container_get("/peripheral"); >> > + dev =3D container_get("/machine/peripheral"); > I was kinda hoping we could even do something like this in 1/4: > container_get_relative(qdev_get_machine(), "peripheral"); > w/ container_get(bla) -> container_get_relative(object_get_root(), bla). Follow-up? O:-) Paolo