Received: from eggs.gnu.org ([2001:4830:134:3::10]:45424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5JBm-0006i9-Oc for qemu-devel@nongnu.org; Fri, 02 Aug 2013 13:31:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V5JBg-0007cG-Cw for qemu-devel@nongnu.org; Fri, 02 Aug 2013 13:30:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5JBf-0007c5-Ha for qemu-devel@nongnu.org; Fri, 02 Aug 2013 13:30:47 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r72HUkva014371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 2 Aug 2013 13:30:46 -0400 From: Markus Armbruster References: <51FAB912.5040203@redhat.com> <51FB5672.4070907@redhat.com> <87pptwimi9.fsf@blackfin.pond.sub.org> <51FBE275.6090804@redhat.com> Date: Fri, 02 Aug 2013 19:30:44 +0200 In-Reply-To: <51FBE275.6090804@redhat.com> (Laine Stump's message of "Fri, 02 Aug 2013 12:46:45 -0400") Message-ID: <87d2pwov97.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain 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: Laine Stump Cc: Gerd Hoffmann , qemu list Laine Stump writes: > 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?) If you find a case where -vga is still *required*, report it as a bug. Elsewhere in thread, Gerd wrote it's not required for qxl multihead. Suggest to work with Gerd to resolve remaining issues / misunderstandings.