主权项 |
1. A method, comprising:
modifying, by a processing device executing a hypervisor a host machine, a running state of a virtual machine (VM) managed by the hypervisor, wherein the running state reflects whether the VM is running or not running; updating, by the hypervisor, a VM state indication associated with the VM to at least reflect the change in the running state of the VM from one of running to not running or not running to running; and providing, to a peripheral device by the hypervisor, a location in memory associated with the VM state indication, wherein the peripheral device associated with the VM accesses the VM state indication to determine whether to continue processing a VM state changing instruction, and wherein the peripheral device accesses the VM state indication upon a write access instruction to the VM. |