Skip to contentSkip to conversation

vmx=on with -accel hax

DISCUSSION Rui Prior 4 participants 4 messages Mar 4, 2020 – Mar 9, 2020

lore
Share & tools
lore

Rui Prior

author
#0 lore raw

Dear qemu developers,

I found a bug/limitation of qemu on windows (qemu-w64-setup-20200201.exe from https://qemu.weilnetz.de/w64/ ) that makes qemu terminate immediately with "VCPU shutdown request" (twice) if I try to use the "vmx=on" CPU option while simultaneously using "-accel hax". Without "vmx=on", it works fine (but it prevents me from using nested virtualization).

I am using HAXM v7.5.6.

Should you need any further information, please let me know.

Best regards,

Signature · 7 lines
Rui Prior
*********************************************
Departamento de Ciência de Computadores,
Faculdade de Ciências, Universidade do Porto
*********************************************
Instituto de Telecomunicações
*********************************************
#1 lore raw

Cc'ing people listed by "scripts/get_maintainer.pl -f target/i386/hax*".

Quoted 14 lines · Rui Prior

Dear qemu developers,

I found a bug/limitation of qemu on windows (qemu-w64-setup-20200201.exe from https://qemu.weilnetz.de/w64/ ) that makes qemu terminate immediately with "VCPU shutdown request" (twice) if I try to use the "vmx=on" CPU option while simultaneously using "-accel hax". Without "vmx=on", it works fine (but it prevents me from using nested virtualization).

I am using HAXM v7.5.6.

Should you need any further information, please let me know.

Best regards,

#2 lore raw
Quoted 2 lines · Markus Armbruster

Cc'ing people listed by "scripts/get_maintainer.pl -f target/i386/hax*".

Thanks! get_maintainer.pl output here is a bit misleading. We have no maintainers listed for the hax accel. CCing the original authors, hoping they can help.

Quoted 11 lines
Quoted 9 lines · Rui Prior

Dear qemu developers,

I found a bug/limitation of qemu on windows (qemu-w64-setup-20200201.exe from https://qemu.weilnetz.de/w64/ ) that makes qemu terminate immediately with "VCPU shutdown request" (twice) if I try to use the "vmx=on" CPU option while simultaneously using "-accel hax". Without "vmx=on", it works fine (but it prevents me from using nested virtualization).

Quoted 2 lines
Quoted 2 lines

I am using HAXM v7.5.6.

I don't see any CPUID handling in the hax accel code, so "vmx=on" isn't even supposed to have any effect. I don't think HAXM supports nested virtualization, does it?

Quoted 3 lines
Quoted 3 lines

Should you need any further information, please let me know.

Best regards,

Signature · 1 line
Eduardo
#3 lore raw
In reply to Markus Armbruster
Quoted 14 lines · Markus Armbruster

Cc'ing people listed by "scripts/get_maintainer.pl -f target/i386/hax*".

Quoted 10 lines · Rui Prior

Dear qemu developers,

I found a bug/limitation of qemu on windows (qemu-w64-setup-20200201.exe from https://qemu.weilnetz.de/w64/ ) that makes qemu terminate immediately with "VCPU shutdown request" (twice) if I try to use the "vmx=on" CPU option while simultaneously using "-accel hax". Without "vmx=on", it works fine (but it prevents me from using nested virtualization).

I am using HAXM v7.5.6.

Hello, as far as I know HAXM does not support nested virtualization.

Paolo