From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNIZB-0002p4-IQ for qemu-devel@nongnu.org; Fri, 08 Dec 2017 08:19:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNIZA-0002Rw-T1 for qemu-devel@nongnu.org; Fri, 08 Dec 2017 08:19:49 -0500 Received: from mail-ot0-x243.google.com ([2607:f8b0:4003:c0f::243]:34279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNIZA-0002Rl-NB for qemu-devel@nongnu.org; Fri, 08 Dec 2017 08:19:48 -0500 Received: by mail-ot0-x243.google.com with SMTP id o23so9169274otd.1 for ; Fri, 08 Dec 2017 05:19:48 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20171208141618.11e60846@redhat.com> References: <20171207174832.42663bef@redhat.com> <20171207170719.GT3037@localhost.localdomain> <20171208141618.11e60846@redhat.com> From: Peter Maydell Date: Fri, 8 Dec 2017 13:19:27 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] in a device or CPU instance init/realize, can I rely on something having the BQL or equivalent? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: Eduardo Habkost , QEMU Developers , Paolo Bonzini , Stefan Hajnoczi On 8 December 2017 at 13:16, Igor Mammedov wrote: > TBH: > I do not recall why we have x86 max/host cpu types do feature > loading at realize time instead of at class init like the rest > of static cpu types. class init is too early, IIRC -- it's before KVM has been set up at all. thanks -- PMM