[pve-devel] add +sep cpu flag to allow win8 32bit installation

Alexandre DERUMIER aderumier at odiso.com
Fri Jun 28 10:09:54 CEST 2013


from
http://git.qemu.org/?p=qemu.git;a=blob;f=target-i386/cpu.c;h=a7154af11df08f749f4980f5133cd90a4ada6bb0;hb=HEAD
 
seem that cpumodel (core2duo,westmere,opteron_gX) have already the SEP flag.

So I think it should work out of the box, with last redhat kernel + theses cpu models (include host model).

I don't known if you can test them Martin ?



Only qemu64,qemu32,kvm32,kvm64 don't have sep flag, I think we could add it to them by default.

(If we use an old kernel,I think that the sep flag is just filtered from guest, so qemu should start)



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

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Martin Maurer" <martin at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Vendredi 28 Juin 2013 09:34:36 
Objet: Re: [pve-devel] add +sep cpu flag to allow win8 32bit installation 

>>Or maybe it's possible that my production server use old redhat kernel, and that the sep flag was filtered. 

https://bugzilla.redhat.com/show_bug.cgi?id=821463 

Seem that is was a bug in redhat kernel which filtered the sep flag on 64bit host because of exec_shield=on. 
I have verified on internet, the amd opteron have this flag. 

So it was disabled from kvm, because if host don't have it, I think it break the qemu. 

I'll do tests with differents guest os, but I think it can be safe to enable +sep for all cpus models. 
(But we need to be sure that kernel is last redhat 6.4 kernel) 



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

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Martin Maurer" <martin at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Vendredi 28 Juin 2013 09:24:08 
Objet: Re: [pve-devel] add +sep cpu flag to allow win8 32bit installation 

>>What I need to check is with physical opteron, as I don't sep feature flag inside them. 
Or maybe it's possible that my production server use old redhat kernel, and that the sep flag was filtered. 
(don't have opteron on my test cluster) 

I don't known if a "cat /proc/cpuinfo" database is available somewhere on internet ? 

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

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Martin Maurer" <martin at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Vendredi 28 Juin 2013 09:11:52 
Objet: Re: [pve-devel] add +sep cpu flag to allow win8 32bit installation 

What I need to check is with physical opteron, as I don't sep feature flag inside them. 
(That should mean that we can't install a win8 32bit on an opteron). 

I don't known what happen if we pass the +sep flag on virtual guest cpu, if the flag don't exist on physical cpu. 
(maybe qemu filter it, but i'm not sure about it) 


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

De: "Martin Maurer" <martin at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Vendredi 28 Juin 2013 00:00:33 
Objet: RE: [pve-devel] add +sep cpu flag to allow win8 32bit installation 

>I don't have myself tested win8 32bit, but I'll do some tests next week 

Just installed a win8-32 with this setting, works great so far! 

martin 
_______________________________________________ 
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 
_______________________________________________ 
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