Re: [libvirt-users] CPU Model detection with virsh capabilities

2011-09-12 Thread Jiri Denemark
On Mon, Sep 12, 2011 at 16:33:53 +0200, Olivier BONHOMME wrote:
 Hello,
 
 Thanks for your answer. My virsh capabilities is the following :
 
  cpu
archx86_64/arch
modelpentium3/model
vendorIntel/vendor
topology sockets='1' cores='4' threads='1'/
feature name='lahf_lm'/
feature name='lm'/
feature name='syscall'/
feature name='sse4.1'/
feature name='dca'/
feature name='xtpr'/
feature name='cx16'/
feature name='ssse3'/
feature name='tm2'/
feature name='est'/
feature name='vmx'/
feature name='ds_cpl'/
feature name='monitor'/
feature name='pni'/
feature name='pbe'/
feature name='tm'/
feature name='ht'/
feature name='ss'/
feature name='sse2'/
feature name='acpi'/
feature name='ds'/
feature name='clflush'/
feature name='apic'/
  /cpu
 
 About what you say, I totally agree. It's just I am very surprised that 
 an Intel Xeon E5430 is detected just as a pentium3

That's because your CPU doesn't support nx feature, which is included in all
models better than pentium3.

Jirka

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users


Re: [libvirt-users] CPU Model detection with virsh capabilities

2011-09-12 Thread Olivier BONHOMME

Le 12/09/2011 16:54, Jiri Denemark a écrit :


That's because your CPU doesn't support nx feature, which is included in all
models better than pentium3.

Jirka


Is NX, the NX bit feature ? In that case, I am going to check in the 
bios if it is just not enabled. Because, normally, this CPU should 
support it.


Regards,
Olivier BONHOMME

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users


Re: [libvirt-users] CPU Model detection with virsh capabilities

2011-09-12 Thread Jiri Denemark
On Mon, Sep 12, 2011 at 17:06:06 +0200, Olivier BONHOMME wrote:
 Le 12/09/2011 16:54, Jiri Denemark a écrit :
 
  That's because your CPU doesn't support nx feature, which is included in all
  models better than pentium3.
 
  Jirka
 
 Is NX, the NX bit feature ?
I think so.

 In that case, I am going to check in the bios if it is just not enabled.
 Because, normally, this CPU should support it.

That might be it.

Jirka

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users


Re: [libvirt-users] CPU Model detection with virsh capabilities

2011-09-05 Thread Olivier BONHOMME

Le 02/08/2011 10:51, Olivier BONHOMME a écrit :

Hello everybody,

I am a new user discovering libvirt with KVM software. During my first
VM creation, I saw an issue with virsh that I can't understand.

I wanted to emulate another CPU than the classical qemu32 using virsh.
So I used the virsh capabilites command to detect how is detected my CPU
host which is an Intel Xeon E5410 and my problem is that this CPU is
detected only with the cpumodel pentium3.

But if use the kvm -cpu ? command, it returns me the following
capabilities :

$ kvm -cpu ?
x86 qemu64
x86 phenom
x86 core2duo
x86 kvm64
x86 qemu32
x86 coreduo
x86 486
x86 pentium
x86 pentium2
x86 pentium3
x86 athlon
x86 n270

Moreover, if i decide to use the pentium3 cpumodel for my KVM VM, the
CentOS freeze during its loading.

My libvirt and kvm are the following on a Debian Squeeeze :

$ virsh version
Compiled against library: libvir 0.8.3
Using library: libvir 0.8.3
Using API: QEMU 0.8.3
Running hypervisor: QEMU 0.12.5

Does anybody already had the same issue or am I doing anything wrong ?



Hello again,

I am still locked with that issued about capabilities detection. I tried 
to look on the doc but can't find anything. Does anybody has an entry 
point for that or should it be considered as a bug ?


Thanks again

Regards,
Olivier BONHOMME

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users