VCPU shutdown request with HAX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
In most scenarios when turning on HAX, QEMU will exit, printing "VCPU shutdown request" to the console.
This is on Windows 8.1 with Intel HAXM 7.5.2.
QEMU's -version prints v4.1.0-
I've used an installer from qemu.weilnetz.de.
The host CPU is an IvyBridge i5 (mobile).
Some miscellaneous notes (you can skip them first):
Win10-1709-
[Stuck, etc.]: I had given that image almost 2h during which the circle of dots continued to spin. I don't know if it or QEMU did anything of interest at all during that period, but this might indicate long-term stability, sort of.
Win10_1709_
TinyCore_10-1.iso: TinyCore by Core Project. A 18MB graphical Linux distribution, pretty barren by default. I've generally opened Apps there, the package manager, then shut it down again.
On the one marked [Fx stable], I've gotten Firefox 60.8.0 ESR and visited a couple of websites. (I don't know of any available program that would try to execute exotic CPU instructions in weird combinations to do a proper test.)
Q64 is .\qemu-
Invocations that QEMU seemed to handle well (without the headline error):
Q64 -machine q35 -accel hax
Q64 -machine q35 -cdrom \!S\Win10-
Q64 -machine q35 -cdrom \!S\Win10-
Q64 -machine q35 -cdrom \!S\Win10_
Q64 -machine q35 -cdrom \!S\Win10_
Q64 -machine q35 -cdrom \!S\Win10_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\Win10_
Q64 -cdrom \!S\Win10_
Q64 -cdrom \!S\Win10_
Q64 -cdrom \!S\Win10_
Then, those that made it print "VCPU shutdown request" repeatedly and quit, immediately or after a couple of seconds at most, except where noted. I put an indication of the number of messages into curly braces.
Q64 -machine q35,accel=hax -cpu max {many}
Q64 -machine q35,accel=hax -cdrom \!S\Win10-
Q64 -machine q35 -cdrom \!S\Win10_
Q64 -machine q35 -cdrom \!S\Win10_
Q64 -cdrom \!S\Win10_
Q64 -cdrom \!S\TinyCore_
Q64 -cdrom \!S\Win10_
Q64 -cdrom \!S\Win10_
Q64 -cdrom \!S\Win10_
Q64 -cdrom \!S\Win10_
(I have rewritten a couple of commandlines to make them more uniform (changing the placement of parameters and using '-accel hax' instead of '-machine ...,accel=hax').)
[1]: WinPE boot error, not enough RAM.
[2]: Will cause a kernel BUG: "... \ login[892]: root login on 'tty1' \ BUG: unable to handle kernel paging request at 00010ffa \ ...". See attached file.
[3]: Stuck after "Booting the kernel.", cursor blinks.
[4]: Stuck at blinking console prompt, no input possible.
[5]: According to the printout, TCG doesn't support a bunch of those processor's features that have been requested.
PS: There should be some note highlighting that there is a strict limit on line length (or at least that's what it looks like). I can shorten the file names further to enhance skimmability ... :/
Also, let me know if you need anything else.
description: | updated |
description: | updated |
Thanks for testing. I think that some of those problems might be issues of the Intel HAXM driver, so I suggest to report them at https:/ /github. com/intel/ haxm/issues.
As stated on https:/ /qemu.weilnetz. de/FAQ, I consider HAXM support as experimental and suggest to try WHPX which is also experimental, but seems to have less limitations and run more stable.