* AESNI and guest hosts
@ 2012-02-12 13:05 Ryan Brown
2012-02-14 9:31 ` Ryan Brown
0 siblings, 1 reply; 7+ messages in thread
From: Ryan Brown @ 2012-02-12 13:05 UTC (permalink / raw)
To: kvm
Host/KVM server is running linux 3.2.4 (Debian wheezy), and guest
kernel is running 3.2.5. The cpu is an E3-1230, but for some reason
its not able to supply the guest with aesni. Is there a config option
or is there something we're missing?
<cpu>
<arch>x86_64</arch>
<model>Westmere</model>
<vendor>Intel</vendor>
<topology sockets='1' cores='4' threads='2'/>
<feature name='rdtscp'/>
<feature name='x2apic'/>
<feature name='xtpr'/>
<feature name='tm2'/>
<feature name='est'/>
<feature name='vmx'/>
<feature name='ds_cpl'/>
<feature name='monitor'/>
<feature name='pbe'/>
<feature name='tm'/>
<feature name='ht'/>
<feature name='ss'/>
<feature name='acpi'/>
<feature name='ds'/>
<feature name='vme'/>
</cpu>
Guest:
[root@fanboy:~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 2
model name : QEMU Virtual CPU version 1.0
stepping : 3
microcode : 0x1
cpu MHz : 3192.748
cache size : 4096 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca
cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni cx16 popcnt
hypervisor lahf_lm
bogomips : 6385.49
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 2
model name : QEMU Virtual CPU version 1.0
stepping : 3
microcode : 0x1
cpu MHz : 3192.748
cache size : 4096 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca
cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni cx16 popcnt
hypervisor lahf_lm
bogomips : 6385.49
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AESNI and guest hosts
2012-02-12 13:05 AESNI and guest hosts Ryan Brown
@ 2012-02-14 9:31 ` Ryan Brown
2012-02-14 18:18 ` Brian Jackson
0 siblings, 1 reply; 7+ messages in thread
From: Ryan Brown @ 2012-02-14 9:31 UTC (permalink / raw)
To: kvm
Sorry for being a noob here, Any clues with this?, anyone ...
On Mon, Feb 13, 2012 at 2:05 AM, Ryan Brown <mp3geek@gmail.com> wrote:
> Host/KVM server is running linux 3.2.4 (Debian wheezy), and guest
> kernel is running 3.2.5. The cpu is an E3-1230, but for some reason
> its not able to supply the guest with aesni. Is there a config option
> or is there something we're missing?
>
> <cpu>
> <arch>x86_64</arch>
> <model>Westmere</model>
> <vendor>Intel</vendor>
> <topology sockets='1' cores='4' threads='2'/>
> <feature name='rdtscp'/>
> <feature name='x2apic'/>
> <feature name='xtpr'/>
> <feature name='tm2'/>
> <feature name='est'/>
> <feature name='vmx'/>
> <feature name='ds_cpl'/>
> <feature name='monitor'/>
> <feature name='pbe'/>
> <feature name='tm'/>
> <feature name='ht'/>
> <feature name='ss'/>
> <feature name='acpi'/>
> <feature name='ds'/>
> <feature name='vme'/>
> </cpu>
>
> Guest:
> [root@fanboy:~]# cat /proc/cpuinfo
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 6
> model : 2
> model name : QEMU Virtual CPU version 1.0
> stepping : 3
> microcode : 0x1
> cpu MHz : 3192.748
> cache size : 4096 KB
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 4
> wp : yes
> flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca
> cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni cx16 popcnt
> hypervisor lahf_lm
> bogomips : 6385.49
> clflush size : 64
> cache_alignment : 64
> address sizes : 40 bits physical, 48 bits virtual
> power management:
>
> processor : 1
> vendor_id : GenuineIntel
> cpu family : 6
> model : 2
> model name : QEMU Virtual CPU version 1.0
> stepping : 3
> microcode : 0x1
> cpu MHz : 3192.748
> cache size : 4096 KB
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 4
> wp : yes
> flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca
> cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni cx16 popcnt
> hypervisor lahf_lm
> bogomips : 6385.49
> clflush size : 64
> cache_alignment : 64
> address sizes : 40 bits physical, 48 bits virtual
> power management:
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AESNI and guest hosts
2012-02-14 9:31 ` Ryan Brown
@ 2012-02-14 18:18 ` Brian Jackson
2012-02-14 22:07 ` Ryan Brown
2012-02-15 9:29 ` Avi Kivity
0 siblings, 2 replies; 7+ messages in thread
From: Brian Jackson @ 2012-02-14 18:18 UTC (permalink / raw)
To: Ryan Brown; +Cc: kvm
On Tuesday, February 14, 2012 03:31:10 AM Ryan Brown wrote:
> Sorry for being a noob here, Any clues with this?, anyone ...
>
> On Mon, Feb 13, 2012 at 2:05 AM, Ryan Brown <mp3geek@gmail.com> wrote:
> > Host/KVM server is running linux 3.2.4 (Debian wheezy), and guest
> > kernel is running 3.2.5. The cpu is an E3-1230, but for some reason
> > its not able to supply the guest with aesni. Is there a config option
> > or is there something we're missing?
I don't think it's supported to pass that functionality to the guest.
> >
> > <cpu>
> > <arch>x86_64</arch>
> > <model>Westmere</model>
> > <vendor>Intel</vendor>
> > <topology sockets='1' cores='4' threads='2'/>
> > <feature name='rdtscp'/>
> > <feature name='x2apic'/>
> > <feature name='xtpr'/>
> > <feature name='tm2'/>
> > <feature name='est'/>
> > <feature name='vmx'/>
> > <feature name='ds_cpl'/>
> > <feature name='monitor'/>
> > <feature name='pbe'/>
> > <feature name='tm'/>
> > <feature name='ht'/>
> > <feature name='ss'/>
> > <feature name='acpi'/>
> > <feature name='ds'/>
> > <feature name='vme'/>
> > </cpu>
> >
> > Guest:
> > [root@fanboy:~]# cat /proc/cpuinfo
> > processor : 0
> > vendor_id : GenuineIntel
> > cpu family : 6
> > model : 2
> > model name : QEMU Virtual CPU version 1.0
> > stepping : 3
> > microcode : 0x1
> > cpu MHz : 3192.748
> > cache size : 4096 KB
> > fdiv_bug : no
> > hlt_bug : no
> > f00f_bug : no
> > coma_bug : no
> > fpu : yes
> > fpu_exception : yes
> > cpuid level : 4
> > wp : yes
> > flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca
> > cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni cx16 popcnt
> > hypervisor lahf_lm
> > bogomips : 6385.49
> > clflush size : 64
> > cache_alignment : 64
> > address sizes : 40 bits physical, 48 bits virtual
> > power management:
> >
> > processor : 1
> > vendor_id : GenuineIntel
> > cpu family : 6
> > model : 2
> > model name : QEMU Virtual CPU version 1.0
> > stepping : 3
> > microcode : 0x1
> > cpu MHz : 3192.748
> > cache size : 4096 KB
> > fdiv_bug : no
> > hlt_bug : no
> > f00f_bug : no
> > coma_bug : no
> > fpu : yes
> > fpu_exception : yes
> > cpuid level : 4
> > wp : yes
> > flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca
> > cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni cx16 popcnt
> > hypervisor lahf_lm
> > bogomips : 6385.49
> > clflush size : 64
> > cache_alignment : 64
> > address sizes : 40 bits physical, 48 bits virtual
>
> > power management:
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AESNI and guest hosts
2012-02-14 18:18 ` Brian Jackson
@ 2012-02-14 22:07 ` Ryan Brown
2012-02-15 9:29 ` Avi Kivity
1 sibling, 0 replies; 7+ messages in thread
From: Ryan Brown @ 2012-02-14 22:07 UTC (permalink / raw)
To: Brian Jackson; +Cc: kvm
Thanks for the reply, I was thinking AESNI was supported in the way
SSE/MMX and other cpu flags are supported? is a QEMU or a KVM issue?
On Wed, Feb 15, 2012 at 7:18 AM, Brian Jackson <iggy@theiggy.com> wrote:
> On Tuesday, February 14, 2012 03:31:10 AM Ryan Brown wrote:
>> Sorry for being a noob here, Any clues with this?, anyone ...
>>
>> On Mon, Feb 13, 2012 at 2:05 AM, Ryan Brown <mp3geek@gmail.com> wrote:
>> > Host/KVM server is running linux 3.2.4 (Debian wheezy), and guest
>> > kernel is running 3.2.5. The cpu is an E3-1230, but for some reason
>> > its not able to supply the guest with aesni. Is there a config option
>> > or is there something we're missing?
>
>
>
> I don't think it's supported to pass that functionality to the guest.
>
>
>
>> >
>> > <cpu>
>> > <arch>x86_64</arch>
>> > <model>Westmere</model>
>> > <vendor>Intel</vendor>
>> > <topology sockets='1' cores='4' threads='2'/>
>> > <feature name='rdtscp'/>
>> > <feature name='x2apic'/>
>> > <feature name='xtpr'/>
>> > <feature name='tm2'/>
>> > <feature name='est'/>
>> > <feature name='vmx'/>
>> > <feature name='ds_cpl'/>
>> > <feature name='monitor'/>
>> > <feature name='pbe'/>
>> > <feature name='tm'/>
>> > <feature name='ht'/>
>> > <feature name='ss'/>
>> > <feature name='acpi'/>
>> > <feature name='ds'/>
>> > <feature name='vme'/>
>> > </cpu>
>> >
>> > Guest:
>> > [root@fanboy:~]# cat /proc/cpuinfo
>> > processor : 0
>> > vendor_id : GenuineIntel
>> > cpu family : 6
>> > model : 2
>> > model name : QEMU Virtual CPU version 1.0
>> > stepping : 3
>> > microcode : 0x1
>> > cpu MHz : 3192.748
>> > cache size : 4096 KB
>> > fdiv_bug : no
>> > hlt_bug : no
>> > f00f_bug : no
>> > coma_bug : no
>> > fpu : yes
>> > fpu_exception : yes
>> > cpuid level : 4
>> > wp : yes
>> > flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca
>> > cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni cx16 popcnt
>> > hypervisor lahf_lm
>> > bogomips : 6385.49
>> > clflush size : 64
>> > cache_alignment : 64
>> > address sizes : 40 bits physical, 48 bits virtual
>> > power management:
>> >
>> > processor : 1
>> > vendor_id : GenuineIntel
>> > cpu family : 6
>> > model : 2
>> > model name : QEMU Virtual CPU version 1.0
>> > stepping : 3
>> > microcode : 0x1
>> > cpu MHz : 3192.748
>> > cache size : 4096 KB
>> > fdiv_bug : no
>> > hlt_bug : no
>> > f00f_bug : no
>> > coma_bug : no
>> > fpu : yes
>> > fpu_exception : yes
>> > cpuid level : 4
>> > wp : yes
>> > flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca
>> > cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm pni cx16 popcnt
>> > hypervisor lahf_lm
>> > bogomips : 6385.49
>> > clflush size : 64
>> > cache_alignment : 64
>> > address sizes : 40 bits physical, 48 bits virtual
>>
>> > power management:
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AESNI and guest hosts
2012-02-14 18:18 ` Brian Jackson
2012-02-14 22:07 ` Ryan Brown
@ 2012-02-15 9:29 ` Avi Kivity
2012-02-15 12:02 ` Ryan Brown
1 sibling, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2012-02-15 9:29 UTC (permalink / raw)
To: Brian Jackson; +Cc: Ryan Brown, kvm
On 02/14/2012 08:18 PM, Brian Jackson wrote:
> On Tuesday, February 14, 2012 03:31:10 AM Ryan Brown wrote:
> > Sorry for being a noob here, Any clues with this?, anyone ...
> >
> > On Mon, Feb 13, 2012 at 2:05 AM, Ryan Brown <mp3geek@gmail.com> wrote:
> > > Host/KVM server is running linux 3.2.4 (Debian wheezy), and guest
> > > kernel is running 3.2.5. The cpu is an E3-1230, but for some reason
> > > its not able to supply the guest with aesni. Is there a config option
> > > or is there something we're missing?
>
>
>
> I don't think it's supported to pass that functionality to the guest.
>
Why not? Perhaps a new libvirt or qemu is needed.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AESNI and guest hosts
2012-02-15 9:29 ` Avi Kivity
@ 2012-02-15 12:02 ` Ryan Brown
2012-02-15 14:04 ` Avi Kivity
0 siblings, 1 reply; 7+ messages in thread
From: Ryan Brown @ 2012-02-15 12:02 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm
>>
>> I don't think it's supported to pass that functionality to the guest.
>>
>
> Why not? Perhaps a new libvirt or qemu is needed.
>
Should it be the case to add one of the following?
<feature name='aes'/>
or..
<feature name='aesni'/>
something like that?
Host is using linux kernel 3.2.4 (Debian Wheezy) libvirt (0.9.8-2),
qemu (1.0+dfsg-2), Guest is on linux kernel Ubuntu/3.2.5
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: AESNI and guest hosts
2012-02-15 12:02 ` Ryan Brown
@ 2012-02-15 14:04 ` Avi Kivity
0 siblings, 0 replies; 7+ messages in thread
From: Avi Kivity @ 2012-02-15 14:04 UTC (permalink / raw)
To: Ryan Brown; +Cc: kvm
On 02/15/2012 02:02 PM, Ryan Brown wrote:
> >>
> >> I don't think it's supported to pass that functionality to the guest.
> >>
> >
> > Why not? Perhaps a new libvirt or qemu is needed.
> >
>
> Should it be the case to add one of the following?
>
> <feature name='aes'/>
> or..
> <feature name='aesni'/>
>
> something like that?
The qemu name is aes. Don't know about libvirt, suggest you start with
bare qemu first.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-02-15 14:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-12 13:05 AESNI and guest hosts Ryan Brown
2012-02-14 9:31 ` Ryan Brown
2012-02-14 18:18 ` Brian Jackson
2012-02-14 22:07 ` Ryan Brown
2012-02-15 9:29 ` Avi Kivity
2012-02-15 12:02 ` Ryan Brown
2012-02-15 14:04 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox