Received: from eggs.gnu.org ([2001:4830:134:3::10]:37345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfSPK-0000ac-KJ for qemu-devel@nongnu.org; Thu, 01 Sep 2016 09:51:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfSPG-0000gv-G6 for qemu-devel@nongnu.org; Thu, 01 Sep 2016 09:51:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfSPG-0000gd-9r for qemu-devel@nongnu.org; Thu, 01 Sep 2016 09:51:50 -0400 References: <1472736127-18137-1-git-send-email-marcel@redhat.com> From: Marcel Apfelbaum Message-ID: <349c47f7-6fd8-2d6c-23da-c4fb188bb4a6@redhat.com> Date: Thu, 1 Sep 2016 16:51:47 +0300 MIME-Version: 1.0 In-Reply-To: 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: Peter Maydell Cc: QEMU Developers , Laszlo Ersek , "Michael S. Tsirkin" 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. Thanks, Marcel > thanks > -- PMM >