Received: from eggs.gnu.org ([2001:4830:134:3::10]:42480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c70qF-0002DG-IK for qemu-devel@nongnu.org; Wed, 16 Nov 2016 09:05:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c70qC-0001YQ-Dx for qemu-devel@nongnu.org; Wed, 16 Nov 2016 09:05:35 -0500 Sender: Paolo Bonzini References: <20161115015049.2735-1-lersek@redhat.com> <41b3f7ed-0d4c-c879-6bf2-f0325937a0fb@redhat.com> <4f179a45-d10c-82f8-c57b-b7b503674a97@redhat.com> <20161115174436-mutt-send-email-mst@kernel.org> <5a5fce10-9513-c349-a7b0-0931de271322@redhat.com> <1055353985.13082457.1479300462972.JavaMail.zimbra@redhat.com> <20161116150943-mutt-send-email-mst@kernel.org> From: Paolo Bonzini Message-ID: Date: Wed, 16 Nov 2016 15:05:23 +0100 MIME-Version: 1.0 In-Reply-To: <20161116150943-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] hw/isa/lpc_ich9: inject SMI on all VCPUs if APM_STS == 'Q' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-stable@nongnu.org, Laszlo Ersek , qemu devel list , Michael Roth On 16/11/2016 14:18, Michael S. Tsirkin wrote: > > - we could have another magic 0xB2 value, which is implemented directly > > in QEMU and sets 0xB3 to a magic value. Then OVMF can invoke it > > after SMBASE relocation and SMM IPL (so as not to crash on old QEMUs) > > to detect the new feature. It can fail to start if using traditional > > AP and the new feature is not there. > > If we keep collecting these magic values, should architect it > and do a host/guest bitmap like virtio does? The value written in 0xB3 can certainly be a feature bitmap. For now we would have for example bit 0 if set, writing 0x10-0xFF to 0xB2 results in a broadcast SMI bit 1-7 zero Paolo