Selective guest system purge control
AssigneeInternational Business Machines Corporation
InventorsPeter H. Gum, Roger E. Hough, Peter H. Tallman, Thomas O. Curlee, III
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsPeter H. Gum, Roger E. Hough, Peter H. Tallman, Thomas O. Curlee, III
Estimating the term…
The embodiments enable address translations for a virtual machine in the TLB (translation lookaside buffer) of a CPU to be retained from exiting a SIE (start interpretive execution) instruction to the next SIE entry to interpretive execution for the same guest (virtual machine CPU). Conditions are defined which determine when guest TLB entries must be invalidated. These conditions require invalidation of guest TLB entries only within and on entry to interpretive execution. A single invalidation of guest TLB entries on entry to interpretive execution is required for any number of conditions recognized while a CPU is not in interpretive execution state. For a guest in a virtual multi-processor (MP) machine, an interlock is provided to allow the use of guest virtual addresses by host instruction simulation and the need for guest TLB invalidation is broadcast to all other real CPUs in a real MP system so that all guest TLBs on all real CPUs can be invalidated to maintain integrity. No broadcast or interlock is needed for a guest in a virtual uni-processor (UP) machine.
A method for handling address translations made by a virtual system (guest) emulated on a real uniprocessor (UP) data processing system having a real CPU and a real main storage, guest address translations being put into guest identified entries (guest TLB entries) in a translation lookaside buffer (TLB) of the real CPU while the CPU is in emulation state, the method comprising:
A method for handling address translations made by a virtual system (guest) emulated on a multiprocessing (MP) real system having a real main storage and a plurality of real CPUs, guest address translations being put into guest identified entries (guest entries) in a translation lookaside buffer (TLB) of any real CPU in the MP real system while the CPU is in emulation state, having a plurality of state descriptor control blocks (SDs) in main storage and each SD representing a virtual CPU and having an SD identifier (SDI) for locating the SD, the MP real system containing one or more virtual systems which may include one or more virtual UP systems (UP guests) and one or more virtual MP systems (MP guests), each UP guest having an associated SD, and each MP guest having a plurality of associated SDs, each SD in main storage being assignable to a virtual MP system or to a virtual UP system, and a CPU identifier (CPU ID) being provided for each real CPU in the MP real system, the method comprising:
Dependencies are inferred from the claim text.