[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/9] kvm: add kvmclock to its second bit
From: |
Marcelo Tosatti |
Subject: |
[Qemu-devel] [PATCH 3/9] kvm: add kvmclock to its second bit |
Date: |
Mon, 2 May 2011 15:32:39 -0300 |
From: Glauber Costa <address@hidden>
We have two bits that can represent kvmclock in cpuid.
They signal the guest which msr set to use. When we tweak flags
involving this value - specially when we use "-", we have to act on both.
Signed-off-by: Glauber Costa <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
---
target-i386/cpuid.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c
index 0ac592f..e479a4d 100644
--- a/target-i386/cpuid.c
+++ b/target-i386/cpuid.c
@@ -73,7 +73,7 @@ static const char *ext3_feature_name[] = {
};
static const char *kvm_feature_name[] = {
- "kvmclock", "kvm_nopiodelay", "kvm_mmu", NULL, "kvm_asyncpf", NULL, NULL,
NULL,
+ "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL,
NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
--
1.7.4.4
- [Qemu-devel] [PATCH 0/9] [PULL] qemu-kvm.git uq/master queue, Marcelo Tosatti, 2011/05/02
- [Qemu-devel] [PATCH 9/9] kvm: use qemu_free consistently, Marcelo Tosatti, 2011/05/02
- [Qemu-devel] [PATCH 1/9] kvm: use kernel-provided para_features instead of statically coming up with new capabilities, Marcelo Tosatti, 2011/05/02
- [Qemu-devel] [PATCH 3/9] kvm: add kvmclock to its second bit,
Marcelo Tosatti <=
- [Qemu-devel] [PATCH 7/9] kvm: Install specialized interrupt handler, Marcelo Tosatti, 2011/05/02
- [Qemu-devel] [PATCH 8/9] fix crash in migration, 32-bit userspace on 64-bit host, Marcelo Tosatti, 2011/05/02
- [Qemu-devel] [PATCH 2/9] x86: Allow multiple cpu feature matches of lookup_feature, Marcelo Tosatti, 2011/05/02
- [Qemu-devel] [PATCH 6/9] Redirect cpu_interrupt to callback handler, Marcelo Tosatti, 2011/05/02
- [Qemu-devel] [PATCH 4/9] kvm: create kvmclock when one of the flags are present, Marcelo Tosatti, 2011/05/02
- [Qemu-devel] [PATCH 5/9] Break up user and system cpu_interrupt implementations, Marcelo Tosatti, 2011/05/02
- Re: [Qemu-devel] [PATCH 0/9] [PULL] qemu-kvm.git uq/master queue, Anthony Liguori, 2011/05/02