diff options
author | Andre Przywara <andre.przywara@amd.com> | 2010-05-21 09:50:51 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-06-01 12:53:09 -0500 |
commit | 9179e5e0ec6f8705fc9a17b049dedcd787189a0d (patch) | |
tree | bf3d38eacf5932b974d32f43e2b40c89239c304a /target-i386 | |
parent | 88d327807d4e1e50540b3da3098333202f22e406 (diff) | |
download | qemu-9179e5e0ec6f8705fc9a17b049dedcd787189a0d.tar.gz qemu-9179e5e0ec6f8705fc9a17b049dedcd787189a0d.tar.bz2 qemu-9179e5e0ec6f8705fc9a17b049dedcd787189a0d.zip |
resent: x86/cpuid: Add kvm32 CPU model
Create a kvm32 CPU model that describes a least common denominator
for KVM capable guest CPUs. Useful for migration purposes.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/cpuid.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index 56938e2a7c..7a112159ce 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -364,6 +364,20 @@ static x86_def_t builtin_x86_defs[] = { .model_id = "QEMU Virtual CPU version " QEMU_VERSION, }, { + .name = "kvm32", + .level = 5, + .family = 15, + .model = 6, + .stepping = 1, + .features = PPRO_FEATURES | + CPUID_MTRR | CPUID_CLFLUSH | CPUID_MCA | CPUID_PSE36, + .ext_features = CPUID_EXT_SSE3, + .ext2_features = PPRO_FEATURES & EXT2_FEATURE_MASK, + .ext3_features = 0, + .xlevel = 0x80000008, + .model_id = "Common 32-bit KVM processor" + }, + { .name = "coreduo", .level = 10, .family = 6, |