VirtualBox

13 年 前 建立

9 年 前 更新

#9537 closed defect

AES-NI (AES New Instructions) from SandyBridge CPUs are not forwarded to Guest — 於 版本 3

回報者: USBProb 負責人:
元件: other 版本: VirtualBox 4.1.2
關鍵字: AES-NI AES New Instructions 副本:
Guest type: Windows Host type: Windows

描述 (由 Frank Mehnert 作最後更新)

Problem is there http://forums.virtualbox.org/viewtopic.php?f=7&t=42951 documentated. Host (Intel i5 2500K) shows in CPU-Z AES support, in Guest there is now AES-NI support. I think that can be solved with a (V-BOX)BIOS-Update, had a notebook with the same problem, BIOS update and then AES-NI worked. Perphaps these links help http://communities.intel.com/thread/23583 and http://forum.notebookreview.com/windows-os-software/582628-aes-ni-support-truecrypt-sandy-bridge-problem.html

更動歷史 (3)

comment:1 12 年 前harm ten Napel 編輯

This problem still exists on Virtualbox 4.2.8 , I'm using a guest OS that supports AES-NI (OEL5) but it's not passed to the guest, the following C program will tell you if AES instructions work:

$ cat aes.c
#include <stdio.h>
#define cpuid(level, a, b, c, d)                        \
        asm("xchg{l}\t{%%}ebx, %1\n\t"                  \
            "cpuid\n\t"                                 \
            "xchg{l}\t{%%}ebx, %1\n\t"                  \
            : "=a" (a), "=r" (b), "=c" (c), "=d" (d)    \
            : "0" (level))


int main (int argc, char **argv)
{
        unsigned int eax, ebx, ecx, edx;
        cpuid(1, eax, ebx, ecx, edx);
        if (ecx & (1<<25))
                printf("aes\n");
        else
                printf("no aes\n");
        return 0;
}

$ ls
aes.c
[oracle@oel5vmware c]$ make aes
cc     aes.c   -o aes
[oracle@oel5vmware c]$ ./aes
aes

This is on vmware 9 where it works, however on vbox it doesn't:

[oracle@oel64 ~]$ vi aes.c
[oracle@oel64 ~]$ make aes
cc     aes.c   -o aes
[oracle@oel64 ~]$ ./aes
no aes
[oracle@oel64 ~]$ uname -a
Linux oel64.fritz.box 2.6.32-300.32.1.el5uek #1 SMP Fri Jul 20 00:51:02 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[oracle@oel64 ~]$ 
最後由 Frank Mehnert 編輯於 10 年 前 (上一筆) (差異)

comment:2 11 年 前Trevor Hemsley 編輯

Issue exists on linux hosts with 4.2.12 (have not tried 4.2.14 yet but nothing is listed in the Changelog).

Has anyone from Innotek/Sun/Oracle/Virtualbox even opened this bug?

comment:3 11 年 前Frank Mehnert 編輯

描述: 修改 (差異)

The bug is already open, so no need to open it again. In short term there will be no support for AES-NI instructions in VirtualBox. That might be different in medium term.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette