From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGtfh-0000K6-Cy for qemu-devel@nongnu.org; Wed, 17 Jun 2009 07:51:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGtfc-00008h-PA for qemu-devel@nongnu.org; Wed, 17 Jun 2009 07:51:16 -0400 Received: from [199.232.76.173] (port=44884 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGtfb-00007W-Rv for qemu-devel@nongnu.org; Wed, 17 Jun 2009 07:51:12 -0400 Received: from mail2.shareable.org ([80.68.89.115]:47663) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGtfb-0003nn-A6 for qemu-devel@nongnu.org; Wed, 17 Jun 2009 07:51:11 -0400 Date: Wed, 17 Jun 2009 12:51:02 +0100 From: Jamie Lokier Subject: Re: Configuration vs. compat hints [was Re: [Qemu-devel] [PATCHv3 03/13] qemu: add routines to manage PCI capabilities] Message-ID: <20090617115102.GC27947@shareable.org> References: <4A3651EB.3070204@codemonkey.ws> <4A36555A.4090303@redhat.com> <4A3659A0.3050108@codemonkey.ws> <20090615143737.GB14405@redhat.com> <4A3662BA.6030304@codemonkey.ws> <20090615150804.GH7233@redhat.com> <4A3664EE.30207@redhat.com> <4A3665A0.7000702@redhat.com> <20090616183222.GH11893@shareable.org> <4A388F4F.8000900@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A388F4F.8000900@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Carsten Otte , Rusty Russell , kvm@vger.kernel.org, "Michael S. Tsirkin" , Glauber Costa , dlaor@redhat.com, qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, Blue Swirl , Christian Borntraeger , Paul Brook , Mark McLoughlin Avi Kivity wrote: > On 06/16/2009 09:32 PM, Jamie Lokier wrote: > >Avi Kivity wrote: > > > >>Another issue is enumeration. Guests will present their devices in the > >>order they find them on the pci bus (of course enumeration is guest > >>specific). So if I have 2 virtio controllers the only way I can > >>distinguish between them is using their pci slots. > > > >virtio controllers really should have a user-suppliable string or UUID > >to identify them to the guest. Don't they? > > virtio controllers don't exist. When they do, they may have a UUID or > not, but in either case guest infrastructure is in place for reporting > the PCI slot, not the UUID. > > virtio disks do have a UUID. I don't think older versions of Windows > will use it though, so if you reorder your slots you'll see your drive > letters change. Same with Linux if you don't use udev by-uuid rules. I guess I meant virtio disks, so that's ok. -- Jamie