From: Eduardo Habkost Subject: [RFC 0/2] GET_EMULATED_CPUID support with "allow-emulation" option Date: Thu, 5 Jun 2014 13:12:19 -0300 Message-ID: <1401984741-26882-1-git-send-email-ehabkost@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Borislav Petkov , Paolo Bonzini , Alexander Graf , "Gabriel L. Somlo" , kvm@vger.kernel.org, "Michael S. Tsirkin" , Michael Mueller , Christian Borntraeger , "Jason J. Herne" , =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49915 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335AbaFEQNL (ORCPT ); Thu, 5 Jun 2014 12:13:11 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This implements GET_SUPPORTED_CPUID support using an explicit option fo= r it: "allow-emulation". We don't want any emulated feature to be enabled by = accident, so they will be enabled only if the user explicitly wants to allow them= =2E References to previous patch and discussions: Message-Id: <1379861095-628-7-git-send-email-bp@alien8.de> http://marc.info/?l=3Dkvm&m=3D137986116331560&w=3D2 Message-ID: <20140604204448.GG4105@pd.tnic> http://marc.info/?l=3Dkvm&m=3D140191471903819 This requires a few fixes to the qom-cpu tree which haven't been merged= yet. Git tree: git://github.com/ehabkost/qemu-hacks.git work/get-emulated-cpuid Cc: Borislav Petkov Cc: Paolo Bonzini Cc: Alexander Graf Cc: "Gabriel L. Somlo" Cc: kvm@vger.kernel.org Cc: "Michael S. Tsirkin" Cc: Michael Mueller Cc: Christian Borntraeger Cc: "Jason J. Herne" Cc: Andreas F=C3=A4rber Cc: "Jason J. Herne" Borislav Petkov (1): kvm: Implement kvm_arch_get_emulated_cpuid() Eduardo Habkost (1): target-i386: Add "allow-emulation" X86CPU property include/sysemu/kvm.h | 3 +++ target-i386/cpu-qom.h | 3 +++ target-i386/cpu.c | 18 ++++++++++++++---- target-i386/kvm.c | 38 ++++++++++++++++++++++++++++++++++---- 4 files changed, 54 insertions(+), 8 deletions(-) --=20 1.9.0