[pve-devel] [PATCH] add win81 ostype and enable +cx16 cpu flag needed for this os

Alexandre DERUMIER aderumier at odiso.com
Fri Nov 1 08:40:44 CET 2013


Hi, I'm on holiday for now, I'll check that monday. Maybe is it another cpu flag missing.




----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Mercredi 30 Octobre 2013 06:16:20 
Objet: RE: [pve-devel] [PATCH] add win81 ostype and enable +cx16 cpu flag needed for this os 

> + push @$cpuFlags , '+cx16' if $conf->{ostype} eq 'win81'; 

Looking at the qemu source code in qemu/ target-i386/cpu.c: 

{ 
.name = "kvm64", 
.level = 5, 
.vendor = CPUID_VENDOR_INTEL, 
.family = 15, 
.model = 6, 
.stepping = 1, 
/* Missing: CPUID_VME, CPUID_HT */ 
.features = PPRO_FEATURES | 
CPUID_MTRR | CPUID_CLFLUSH | CPUID_MCA | 
CPUID_PSE36, 
/* Missing: CPUID_EXT_POPCNT, CPUID_EXT_MONITOR */ 
.ext_features = CPUID_EXT_SSE3 | CPUID_EXT_CX16, 
/* Missing: CPUID_EXT2_PDPE1GB, CPUID_EXT2_RDTSCP */ 
.ext2_features = (PPRO_FEATURES & CPUID_EXT2_AMD_ALIASES) | 
CPUID_EXT2_LM | CPUID_EXT2_SYSCALL | CPUID_EXT2_NX, 
/* Missing: CPUID_EXT3_LAHF_LM, CPUID_EXT3_CMP_LEG, CPUID_EXT3_EXTAPIC, 
CPUID_EXT3_CR8LEG, CPUID_EXT3_ABM, CPUID_EXT3_SSE4A, 
CPUID_EXT3_MISALIGNSSE, CPUID_EXT3_3DNOWPREFETCH, 
CPUID_EXT3_OSVW, CPUID_EXT3_IBS, CPUID_EXT3_SVM */ 
.ext3_features = 0, 
.xlevel = 0x80000008, 
.model_id = "Common KVM processor" 
}, 

So it seems that CPUID_EXT_CX16 is already set? 



More information about the pve-devel mailing list