From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhGt8-0005oq-Kj for qemu-devel@nongnu.org; Tue, 06 Sep 2016 09:58:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhGt4-0006Ys-Ib for qemu-devel@nongnu.org; Tue, 06 Sep 2016 09:58:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhGt4-0006Yj-Cs for qemu-devel@nongnu.org; Tue, 06 Sep 2016 09:58:06 -0400 References: <1472736127-18137-1-git-send-email-marcel@redhat.com> <6c9103e7-70ad-55c6-5533-d6d9bbaa39b4@redhat.com> <1473161728.31857.20.camel@redhat.com> From: Laine Stump Message-ID: <4cabe465-75bc-434b-be4f-c9a4b915f435@redhat.com> Date: Tue, 6 Sep 2016 09:58:03 -0400 MIME-Version: 1.0 In-Reply-To: <1473161728.31857.20.camel@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC] docs: add PCIe devices placement guidelines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , Laszlo Ersek Cc: Marcel Apfelbaum , qemu-devel@nongnu.org, mst@redhat.com, Peter Maydell , Drew Jones , Andrea Bolognani , Alex Williamson On 09/06/2016 07:35 AM, Gerd Hoffmann wrote: > While talking about integrated devices: There is docs/q35-chipset.cfg, > which documents how to mimic q35 with integrated devices as close and > complete as possible. > > Usage: > qemu-system-x86_64 -M q35 -readconfig docs/q35-chipset.cfg $args > > Side note for usb: In practice you don't want to use the tons of > uhci/ehci controllers present in the original q35 but plug xhci into one > of the pcie root ports instead (unless your guest doesn't support xhci). I've wondered about that recently. For i440fx machinetypes if you don't specify a USB controller in libvirt's domain config, you will automatically get the PIIX3 USB controller added. In order to maintain consistency on the topic of "auto-adding USB when not specified", if the machinetype is Q35 we will autoadd a set of USB2 (uhci/ehci) controllers (I think I added that based on your comments at the time :-). But recently I've mostly been hearing that people should use xhci instead. So should libvirt add a single xhci (rather than the uhci/ehci set) at the same port when no USB is specified?