Received: from eggs.gnu.org ([2001:4830:134:3::10]:44784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBKUh-0003ux-Ij for qemu-devel@nongnu.org; Mon, 28 Nov 2016 06:53:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBKUe-0004jB-EX for qemu-devel@nongnu.org; Mon, 28 Nov 2016 06:53:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54308) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cBKUe-0004ix-8e for qemu-devel@nongnu.org; Mon, 28 Nov 2016 06:53:08 -0500 References: <20161118103659.10448-1-lersek@redhat.com> <20161124003835.GA20281@morn.lan> <20161124062859-mutt-send-email-mst@kernel.org> <20161125055952-mutt-send-email-mst@kernel.org> <0067a71d-74e8-d727-a2cb-a5e6dfd09127@redhat.com> <6f8e7da4-b581-9bf2-9209-4100c591c7a6@redhat.com> <1480323717.20061.27.camel@redhat.com> <4aa0d26e-7de0-7dfa-5ee1-2934fbf46161@redhat.com> From: Paolo Bonzini Message-ID: <93df4c9f-eb58-24ab-ba63-8db1e2383ecb@redhat.com> Date: Mon, 28 Nov 2016 12:53:02 +0100 MIME-Version: 1.0 In-Reply-To: <4aa0d26e-7de0-7dfa-5ee1-2934fbf46161@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 for-2.9 0/3] q35: add negotiable broadcast SMI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek , Gerd Hoffmann Cc: "Michael S. Tsirkin" , Kevin O'Connor , qemu devel list , Igor Mammedov , "Jordan Justen (Intel address)" , Michael Kinney On 28/11/2016 11:22, Laszlo Ersek wrote: > Michael suggested to use negotiation like virtio does (where the host > can reject invalid combinations of requested features): > > http://lists.nongnu.org/archive/html/qemu-devel/2016-11/msg03077.html > http://lists.nongnu.org/archive/html/qemu-devel/2016-11/msg03218.html > > I thought negotiation was overkill: > > http://lists.nongnu.org/archive/html/qemu-devel/2016-11/msg03123.html > > but I figured I'd just stick with the recommendation. I think negotiation is useful. By doing things like "prevent broadcast_SMI && !parked_VCPUs if max_cpus > smp_cpus", it lets you commit your OVMF patch immediately for example. Paolo >> > If it is there just write true/false to it to enable/disable, and qemu >> > checks the field each time a smi is raised. > If we agree there's no need for negotiation, I'm game.