restore from save fails with VERR_IEM_INSTR_NOT_IMPLEMENTED 6.1.18 r142142 win.amd64

Discussions related to using VirtualBox on Windows hosts.

restore from save fails with VERR_IEM_INSTR_NOT_IMPLEMENTED 6.1.18 r142142 win.amd64

Postby iSteveK » 8. Apr 2021, 04:23

Saved the state of Ubuntu 18.04.5 (64-bit) guest OS. When trying to restore, Urgent Guru Mediation dialog appears after 20+ sec or so. (Repeatable - happened twice the same)
Platform: Lenovo Thinkpad T15 i7-10610U Windows 10 Ent (64-bit) v1909 18363.1443 - Hyper-V is off.
Guest VM still works if I power off and power on, just cannot save and restore state.

Example errors from VBox.log (attached):

00:00:26.781711 ERROR [COM]: aRC=VBOX_E_VM_ERROR (0x80bb0003) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={Could not take a screenshot (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=-37
<repeats a few times>
ends with

00:00:31.677073 emR3Debug: rc=VERR_IEM_INSTR_NOT_IMPLEMENTED


WinFeat_Hyper-V_Off.jpg
WinFeat_Hyper-V_Off.jpg (60.12 KiB) Viewed 213 times

Win10 cmd:

PS C:\windows\system32> DISM /Online /Get-Features

Deployment Image Servicing and Management tool
Version: 10.0.18362.1379

Image Version: 10.0.18363.1443

Features listing for package : Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.18362.1440
...
Feature Name : HypervisorPlatform
State : Disabled
...
Feature Name : Microsoft-Hyper-V-All
State : Disabled

Feature Name : Microsoft-Hyper-V
State : Disabled

Feature Name : Microsoft-Hyper-V-Tools-All
State : Disabled

Feature Name : Microsoft-Hyper-V-Management-PowerShell
State : Disabled

Feature Name : Microsoft-Hyper-V-Hypervisor
State : Disabled

Feature Name : Microsoft-Hyper-V-Services
State : Disabled

Feature Name : Microsoft-Hyper-V-Management-Clients
State : Disabled
...
Attachments
VBox_Win10Host_Restore_Ubuntu18_from_Save.zip
(66.8 KiB) Downloaded 7 times
iSteveK
 
Posts: 2
Joined: 8. Apr 2021, 03:56

Re: restore from save fails with VERR_IEM_INSTR_NOT_IMPLEMENTED 6.1.18 r142142 win.amd64

Postby fth0 » 8. Apr 2021, 17:28

iSteveK wrote:Hyper-V is off

No, it's not. ;)

Please read HMR3Init: Attempting fall back to NEM (Hyper-V is active), and especially pay attention to the bcdedit command.
fth0
Volunteer
 
Posts: 1969
Joined: 14. Feb 2019, 03:06
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...

Re: restore from save fails with VERR_IEM_INSTR_NOT_IMPLEMENTED 6.1.18 r142142 win.amd64

Postby iSteveK » 13. Apr 2021, 03:10

You are correct that Hyper-V is still enabled.

However, I did read the link previously and run the bcdedit command in an Admin cmd window and it reported The operation completed successfully (and then I rebooted - I did that again just now and still no joy). So something else is turning on Hyper-V. This is a company laptop, so IT may be controlling this and I have no choice but to live with it.
iSteveK
 
Posts: 2
Joined: 8. Apr 2021, 03:56

Re: restore from save fails with VERR_IEM_INSTR_NOT_IMPLEMENTED 6.1.18 r142142 win.amd64

Postby BillG » 13. Apr 2021, 09:16

You can easily check the status of that by doing a bcdedit /enum. The {current} entry shows the status of the loaded config. If hypervisorlaunchtype is absent or set to Off, the hypervisor will not load. It it is set to Auto, it will load. And if it is loaded, the VirtualBox guest will have Attempting to fall back to NEM line in the log. In my PC it is absent.

There are lots of things, both in the OS itself and third party apps, which can activate the hypervisor apart from Hyper-V. If the hypervisor is not loaded, you will not see that line.

enum.PNG
Bill
BillG
Volunteer
 
Posts: 4746
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7,8,Server

Re: restore from save fails with VERR_IEM_INSTR_NOT_IMPLEMENTED 6.1.18 r142142 win.amd64

Postby scottgus1 » 13. Apr 2021, 20:17

iSteveK wrote:and then I rebooted

How?
the NEM tutorial wrote:5. Enter this command:

shutdown -s -t 2

6. When the computer turns off, unplug it for 20 seconds.

Note, no reboot.

iSteveK wrote:This is a company laptop, so IT may be controlling this

This is a distinct possibility, if following the above instructions does not help. Do you need Virtualbox for work? Ask your boss to help you convince IT to ease up on the restrictions. If you don't need Virtualbox for work, will they like you installing Virtualbox on their computer, pink-slip-wise?
scottgus1
Site Moderator
 
Posts: 12001
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 25 guests