From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5K24-0007T9-1j for qemu-devel@nongnu.org; Fri, 02 Aug 2013 14:25:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V5K1x-0001TO-7S for qemu-devel@nongnu.org; Fri, 02 Aug 2013 14:24:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5IV6-0000RD-7e for qemu-devel@nongnu.org; Fri, 02 Aug 2013 12:46:48 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r72GkkFt030333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 2 Aug 2013 12:46:47 -0400 Message-ID: <51FBE275.6090804@redhat.com> Date: Fri, 02 Aug 2013 12:46:45 -0400 From: Laine Stump MIME-Version: 1.0 References: <51FAB912.5040203@redhat.com> <51FB5672.4070907@redhat.com> <87pptwimi9.fsf@blackfin.pond.sub.org> In-Reply-To: <87pptwimi9.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=ISO-8859-9 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] default slot used for vga device on q35 machines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Gerd Hoffmann , qemu list On 08/02/2013 03:23 AM, Markus Armbruster wrote: > Gerd Hoffmann writes: > >> Hi, >> >>> qemu-kvm -M q35 -nodefaults -nodefconfig -qmp unix:/tmp/qemu,server >>> -vnc :15 -vga std -usb >>> >>> Then ran "query-pci" in the qmp monitor and found that the vga device is >>> put at slot 1 instead of slot 2. >>> >>> My questions: >>> >>> 1) Is this difference intentional, or a bug? >> The vga simply goes into the first free slot. That happens to be #2 >> with i440fx and #1 with q35. > The slot used by -vga depends on the machine type, and can be expected > to remain stable. We've kept it stable even for the machine type family > i440FX. > > Nevertheless, if you require the graphics adapter to go into a specific > slot, I very much recommend to control its placement with -device. Right. We prefer explicitly specifying the pci address for everything, but apparently in the case of multihead qxl devices, this isn't an option (is this correct, or has there been a misunderstanding?)