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

Alexandre DERUMIER aderumier at odiso.com
Mon Nov 4 14:34:15 CET 2013


Hi,
I'm back from holiday, I'll try to install an iso of win2012R2 this week.

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

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Vendredi 1 Novembre 2013 16:59:17 
Objet: Re: [pve-devel] [PATCH] add win81 ostype and enable +cx16 cpu flag needed for this os 

according to 
http://forums.mydigitallife.info/threads/47719-HOW-TO-Check-for-PrefetchW-CMPXCHG16b-and-LAHF-SAHF-Windows-8-1-x64 

windows 8.1 need PrefetchW, CMPXCHG16b and LAHF/SAHF. 

so it's possible that the missing feature is 

CPUID_EXT3_LAHF_LM 


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

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Vendredi 1 Novembre 2013 08:40:44 
Objet: Re: [pve-devel] [PATCH] add win81 ostype and enable +cx16 cpu flag needed for this os 

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? 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list