| CPC G06F 9/45558 (2013.01) | 10 Claims |

|
1. A method for operating a microcontroller, the microcontroller including a plurality of resources, a plurality of virtual machines being executed in the microcontroller, and the microcontroller running a hypervisor that executes a coordination function, the hypervisor being superordinate to the plurality of virtual machines, the method comprising:
storing, by the coordination function, access information that:
identifies, for each of the plurality of virtual machines, a respective one or more permissions of accesses by the respective virtual machines to one or more respective ones of the plurality of resources; and
indicates a current state of all active accesses by the plurality of virtual machines to the plurality of resources;
in response to a requesting one of the virtual machines requesting a reset of one of the resources, selecting, by the coordination function, whether to respond to the request by performing the requested reset of the resource or to instead perform a substitute measure, the selecting being performed based on (I) an access permission of the requesting one of the virtual machines to the one of the resources as indicated by the stored access information and (II) an identification of which of all of the plurality of virtual machines the current state presently indicates are accessing the one of the resources.
|