joyent/illumos-kvm-cmd — Issue #6: f_ecx: aes - not working
Author: noahmehl
Created: 2012-01-15 06:08:26+00:00
State: open

Ok, I've done some research on this, and here's what I got:

[root@00-25-90-2c-81-0c /smartdc/bin]# qemu-system-x86_64 -cpu ?cpuid | grep aes
f_ecx: hypervisor avx osxsave xsave aes popcnt movbe x2apic sse4.2|sse4_2 sse4.1|sse4_1 dca pdcm xtpr cx16 fma cid ssse3 tm2 est smx vmx ds_cpl monitor dtes64 pclmuldq pni|sse3

So, I think that's good, unless it's just printing it, and it's not actually compiled in. Ok, let's look at the CPU models:

qemu-system-x86_64 -cpu ?dump | grep aes

This returns nothing, so basically, there are no cpu models with aes in the definition, DAMN!

So, I ran this: echo '{"cpu_type":"Nehalem,+aes"}' | vmadm update a59c7a6b-7642-4f7e-8787-19098ca3dba1

Then I boot that vm, and I look at the guest, but still no aes flag in /proc/cpuinfo :(

Here's the red hat bug for this issue:

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