AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / computer / Perguntas / 1877472
Accepted
Franck Dernoncourt
Franck Dernoncourt
Asked: 2025-02-09 08:46:39 +0800 CST2025-02-09 08:46:39 +0800 CST 2025-02-09 08:46:39 +0800 CST

"VT-x não está disponível" no log do VirtualBox. Por quê?

  • 772

Minha configuração:

  • O host executa o Windows 11 24H2 Pro. Ele usa o VirtualBox versão 7.1.4 r165100 (Qt6.5.3).
  • O convidado executa o Kubuntu 24.04.1 LTS.

Eu vejo em VBox.log:

00:00:08.192929 HM: HMR3Init: Attempting fall back to NEM: VT-x is not available

O que pode causar esse problema?


Meu diagnóstico até agora:

  • A virtualização está habilitada no BIOS .
  • O Hyper-V está desabilitado: captura de tela nas configurações do Windows , captura de tela no PowerShell .
  • Eu uso um  laptop MSI GS76 Stealth 11UH  , que tem uma CPU Intel Core i9-11900H, que suporta VT-x .
windows
  • 1 1 respostas
  • 148 Views

1 respostas

  • Voted
  1. Best Answer
    Franck Dernoncourt
    2025-02-09T09:27:37+08:002025-02-09T09:27:37+08:00

    Contexto: NEM significa Native Execution Mode. É um modo de fallback usado pelo VirtualBox quando VT-x (Intel Virtualization Technology) ou AMD-V (AMD Virtualization) não podem ser habilitados devido a restrições do sistema.

    O problema geralmente ocorre devido ao Hyper-V ou a alguns recursos de segurança do Windows.

    Eu segui esses passos em parte com base nesta postagem do virtualbox.org :

    1. Desabilitou o serviço Hyper-V:

      insira a descrição da imagem aqui

    2. Executei no cmd como administrador:

      bcdedit /set hypervisorlaunchtype off
      
    3. Desabilitou essa política:

      insira a descrição da imagem aqui

    4. Desativa todos os recursos de isolamento do núcleo:

      insira a descrição da imagem aqui

      insira a descrição da imagem aqui

    5. Reiniciei o laptop.

    Então funcionou:   VBox.logmostrou que agora está usando VT-x em vez de NEM.

    00:00:06.534552 HM: HMR3Init: VT-x w/ nested paging and unrestricted guest execution hw support
    00:00:07.822064 HM: Using VT-x implementation 3.0
    00:00:07.822121 HM: VT-x/AMD-V init method: Local
    [...]
    00:00:07.822532 *********************** VT-x features ***********************
    00:00:07.822533 Nested hardware virtualization - VMX features
    00:00:07.822534   Mnemonic - Description                                  = guest (host)
    00:00:07.822534   VMX - Virtual-Machine Extensions                        = 1 (1)
    00:00:07.822534   InsOutInfo - INS/OUTS instruction info.                 = 1 (1)
    00:00:07.822535   ExtIntExit - External interrupt exiting                 = 1 (1)
    00:00:07.822535   NmiExit - NMI exiting                                   = 1 (1)
    00:00:07.822535   VirtNmi - Virtual NMIs                                  = 1 (1)
    00:00:07.822535   PreemptTimer - VMX preemption timer                     = 0 (1)
    00:00:07.822536   PostedInt - Posted interrupts                           = 0 (1)
    00:00:07.822536   IntWindowExit - Interrupt-window exiting                = 1 (1)
    00:00:07.822536   TscOffsetting - TSC offsetting                          = 1 (1)
    00:00:07.822537   HltExit - HLT exiting                                   = 1 (1)
    00:00:07.822537   InvlpgExit - INVLPG exiting                             = 1 (1)
    00:00:07.822537   MwaitExit - MWAIT exiting                               = 1 (1)
    00:00:07.822537   RdpmcExit - RDPMC exiting                               = 1 (1)
    00:00:07.822538   RdtscExit - RDTSC exiting                               = 1 (1)
    00:00:07.822538   Cr3LoadExit - CR3-load exiting                          = 1 (1)
    00:00:07.822538   Cr3StoreExit - CR3-store exiting                        = 1 (1)
    00:00:07.822538   TertiaryExecCtls - Activate tertiary controls           = 0 (1)
    00:00:07.822539   Cr8LoadExit  - CR8-load exiting                         = 1 (1)
    00:00:07.822539   Cr8StoreExit - CR8-store exiting                        = 1 (1)
    00:00:07.822539   UseTprShadow - Use TPR shadow                           = 1 (1)
    00:00:07.822540   NmiWindowExit - NMI-window exiting                      = 1 (1)
    00:00:07.822540   MovDRxExit - Mov-DR exiting                             = 1 (1)
    00:00:07.822540   UncondIoExit - Unconditional I/O exiting                = 1 (1)
    00:00:07.822540   UseIoBitmaps - Use I/O bitmaps                          = 1 (1)
    00:00:07.822541   MonitorTrapFlag - Monitor Trap Flag                     = 0 (1)
    00:00:07.822541   UseMsrBitmaps - MSR bitmaps                             = 1 (1)
    00:00:07.822541   MonitorExit - MONITOR exiting                           = 1 (1)
    00:00:07.822541   PauseExit - PAUSE exiting                               = 1 (1)
    00:00:07.822542   SecondaryExecCtl - Activate secondary controls          = 1 (1)
    00:00:07.822542   VirtApic - Virtualize-APIC accesses                     = 1 (1)
    00:00:07.822542   Ept - Extended Page Tables                              = 1 (1)
    00:00:07.822542   DescTableExit - Descriptor-table exiting                = 1 (1)
    00:00:07.822543   Rdtscp - Enable RDTSCP                                  = 1 (1)
    00:00:07.822543   VirtX2ApicMode - Virtualize-x2APIC mode                 = 0 (1)
    00:00:07.822543   Vpid - Enable VPID                                      = 1 (1)
    00:00:07.822544   WbinvdExit - WBINVD exiting                             = 1 (1)
    00:00:07.822544   UnrestrictedGuest - Unrestricted guest                  = 1 (1)
    00:00:07.822544   ApicRegVirt - APIC-register virtualization              = 0 (1)
    00:00:07.822544   VirtIntDelivery - Virtual-interrupt delivery            = 0 (1)
    00:00:07.822545   PauseLoopExit - PAUSE-loop exiting                      = 1 (1)
    00:00:07.822545   RdrandExit - RDRAND exiting                             = 1 (1)
    00:00:07.822545   Invpcid - Enable INVPCID                                = 1 (1)
    00:00:07.822545   VmFuncs - Enable VM Functions                           = 0 (1)
    00:00:07.822546   VmcsShadowing - VMCS shadowing                          = 0 (0)
    00:00:07.822546   RdseedExiting - RDSEED exiting                          = 1 (1)
    00:00:07.822546   PML - Page-Modification Log                             = 0 (1)
    00:00:07.822546   EptVe - EPT violations can cause #VE                    = 0 (1)
    00:00:07.822547   ConcealVmxFromPt - Conceal VMX from Processor Trace     = 0 (1)
    00:00:07.822547   XsavesXRstors - Enable XSAVES/XRSTORS                   = 0 (1)
    00:00:07.822547   PasidTranslate - PASID translation                      = 0 (0)
    00:00:07.822548   ModeBasedExecuteEpt - Mode-based execute permissions    = 0 (1)
    00:00:07.822548   SppEpt - Sub-page page write permissions for EPT        = 0 (0)
    00:00:07.822548   PtEpt - Processor Trace address' translatable by EPT    = 0 (1)
    00:00:07.822548   UseTscScaling - Use TSC scaling                         = 0 (1)
    00:00:07.822549   UserWaitPause - Enable TPAUSE, UMONITOR and UMWAIT      = 0 (0)
    00:00:07.822549   Pconfig - Enable PCONFIG                                = 0 (0)
    00:00:07.822549   EnclvExit - ENCLV exiting                               = 0 (0)
    00:00:07.822550   BusLockDetect - VMM Bus-Lock detection                  = 0 (0)
    00:00:07.822551   InstrTimeout - Instruction timeout                      = 0 (0)
    00:00:07.822551   LoadIwKeyExit - LOADIWKEY exiting                       = 0 (1)
    00:00:07.822551   HLAT - Hypervisor-managed linear-address translation    = 0 (0)
    00:00:07.822552   EptPagingWrite - EPT paging-write                       = 0 (0)
    00:00:07.822552   GstPagingVerify - Guest-paging verification             = 0 (0)
    00:00:07.822552   IpiVirt - IPI virtualization                            = 0 (0)
    00:00:07.822552   VirtSpecCtrl - Virtualize IA32_SPEC_CTRL                = 0 (0)
    00:00:07.822553   EntryLoadDebugCtls - Load debug controls on VM-entry    = 1 (1)
    00:00:07.822553   Ia32eModeGuest - IA-32e mode guest                      = 1 (1)
    00:00:07.822553   EntryLoadEferMsr - Load IA32_EFER MSR on VM-entry       = 1 (1)
    00:00:07.822553   EntryLoadPatMsr - Load IA32_PAT MSR on VM-entry         = 1 (1)
    00:00:07.822554   ExitSaveDebugCtls - Save debug controls on VM-exit      = 1 (1)
    00:00:07.822554   HostAddrSpaceSize - Host address-space size             = 1 (1)
    00:00:07.822554   ExitAckExtInt - Acknowledge interrupt on VM-exit        = 1 (1)
    00:00:07.822555   ExitSavePatMsr - Save IA32_PAT MSR on VM-exit           = 1 (1)
    00:00:07.822555   ExitLoadPatMsr - Load IA32_PAT MSR on VM-exit           = 1 (1)
    00:00:07.822555   ExitSaveEferMsr - Save IA32_EFER MSR on VM-exit         = 1 (1)
    00:00:07.822555   ExitLoadEferMsr - Load IA32_EFER MSR on VM-exit         = 1 (1)
    00:00:07.822556   SavePreemptTimer - Save VMX-preemption timer            = 0 (1)
    00:00:07.822556   SecondaryExitCtls - Secondary VM-exit controls          = 0 (0)
    00:00:07.822556   ExitSaveEferLma - Save IA32_EFER.LMA on VM-exit         = 1 (1)
    00:00:07.822556   IntelPt - Intel Processor Trace in VMX operation        = 0 (1)
    00:00:07.822557   VmwriteAll - VMWRITE to any supported VMCS field        = 0 (1)
    00:00:07.822557   EntryInjectSoftInt - Inject softint. with 0-len instr.  = 1 (1)
    00:00:07.822557 
    00:00:07.822557 ******************* End of VT-x features ********************
    

    Observe que é provável que um subconjunto dessas instruções seja suficiente para fazê-lo funcionar.

    • 0

relate perguntas

  • Como desativar a aceleração do mouse em um touchpad de precisão do Windows?

  • renomear em massa conjuntos de arquivos de imagem

  • Qual seria o equivalente em lote do argumento "pass" do Python?

  • Comunique-se com o daemon do Docker no Windows

  • atalho do shell da área de trabalho no painel lateral do explorer

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Como posso reduzir o consumo do processo `vmmem`?

    • 11 respostas
  • Marko Smith

    Baixar vídeo do Microsoft Stream

    • 4 respostas
  • Marko Smith

    O Google Chrome DevTools falhou ao analisar o SourceMap: chrome-extension

    • 6 respostas
  • Marko Smith

    O visualizador de fotos do Windows não pode ser executado porque não há memória suficiente?

    • 5 respostas
  • Marko Smith

    Como faço para ativar o WindowsXP agora que o suporte acabou?

    • 6 respostas
  • Marko Smith

    Área de trabalho remota congelando intermitentemente

    • 7 respostas
  • Marko Smith

    O que significa ter uma máscara de sub-rede /32?

    • 6 respostas
  • Marko Smith

    Ponteiro do mouse movendo-se nas teclas de seta pressionadas no Windows?

    • 1 respostas
  • Marko Smith

    O VirtualBox falha ao iniciar com VERR_NEM_VM_CREATE_FAILED

    • 8 respostas
  • Marko Smith

    Os aplicativos não aparecem nas configurações de privacidade da câmera e do microfone no MacBook

    • 5 respostas
  • Martin Hope
    Vickel O Firefox não permite mais colar no WhatsApp web? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke Por que os arquivos tar.xz são 15x menores ao usar a biblioteca tar do Python em comparação com o tar do macOS? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh Como posso reduzir o consumo do processo `vmmem`? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Pesquisa do Windows 10 não está carregando, mostrando janela em branco 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 Área de trabalho remota congelando intermitentemente 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney Por que colocar um ponto após o URL remove as informações de login? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension Ponteiro do mouse movendo-se nas teclas de seta pressionadas no Windows? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca Todos os meus complementos do Firefox foram desativados repentinamente, como posso reativá-los? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK É possível criar um código QR usando texto? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 Altere o nome da ramificação padrão do git init 2019-04-01 06:16:56 +0800 CST

Hot tag

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve