[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/4] Fix kvm cpuid reporting
From: |
Avi Kivity |
Subject: |
[Qemu-devel] [PATCH 0/4] Fix kvm cpuid reporting |
Date: |
Sun, 3 May 2009 17:04:00 +0300 |
kvm supports an interface for reporting which cpuid features are supported.
Use it for trimming the cpu feature set reported to the guest. This prevents,
for example, reporting NX to a guest when in fact we do not support it.
Avi Kivity (4):
kvm: Add support for querying supported cpu features
Make x86 cpuid feature names available in file scope
Fix x86 feature modifications for features that set multiple bits
kvm: Trim cpu features not supported by kvm
kvm.h | 3 ++
target-i386/helper.c | 98 +++++++++++++++++++++++++++++++++----------------
target-i386/kvm.c | 80 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 149 insertions(+), 32 deletions(-)