Link to home
Start Free TrialLog in
Avatar of David Orlow
David OrlowFlag for United States of America

asked on

When I reboot my Windows 10 Pro PC, does the Hyper-V VMs stay running?

Just for curiousity.  From what I read, Hyper-V is a bare metal hypervisor.  But it seems odd if it's running a role of my host OS, is it a bare metal hypervisor?  I left the VMs running, opened up a notepad and wrote some stuff on it and rebooted my pc.  I then went back in.  It shows the VM just started in Hyper V, but the OS shows it never rebooted and the notepad was still up with the stuff I wrote.  So, I'm not sure if the VM stayed running during the reboot or if it was hibernated or something.  Just curious.
ASKER CERTIFIED SOLUTION
Avatar of Jackie Man
Jackie Man
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Orlow

ASKER

ok, I was curious if it was a true bare metal hypervisor, it's as if the VM is running directly off the motherboard rather than between the board and windows.  theoretically then you could reboot the host os and the VM would remain running even while the host pc was posting the bios.
if it's running on top of the host os, then the vms are only as stable as the host os which isn't good in windows situation.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
theoretically then you could reboot the host os and the VM would remain running even while the host pc was posting the bios.

No. If the host OS is not running, the VM is not running as the VM is just sitting on the host OS.

If the host pc is a true bare metal hypervisor, the VM will not be running if you are posting the bios of the host pc. You need to wait for less than 10 seconds for the Hypervisor to start before you can access the VM on the Hypervisor.

If the Hypervisor is not running (when you have just started the host pc and posting has not yet finished for the BIOS), the VM is not running as the VM is just sitting on the Hypervisor.

For your information, Hypervisor can be stored on a USB thumb drive or SD card for VMWare or embedded in the BIOS for the patent by Google.

https://kb.vmware.com/s/article/2004784

https://patents.google.com/patent/US8127292B1/en

https://docs.microsoft.com/en-us/windows-server/administration/performance-tuning/role/hyper-v-server/architecture

What you have experienced is that as soon as you have started the Hyper-V, the VM can be accessed instaneously just like nothing has changed. In fact, the VM has only been restored from the saved state immediately after you have started the Hyper-V.

If you shutdown the host pc, there is no way to access the VM.
if it's running on top of the host os, then the vms are only as stable as the host os which isn't good in windows situation.
We have disabled the windows update of the host OS and will seldom login to the host OS. Besides, server hardening has been made so that the server os will only have access to the core service and feature to run Hyper-V. So, it is very rare that the host OS is not stable.
Hello,

If you have the Hyper-V role enabled on your Windows 10 pc, your pc works as a physical host where you have the role installed and where the VMs are running.

When you enable Hyper-v on your pc, a service is installed that allows the hypervisor to work.

If your pc restarts or shuts down, vm's will also be affected.

Regards.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- 'Jackie Man' (https:#a43283565)
-- 'arnold' (https:#a43283587)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer