From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Armbruster Subject: Re: [Qemu-devel] Re: Configuration vs. compat hints Date: Mon, 15 Jun 2009 14:41:21 +0200 Message-ID: <87prd54qku.fsf@pike.pond.sub.org> References: <20090610150129.GC28601@redhat.com> <200906101624.30659.paul@codesourcery.com> <20090610174301.GC7416@shareable.org> <20090610182227.GN28601@redhat.com> <20090610192702.GH7416@shareable.org> <1244796209.16425.20.camel@blaa> <4A326B5C.5010501@codemonkey.ws> <1244821292.30522.56.camel@blaa> <4A327E4A.7010300@codemonkey.ws> <1244825303.26769.19.camel@blaa> <20090614095016.GA7560@redhat.com> <1245056916.6891.31.camel@blaa> <4A3613EC.6030608@redhat.com> <87ocsp687t.fsf@pike.pond.sub.org> <4A3633FD.4010208@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mark McLoughlin , kvm@vger.kernel.org, "Michael S. Tsirkin" , Glauber Costa , Rusty Russell , qemu-devel , virtualization@lists.linux-foundation.org, Blue Swirl , Christian Borntraeger , Paul Brook , Carsten Otte To: Avi Kivity Return-path: Received: from mx2.redhat.com ([66.187.237.31]:48879 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751474AbZFOMnm (ORCPT ); Mon, 15 Jun 2009 08:43:42 -0400 In-Reply-To: <4A3633FD.4010208@redhat.com> (Avi Kivity's message of "Mon\, 15 Jun 2009 14\:43\:57 +0300") Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity writes: > (adding cc) > > On 06/15/2009 02:35 PM, Markus Armbruster wrote: >> Not really. QEMU gives just the host bridge a fixed slot[*]. All the >> other slots are available. >> > > qemu needs to export these two bits of information: the first free > slot and the number of slots. > > More generally, which slots are open. We can assume 1:31, but that's > unlovely. Point. >> The real problem is devices that get implicitly added, like the SCSI >> controller. Those devices get their slots auto-assigned, which can >> interfere with slot numbers chosen by the user. We need a way to avoid >> that, as you suggested elsewhere in this thread. >> > > Paul/Anthony, can we have -vga pci_addr=, -usb-controller pci_addr=, > and -drive pci_addr= (and later, -disk-controller)? Stalling while > waiting for the ultimate config file is only generating pain and > out-of-tree patches. Yup. I got bit-rotten patches for pci_addr=, and I can unrot them if they're wanted. > (I'd be quite happy constructing the entire machine config on the > command line, but I realize it's just me) Ha, .bash_history as config file...