Received: from eggs.gnu.org ([2001:4830:134:3::10]:39929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfVZ3-0003dK-SH for qemu-devel@nongnu.org; Thu, 01 Sep 2016 13:14:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfVYy-0007p2-Ri for qemu-devel@nongnu.org; Thu, 01 Sep 2016 13:14:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfVYy-0007oW-M1 for qemu-devel@nongnu.org; Thu, 01 Sep 2016 13:14:04 -0400 References: <1472736127-18137-1-git-send-email-marcel@redhat.com> <349c47f7-6fd8-2d6c-23da-c4fb188bb4a6@redhat.com> From: Laszlo Ersek Message-ID: <65cd0a86-b211-167f-8c4d-7ea185acff2c@redhat.com> Date: Thu, 1 Sep 2016 19:14:01 +0200 MIME-Version: 1.0 In-Reply-To: <349c47f7-6fd8-2d6c-23da-c4fb188bb4a6@redhat.com> Content-Type: text/plain; charset=utf-8 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: Marcel Apfelbaum , Peter Maydell Cc: QEMU Developers , "Michael S. Tsirkin" On 09/01/16 15:51, Marcel Apfelbaum wrote: > On 09/01/2016 04:27 PM, Peter Maydell wrote: >> On 1 September 2016 at 14:22, Marcel Apfelbaum wrote: >>> Proposes best practices on how to use PCIe/PCI device >>> in PCIe based machines and explain the reasoning behind them. >>> >>> Signed-off-by: Marcel Apfelbaum >>> --- >>> >>> Hi, >>> >>> Please add your comments on what to add/remove/edit to make this doc >>> usable. >> > > Hi Peter, > >> As somebody who doesn't really understand the problem space, my >> thoughts: >> >> (1) is this intended as advice for developers writing machine >> models and adding pci controllers to them, or is it intended as >> advice for users (and libvirt-style management layers) about >> how to configure QEMU? >> > > Is it intended for management layers as they have no way to > understand how to "consume" the Q35 machine, > but also for firmware developers (OVMF/SeaBIOS) to help them > understand the usage model so they can optimize IO/MEM > resources allocation for both boot time and hot-plug. > > QEMU users/developers can also benefit from it as the PCIe arch > is more complex supporting both PCI/PCIe devices and > several PCI/PCIe controllers with no clear rules on what goes where. > >> (2) it seems to be a bit short on concrete advice (either >> "you should do this" instructions to machine model developers, >> or "use command lines like this" instructions to end-users. >> > > Thanks for the point. I'll be sure to add detailed command line examples > to the next version. I think that would be a huge benefit! (I'll try to read the document later, and come back with remarks.) Thanks! Laszlo