Closed noahmehl closed 12 years ago
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
I have this figured out and am testing it now. I should have something pushed soon.
Fixed in illumos-kvm: https://github.com/joyent/illumos-kvm/commit/76be9d4d13f5c5d32d915820bbf956b73fd89aab
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