主权项 |
1. A method comprising:
creating, at a hypervisor of a computing device, at least a first virtual processor for a first guest operating system; and scheduling, for execution on a hardware processor of the computing device, the first virtual processor and at least a second virtual processor created for a second guest operating system, wherein the first virtual processor has a first priority corresponding to a first task priority of a corresponding first task, wherein the second virtual processor has a second priority corresponding to a second task priority of a corresponding second task, wherein the first task priority is assigned to the first task by the first guest operating system and the second task priority is assigned to the second task by the second guest operating system, wherein the hypervisor has access to priority information associated with tasks of the first guest operating system including the first task and tasks of the second guest operating system including the second task, and wherein the hypervisor assigns priority to the first virtual processor and to the second virtual processor based on the priority information associated with the first task and the second task. |