Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJaaW-00016m-Gw for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:05:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJaaR-00011k-NQ for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:05:03 -0400 Received: from [199.232.76.173] (port=34213 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJaaR-00011E-9b for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:04:59 -0400 Received: from tx2ehsobe001.messaging.microsoft.com ([65.55.88.11]:32002 helo=TX2EHSOBE002.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1MJaaQ-0001yK-Op for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:04:58 -0400 From: Andre Przywara Date: Thu, 25 Jun 2009 00:07:58 +0200 Message-ID: <1245881284-3656-1-git-send-email-andre.przywara@amd.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 0/6] Add -cpu host CPU type List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: avi@redhat.com, aliguori@us.ibm.com Cc: Andre Przywara , qemu-devel@nongnu.org Hi, this patchset adds a new CPU type called "host" which mimics the host CPU in many ways. It's main usecase is to reveal most of the CPU features to KVM guests. KVM provides in the kernel a feature to trim the guest's CPU bits to be not more capable than the host's one. This is currently broken in userspace (both qemu.git and qemu-kvm.git), so fix this on the way, since without it most guests will crash. Additionally allow control over the hypervisor bit, which is somewhat special, because it's the only bit which is not present in the host, but should be set in the guest. Patch 1-3 should apply easily to qemu-kvm.git, Patch 4 needs a little tweak. Patch 5 and 6 are entirely different, although it's broken there in a similar way. If you need the patchset against qemu-kvm.git, drop me a note. Regards, Andre. Signed-off-by: Andre Przywara