×

Dispatch control of virtual machine

  • US 5,095,427 A
  • Filed: 06/14/1989
  • Issued: 03/10/1992
  • Est. Priority Date: 01/14/1986
  • Status: Expired due to Term
First Claim
Patent Images

1. In a virtual machine system comprising a real machine including a real main storage area and a plurality of real processors and virtual machines each including a virtual main storage area, an operating system, and a plurality of virtual processors, wherein the virtual machines are capable of simultaneous running on the real machine under control of dispatch instructions, a dispatch control method comprising the steps of:

  • (a) providing a status indicator for each of said virtual processors, said status indicator including start information required for starting of said virtual processor, wait information indiating whether said virtual processor is in a wait state, and running information indicating whether said virtual processor runs on a certain one of said real processor in said real machine;

    (b) detecting whether a relevant portion of said virtual main storage area is in a virtual lock state in response to a lock judge instruction executed by a virtual processor running on a real processor in said real machine, said virtual lock state being a state in which only one virtual processor successful for a lock instruction to the relevant portion of said virtual main storage area, belonging to the virtual machine to which said running virtual processor belongs, can make reference to or update the relevant portion of said virtual main storage area;

    (c) intercepting, in response to detection of said virtual lock state by said detecting step (b), the running of said virtual processor;

    (d) executing, in response to interception of said running of said virtual processor by said intercepting step (c), said dispatch instructions by referring to said status indicators of step (a) to select another virtual processor belonging to the virtual machine to which said intercepted virtual processor belongs, said another virtual processor having not been in a wait state and having not been running on any real processor of said real machine; and

    (e) starting the selected virtual processor to a selected one of said plurality of real processors on which said virtual processor can run.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×