Deferred Retrieval of Secure Guest Resources
Asynchronous reclamation of secure guest resources in computing environments addresses the inefficiencies of synchronous resource erasure, enabling faster and more efficient removal of secure guests by allowing resources to be reclaimed later, thus reducing memory load.
Patent Information
- Application Number
- JP2024504184
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-08-05
- Filing Date
- 2022-08-02
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-08-02
AI Technical Summary
In computing environments with secure guests, the traditional method of removing these guests is time-consuming due to the synchronous erasure of all associated resources, which can be extensive and resource-intensive, especially when dealing with large amounts of secure guest resources.
The method involves asynchronously reclaiming secure guest resources after removal, allowing resources like memory to be left in a destroyed state for later retrieval, reducing the need for immediate erasure and enabling faster guest removal.
This asynchronous reclamation process significantly speeds up the removal of secure guests by allowing resources to be reclaimed in parallel, reducing memory load and improving efficiency in computing environments.
Smart Images

Figure 2024530593000001_ABST
Abstract
Description
[Technical field]
[0001] One or more aspects relate generally to facilitating processing within a computing environment, and in particular to improving such processing. [Background technology]
[0002] A particular computing environment may support virtualization, in which a hypervisor or virtual machine manager of the computing environment hosts various guests, such as virtual machines or virtual servers of the computing environment. A virtual machine has access to system resources and may run an operating system, such as a guest operating system. Different guests may be owned by different owners, and some of these guests may be secure guests.
[0003] A traditional hypervisor or host has full control over the hosted guests. In particular, the hypervisor has the ability to inspect and even modify the memory of the hosted guests. A secure guest, however, is a guest that may be hosted by a hypervisor that is not fully trusted. The image of such a secure guest is protected when it is loaded, and protection of the contents of resources allocated to the guest (e.g., memory, CPU registers) is maintained throughout the lifetime of the guest. Protection of the guest includes at least integrity protection (e.g., the hypervisor cannot maliciously modify the state of any guest), and may additionally include maintaining confidentiality of the initial image, code, and data running in the secure guest. Summary of the Invention
[0004] Certain deficiencies in the prior art are overcome and additional advantages are provided by the provision of a computer program product for facilitating processing within a computing environment. The computer program product includes at least one computer readable storage medium having program instructions embodied therein. The program instructions are readable by the processing circuitry to cause the processing circuitry to execute a method. The method includes initiating removal of a secure guest from the computing environment while leaving one or more secure guest resources of the secure guest to be reclaimed asynchronously from the removal of the secure guest by a host of the computing environment. Further, the method includes reclaiming the one or more secure guest resources asynchronously from the removal of the secure guest, where the one or more secure guest resources become available when the one or more secure guest resources are reclaimed asynchronously from the removal of the secure guest. Advantageously, the method provides faster removal of a secure guest from a computing environment, particularly for secure guests having a large amount of resources within the computing environment. Additionally, when one or more secure guest resources are reclaimed asynchronously with the removal of the secure guest, the secure guest resources become available for reuse, thereby advantageously lowering memory pressure within the computing environment.
[0005] In one or more embodiments, reclaiming one or more secure guest resources of the secure guest occurs asynchronously after removal of the secure guest. This method provides faster removal of the secure guest from the computing environment by postponing the reclaiming of the one or more secure guest resources.
[0006] In one or more embodiments, removal of the secure guest includes reclaiming one or more other secure guest resources coextensive with the removal of the secure guest while leaving one or more secure guest resources of the secure guest asynchronously reclaimed. Advantageously, in one implementation, memory associated with the secure guest (i.e., the secure virtual machine) may be reclaimed asynchronously, while in another implementation, a portion of memory associated with the secure guest may be reclaimed coextensive with the removal of the secure guest while leaving a remaining portion of the memory of the secure guest asynchronously reclaimed. In another embodiment, the one or more secure guest resources include guest memory associated with the secure guest.
[0007] In one embodiment, the method further includes specifying, by the host, one or more secure guest resources of the secure guest to be reclaimed asynchronously with removal of the secure guest.
[0008] In one or more implementations, the reclaiming includes determining that one or more secure guest resources are in a discarded state and erasing the one or more secure guest resources for reuse based on the one or more secure guest resources being in a discarded state, where the erasure occurs after removal of the secure guest. In this manner, the discarded secure guest resources may be freed up faster. For example, there is no need to check whether a memory owner is in the correct state to allow the secure memory to be removed or erased. Additionally, this process results in less contention in that memory may be reclaimed in parallel.
[0009] In one embodiment, the one or more secure guest resources include one or more secure memory pages, and determining includes checking page metadata to verify that one of the one or more secure memory pages is in a discarded state. Further, in one implementation, reclaiming includes clearing the one or more secure memory pages and clearing one or more security flags associated with the one or more secure memory pages.
[0010] In one or more embodiments, the initiating includes sending, by the host, a request to a secure platform of the secure computing environment to remove the secure guest, while leaving one or more secure guest resources of the secure guest to be reclaimed asynchronously with the removal of the secure guest.
[0011] Computer systems and computer-implemented methods relating to one or more aspects are also described and claimed herein. Additionally, services relating to one or more aspects may also be described and claimed herein.
[0012] Additional features and advantages are realized by the techniques described herein.Other embodiments and aspects are described in detail herein and are considered a part of the claimed aspects.
[0013] One or more aspects are particularly pointed out and distinctly claimed as examples in the claims at the end of this specification. The foregoing, as well as objects, features, and advantages of the one or more aspects, will become apparent from the following detailed description taken in conjunction with the accompanying drawings. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 illustrates an example of a computing environment for incorporating and using one or more aspects of the present invention. [Diagram 2] 1 illustrates one example of a secure guest and secure guest resources, where sensitive data is included in the secure guest, in accordance with one or more aspects of the present invention. [Diagram 3] 1 is a block diagram representation of one embodiment of a secure guest resource utilized by a secure guest of a computing environment in accordance with one or more aspects of the present invention. [Figure 4] FIG. 1 illustrates one embodiment of a workflow illustrating certain aspects of one or more embodiments of the present invention. [Diagram 5] FIG. 2 illustrates one example of memory page metadata used in accordance with one or more aspects of the present invention. [Figure 6] 1 is a block diagram representation of another workflow illustrating certain aspects of one or more embodiments of the present invention. [Figure 7A] FIG. 1 illustrates an example that facilitates processing in a computing environment in accordance with one or more aspects of the present invention. [Figure 7B] FIG. 1 illustrates an example that facilitates processing in a computing environment in accordance with one or more aspects of the present invention. [Figure 8A] FIG. 1 illustrates another example of a computing environment for incorporating and using one or more aspects of the present invention. [Figure 8B] 8B illustrates further details of the memory of FIG. 8A in accordance with one or more aspects of the present invention. [Figure 9] FIG. 1 illustrates one embodiment of a cloud computing environment in accordance with one or more aspects of the present invention. [Figure 10] FIG. 2 illustrates an example of an abstract model layer in accordance with one or more aspects of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] In accordance with one or more aspects of the present invention, capabilities are provided for facilitating processing within a computing environment. As an example, the capabilities include effecting deferred reclaim of secure guest resources of a secure guest (i.e., a secure virtual machine) being removed within the computing environment. In one example, the deferred reclaim includes initiating, by a host of the computing environment, the removal of the secure guest from the computing environment while leaving one or more secure guest resources of the secure guest to be reclaimed asynchronously with the removal of the secure guest. The host then reclaims the one or more secure guest resources asynchronously with the removal of the secure guest, the secure guest resources becoming reusable as they are reclaimed. In a further example, the reclaiming of the one or more secure guest resources occurs asynchronously after the removal of the secure guest. In another example, the removal of the secure guest includes reclaiming one or more other secure guest resources coextensive with the removal of the secure guest while leaving one or more secure guest resources of the secure guest to be reclaimed asynchronously. In one example, the secure guest resources include guest memory associated with the secure guest. In a further example, the host system specifies one or more secure guest resources of the secure guest to be reclaimed asynchronously with removal of the secure guest. In a particular embodiment, the reclaiming includes determining that the one or more secure guest resources are in a discarded state and erasing the one or more secure guest resources for reuse based on the one or more secure guest resources being in the discarded state, the erasure occurring after removal of the secure guest. In another example, the one or more secure guest resources include one or more secure memory pages in a discarded state and the determining includes checking page metadata to verify that one secure memory page of the one or more secure memory pages is in a discarded state.In one example, the reclaiming includes erasing one or more secure memory pages and clearing one or more security flags associated with the one or more secure memory pages.
[0016] One embodiment of a computing environment for incorporating and using one or more aspects of the present invention is described with reference to FIG. 1. By way of example, the computing environment is based on the z / Architecture® instruction set architecture provided by International Business Machines Corporation (Armonk, NY). One embodiment of the z / Architecture instruction set architecture is described in “z / Architecture Principles of Operation,” IBM Publication No. SA22-7832-12, Thirteenth Edition, September 2019, which is incorporated herein by reference in its entirety. However, the z / Architecture instruction set architecture is only one exemplary architecture, and other architectures or types of computing environments or both of International Business Machines Corporation or other entities may include and / or use one or more aspects of the present invention. z / Architecture and IBM are trademarks or registered trademarks of International Business Machines Corporation in at least one jurisdiction.
[0017] Referring to FIG. 1, in one example, a computing environment 100 includes a central processor complex (CPC) 102. The central processor complex 102 may be, for example, an IBM Z® server (or other server or machine provided by International Business Machines Corporation or another entity) and may include multiple components, such as, for example, one or more processor units (also referred to as processors) 110 and memory 104 (also referred to as system memory, main memory, primary storage, central storage, storage) coupled to an input / output (I / O) subsystem 111. Examples of processor units 110 include one or more general purpose processors (also known as central processors or central processing units (CPUs)) and / or one or more other processors. IBM Z is a trademark or registered trademark of International Business Machines Corporation in at least one jurisdiction.
[0018] The I / O subsystem 111 may be part of a central processor complex or may be separate from the central processor complex. The I / O subsystem 111 directs the flow of information between main memory 104 and the input / output control unit 108 and input / output (I / O) devices 106 coupled to the central processor complex.
[0019] Many types of I / O devices can be used. One particular type is a data storage device 140. The data storage device 140 can store one or more programs 142, one or more computer readable program instructions 144, or data, or a combination thereof, etc. The computer readable program instructions can be configured to perform the functions of an embodiment of an aspect of the present invention.
[0020] Central processing unit complex 102 may include and / or be coupled to removable / non-removable, volatile / non-volatile computer system storage media. For example, central processing unit complex 101 may include and / or be coupled to non-removable, non-volatile magnetic media (commonly referred to as "hard drives"), magnetic disk drives for reading from and writing to removable, non-volatile magnetic disks (e.g., "floppy disks"), and / or optical disk drives for reading from and writing to removable, non-volatile optical disks, such as CD-ROMs, DVD-ROMs, or other optical media. It should be understood that other hardware and / or software components may be used with central processing unit complex 102, including, but not limited to, microcode or millicode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archive storage systems.
[0021] Additionally, central processing unit complex 102 may operate in numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, or configurations, or combinations thereof, that may be suitable for use with central processing unit complex 102 include, but are not limited to, personal computer (PC) systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, microcomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of these systems or devices.
[0022] Central processing unit complex 102, in one or more embodiments, supports virtualization in which, for example, memory 104 includes one or more virtual machines 112 (also referred to as guests), a virtual machine manager such as hypervisor 114 that manages the virtual machines, secure platform 115 (also referred to as an ultravisor or trusted execution environment), and processor firmware 116. One example of hypervisor 114 is the z / VM® hypervisor offered by International Business Machines Corporation of Armonk, New York. A hypervisor may be referred to as a host. z / VM is a trademark or registered trademark of International Business Machines Corporation in at least one jurisdiction.
[0023] In one or more embodiments, the secure platform 115 may be implemented at least in part in hardware and / or firmware configured to execute processes as described herein, for example. The secure platform is trusted firmware and / or hardware that utilizes memory protection hardware to enforce memory protection. The owner of the guest can securely pass information to the secure platform or trusted execution environment (e.g., using IBM Secure Execution) by using a public host key embedded in a host key document. To process confidential information, the secure platform 115 or trusted execution environment uses a matching private host key. The private host key is specific to the server (e.g., an IBM Z® server) and is hardware protected.
[0024] Processor firmware 116 includes, for example, the microcode or millicode of the processor. Processor firmware 122 includes, for example, hardware level instructions and / or data structures used in implementing higher level machine code. In one embodiment, processor firmware 122 includes, for example, microcode or millicode that includes trusted software, proprietary code that is typically provided as microcode or millicode specific to the underlying hardware and that controls operating system access to the system's hardware.
[0025] The virtual machine support of the central processor complex provides the ability to operate multiple virtual machines 112 (or guests), each virtual machine 112 working with a different program 120 and capable of running a guest operating system 122, such as the Linux® operating system. Each virtual machine 112 can function as a separate system; that is, each virtual machine can be removed or reset independently, running a guest operating system, and working with different programs. An operating system or application program running within a virtual machine appears to have access to the entire complete system, but in fact only a portion of it is available. Although z / VM and Linux are provided as examples, other virtual machine managers and / or operating systems may be used in accordance with one or more aspects of the present invention. The registered trademark Linux® is used pursuant to a sublicense from the Linux Foundation, an exclusive licensee of Linus Torvalds, owner of the trademark on a worldwide basis.
[0026] In one embodiment, one or more virtual machines or guests 112 are secure guests. Referring to FIG. 2, the secure guest 200 is started by a hypervisor (e.g., hypervisor 114) in a manner that does not allow the hypervisor to observe the secure guest resources 201, including the state of the secure guest (e.g., memory, registers, etc.). For example, in one embodiment of confidential computing, the hypervisor can start / stop the secure guest, and the hypervisor identifies where the data used to start the secure guest is, but cannot see inside the running secure guest. The data used to load / start the secure guest can be encrypted in a manner that does not allow the hypervisor to see the secure guest. The owner of the secure guest image places the sensitive data in the secure guest metadata, and then generates the secure guest image along with the secure guest metadata. After the secure guest is loaded, all interactions with the state of the secure guest are handled by a trusted execution environment, such as the secure platform 115.
[0027] In one embodiment, to start a secure guest, the hypervisor passes the secure guest image 210 and the secure guest metadata 220 to the secure platform 115. This metadata is integrity protected, at least partially confidential, and interpreted only by the secure platform. The secure platform can then enforce the integrity of the secure guest image loaded into memory based on the information in the secure guest metadata, protect the secure guest memory containing the loaded image from being accessible by the hypervisor, and possibly decrypt the secure guest image before starting the secure guest.
[0028] After the secure guest is loaded, it may be desirable to provide the secure guest with user-specific sensitive data 230 (e.g., a key, password, etc., for performing encryption or establishing a secure connection). For example, in one embodiment, a confidential portion of the secure guest's metadata (e.g., secure guest metadata 220) may be extended to include sensitive data (e.g., sensitive data 230, e.g., user-specific sensitive data loadable to the secure guest). In one example, the secure guest's metadata may be extended to include the sensitive data along with one or more identifiers of the sensitive data. Other possibilities exist.
[0029] As stated, a secure guest (or secure virtual machine) is a type of virtual machine in which the hardware and firmware of the computing environment denies access to the state of the secure guest (i.e., the secure virtual machine) except for special memory regions that the secure guest actively designates as shared. Such a secure guest cannot be accessed by either the host system (or hypervisor) or by administrators of the computing environment (e.g., the operating system that hosts the virtual machine, which is usually possible). Access to the state of the secure guest means that an attacker on the host system can read sensitive information, such as encryption keys or other secrets or documents, from the virtual machine's memory, which is a security risk. Furthermore, the secure guest cannot be attacked by other virtual machines in the computing environment that somehow circumvent the host's security.
[0030] As noted, in a computing environment that includes a secure guest (i.e., a secure virtual machine), it may be assumed that other guests (whether normal guests or secure guests) in the computing environment should not be trusted in addition to the host or hypervisor. A secure platform (e.g., an ultravisor or trusted execution environment) may be used as described where the secure platform is trusted by the hypervisor in addition to the secure guest. Additionally, in implementations, the secure guest trusts itself.
[0031] Traditionally, when a secure guest is removed from a computing environment, all resources associated with the secure guest are coextensively cleaned or released, which may require an extended period of time depending on the amount of resources.
[0032] In accordance with one or more aspects, computer program products, computer systems, and computer-implemented methods are provided that facilitate processing within a computing environment by enabling faster and more efficient asynchronous reclaiming of resources within a system in which a secure guest (i.e., a secure virtual machine) is used. To improve the guest removal process by eliminating the need to process all secure guest resources coextensively, resources of the secure guest, such as guest memory, other memory, and / or other resources, remain protected after the secure guest is deleted or removed. For example, one or more secure guest resources (such as guest memory) may be reclaimed at a later time, asynchronously to the removal of the secure guest.
[0033] FIG. 3 illustrates one embodiment of secure guest resources 201 required for a secure guest (or secure virtual machine) in a computing environment as described herein. As shown, secure guest resources 201, in one or more embodiments, include associated guest memory 300, as well as other memory 301, and other resources 302 used to support the secure guest. Other memory 301 is typically a smaller amount of memory than guest memory 300, and may be a percentage of associated guest memory 300 in a particular computing environment implementation. By way of example, other memory 301 may be or include memory owned by the secure platform to maintain the state of the secure guest. Other resources 302 are typically a small amount of resources required to support the secure guest, and may include, for example, a secure token or unique machine token, cached secure state, translation lookaside buffer (TLB) entries, spare I / O devices, etc.
[0034] When a guest (or virtual machine) is removed or discarded from a computing environment, its associated resources, such as memory, need to be reclaimed by the host, for example, to be reused. In the case of a secure guest, there are various memory regions that may be associated with the secure guest other than the guest memory 300 itself. Those memory regions, such as other memory 301 or other resources 302, or both, also need to be erased (i.e., if the protection is based on access control) before being made available for normal use. Advantageously, in accordance with one or more aspects disclosed herein, one or more of the secure guest resources associated with the secure guest being removed are left to be reclaimed asynchronously with the removal of the secure guest. In this way, the removal of the secure guest is significantly faster than if all the secure guest resources were coextensively erased or wiped to confirm the removal of the secure guest. In this way, the remaining secure guest resources can be reclaimed at a later time, i.e., asynchronously with the removal of the secure guest.
[0035] FIG. 4 illustrates one embodiment of a workflow illustrating one or more aspects of the present invention. As will be appreciated by one of ordinary skill in the art, the illustrated workflow may be embodied, for example, by program code implemented in association with a host and a secure platform (or trusted execution environment). The program code begins (400) and the host (or hypervisor) obtains an indication of a secure guest to be removed (402). The host initiates (404) the removal of the secure guest and the asynchronous reclaiming of one or more of the secure guest resources. In one implementation, the host calls an application program interface of the secure platform to remove the secure guest. If the interface allows, the host can optionally specify which secure guest resources should be asynchronously reclaimed.
[0036] As shown in FIG. 4, the program code determines (406) that there are secure guest resources to be asynchronously reclaimed and checks whether one or more of the secure guest resources to be asynchronously reclaimed are currently to be reclaimed (408). For example, in one implementation, the host may reclaim secure guest resources that are deferred for reclaim after removal of the secure guest in a background process. If the resources are not currently to be reclaimed, they are reclaimed later (410). If not, the secure guest resources to be reclaimed are cleared (412) (e.g., set to a predefined value) and the process is complete (414). By comparison, in a conventional workflow, the host calls an interface on the secure guest to initiate the removal of the secure guest and the clearing of all secure guest resources coextensive with the removal of the secure guest, after which the host is free to reuse these resources. In the process described herein, the host requests (or calls an interface) to clear secure guest resources that are to be coextensively cleared and removes the secure guest. The coextensively erased secure guest resources can include all or some of the other resources 302 (FIG. 3), such as secure tokens and spare I / O devices. The host can then asynchronously reclaim the remaining secure guest resources, and these resources (e.g., memory) are immediately available when they are reclaimed.
[0037] In accordance with one or more aspects disclosed herein, the host initiates a call or request to a secure platform (e.g., a trusted execution environment or ultravisor) to discard or remove the secure guest or virtual machine without immediately releasing all of the secure guest resources (e.g., all of the secure guest memory). The remaining secure guest resources may then be reclaimed asynchronously with the removal of the secure guest. Note that not all secure guest memory needs to be reclaimed asynchronously. For example, in one implementation, all guest memory associated with a secure guest may be reclaimed asynchronously with the removal of the secure guest, while in another implementation, only a portion of the guest memory needs to be reclaimed asynchronously with the removal of the secure guest. Multiple variations and embodiments are possible.
[0038] In one or more implementations, a new resource state (e.g., memory state), referred to herein as a discarded state, may be used to facilitate reclamation of resources such as secure memory resources. Typically, as described, secure memory cannot be accessed by the host. Secure memory can belong to a secure guest or a secure platform. A discarded state (as described herein) may be implemented by updating the metadata of a region of secure memory that needs to be discarded to mark it as being in a discarded state, i.e., not belonging to the secure platform or to any secure guest, and free to be reclaimed. The discarded memory may then be reclaimed at any time, including asynchronously, or simultaneously, or both, since no additional checks need to be performed. Additionally, modifying the metadata associated with a secure memory region allows the memory to be freely reclaimed. For example, there is no need to check which secure guest the memory belongs to, and there is no need to modify the security properties of the secure memory region, which would require longer processing time to execute.
[0039] As an example, each secure memory page includes metadata, and one example of a memory page metadata data structure 500 is shown in FIG. 5. In one example, the memory page metadata is accessible by the secure platform 115 (FIGS. 1 and 2) and includes, for example, one or more entries 502, each entry 502 including, for example, a page identifier 504 and one or more indicators 506, such as a discard state indicator as described herein. The memory page metadata may be used by the host and the secure platform during reclamation of secure memory pages associated with a removed secure guest. As described, secure memory that is no longer needed may be placed in a discarded state. When a secure virtual machine or guest is removed, the memory page metadata is updated and then referenced to determine whether a particular memory page is in a discarded state. Additionally, the memory page metadata including the discard state indicator may be used in the case of memory hot plug or memory hot unplug. In this manner, discarded memory must be explicitly reclaimed before it remains secure and can be used. Therefore, operations such as secure guest removal or memory hot unplug, which put outstanding memory pages into a discarded state, can proceed faster.
[0040] By way of example, FIG. 6 illustrates one embodiment of a process for asynchronously reclaiming secure memory in a discarded state. As shown in FIG. 6, in addition to the secure memory in a discarded state 600, there is associated memory metadata 602, such as the memory page metadata discussed above, and one or more security flags 604 used in protecting the memory. The process includes program code that checks the memory page metadata to verify that the page is in a discarded state (610), and assuming that the page is in a discarded state, the memory page is erased (612) (if necessary), and then the one or more security flags are cleared (614). This process compares favorably to a conventional process for reclaiming a memory page, which may include, for example, checking whether a secure guest is in a state in which the memory can be reclaimed, which may itself be a slow process, may include, for example, an additional search step to find the guest or virtual machine associated with the memory, and may in some cases require additional locks and additional checks for synchronization. Advantageously, using a discard state metadata indicator as described herein allows discarded secure memory to be freed faster with less processing. There is less contention in that memory in a discarded state can be reclaimed in parallel without the need to check whether an owner, such as a secure guest, is in the correct state to allow the associated memory to be removed or erased. This process simply requires determining that a secure memory, such as a secure memory page, has a discard state indication associated with it, and if so, the memory page can be reclaimed, for example, by erasing the memory, resulting in the memory being immediately available for reuse.
[0041] In another embodiment, a fast memory import to another secure guest can be performed after the secure memory is in the discarded state. Fast memory import means that the secure instructions are not changed and therefore the process is faster by not needing a lock step and / or flush step to change the instructions. The actual memory contents of the secure memory in the discarded state are simply erased before this memory is given to another secure guest. In such an embodiment, a pool of discarded secure memory pages can be managed in the operating system, and the discarded secure memory pages become normal memory pages only when the operating system restarts (i.e., when the hypervisor of the secure guest restarts). When the secure guest needs memory, it can be provided from the pool of discarded secure memory pages without the need for processing to make the normal memory secure. This is therefore a different kind of reclaim from the reclaim described above, where the security instructions that protect against non-secure access to the secure memory pages are erased in addition to the contents of the memory pages in the deferred state.
[0042] Further details of one embodiment that facilitates processing within a computing environment as it relates to one or more aspects of the present invention are described with reference to Figures 7A-7B.
[0043] Referring to FIG. 7A, in one embodiment, a host system of a computing environment initiates removal of a secure guest from the computing environment while leaving one or more secure guest resources of the secure guest to be reclaimed asynchronously with the removal of the secure guest (700). The one or more secure guest resources are then reclaimed asynchronously with the removal of the secure guest, such that the one or more secure guest resources are reclaimed asynchronously with the removal of the secure guest (702). By postponing the reclaiming of one or more secure guest resources, a secure guest (especially a secure guest that includes large secure guest resources) may be removed from the computing environment more quickly. Also, the secure guest resources are reclaimed asynchronously with the removal of the secure guest, such that the memory load within the computing environment may be advantageously lowered.
[0044] In one embodiment, reclaiming one or more secure guest resources for the secure guest occurs asynchronously after removal of the secure guest (704).
[0045] In one embodiment, removing the secure guest includes reclaiming one or more other secure guest resources coextensive with the removal of the secure guest while leaving one or more secure guest resources of the secure guest asynchronously reclaimed (706).
[0046] In one embodiment, the one or more secure guest resources include guest memory associated with the secure guest (708).
[0047] In one example, the method further includes specifying (710) one or more secure guest resources of the secure guest to be reclaimed by the host asynchronously with removal of the secure guest.
[0048] 7B, in one embodiment, the reclaiming includes determining that one or more secure guest resources are in a discarded state and erasing the one or more guest resources for reuse based on the one or more secure guests being in a discarded state, where the erasure occurs after removal of the secure guests (712). In this manner, discarded memory may be freed up faster because there is no need to check whether memory owners in the computing environment are in the correct state to allow the memory to be removed or erased. Additionally, contention is reduced because memory may be reclaimed in parallel.
[0049] In one embodiment, the one or more secure guest resources include one or more secure memory pages, and determining includes checking page metadata to verify that a secure memory page of the one or more secure memory pages is in a discarded state (714). In one embodiment, reclaiming includes erasing the one or more secure memory pages and clearing one or more security flags associated with the one or more secure memory pages (716).
[0050] In one example, the initiating includes sending a request to a secure platform of the computing environment to remove the secure guest while leaving one or more secure guest resources of the secure guest to be reclaimed by the host asynchronously with the removal of the secure guest (718).
[0051] Other variations and embodiments are possible.
[0052] Aspects of the present invention may be used by many types of computing environments. Another embodiment of a computing environment for incorporating and using one or more aspects of the present invention is described with reference to FIG. 8A. In this example, the computing environment 36 includes a native central processing unit (CPU) 37, memory 38, and one or more input / output devices and / or interfaces 39, coupled together, for example, via one or more buses 40 or other connections or both. By way of example, the computing environment 36 may include a PowerPC® processor provided by International Business Machines Corporation (Armonk, NY), an HP Superdome with an Intel® Itanium® II processor provided by Hewlett-Packard Co. (Palo Alto, CA), or other machines based on architectures provided by International Business Machines Corporation, Hewlett-Packard Co., Intel Corporation, Oracle Corporation, or other companies, or combinations thereof. PowerPC is a trademark or registered trademark of International Business Machines Corporation in at least one jurisdiction. Intel and Itanium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
[0053] The native central processing unit 37 includes one or more native registers 41, such as one or more general purpose registers and / or one or more special purpose registers that are used during processing within the environment. These registers contain information that represents the state of the environment at any particular point in time.
[0054] Additionally, native central processing unit 37 executes instructions and code stored in memory 38. In one particular example, central processing unit executes emulator code 42 stored in memory 38. This code enables a computing environment configured with one architecture to emulate another architecture. For example, emulator code 42 enables machines based on an architecture other than the z / Architecture instruction set architecture (e.g., PowerPC processors, HP Superdome servers, etc.) to emulate the z / Architecture instruction set architecture and execute software and instructions developed based on the z / Architecture instruction set architecture.
[0055] Further details relating to emulator code 42 are described with reference to FIG. 8B. Guest instructions 43 stored in memory 38 include software instructions (e.g., correlated to machine instructions) developed to execute on an architecture other than that of native CPU 37. For example, guest instructions 43 may be designed to execute on a processor based on the z / Architecture instruction set architecture, but are instead emulated on native CPU 37, which may be, for example, an Intel Itanium II processor. In one example, emulator code 42 includes an instruction fetch routine 44 for retrieving one or more guest instructions 43 from memory 38 and optionally providing local buffering of the retrieved instructions. Emulator code 42 also includes an instruction conversion routine 45 for determining the type of the retrieved guest instruction and for converting the guest instruction into one or more corresponding native instructions 46. This conversion includes, for example, identifying a function performed by the guest instruction and selecting a native instruction to perform this function.
[0056] Additionally, emulator code 42 includes an emulation control routine 47 for causing execution of native instructions. Emulation control routine 47 may cause native CPU 37 to execute a routine of native instructions that emulate one or more already fetched guest instructions, and upon completion of such execution, return control to an instruction fetch routine for emulating the fetch of the next guest instruction or group of guest instructions. Execution of native instructions 46 may include reading data from memory 38 into a register, storing data from the register back to memory, or performing some type of arithmetic or logical operation as determined by a translation routine.
[0057] For example, each routine is implemented in software that is stored in memory and executed by the native central processing unit 37. In other examples, one or more of the routines or operations are implemented in firmware, hardware, software, or some combination thereof. Registers of the emulated processor may be emulated using registers 41 of the native CPU or by using locations in memory 38. In an embodiment, the guest instructions 43, native instructions 46, and emulator code 42 may reside in the same memory or may be distributed among different memory devices.
[0058] The instructions, commands, or calls that may be emulated include the trusted execution environment calls described herein in accordance with one or more aspects of the present invention. Additionally, other instructions, commands, functions, operations, calls, or one or more aspects of the present invention, or combinations thereof, may be emulated in accordance with one or more aspects of the present invention.
[0059] The aforementioned computing environments are only examples of computing environments that can be used. Other environments may be used, including, but not limited to, non-partitioned, partitioned, cloud, or emulated environments, or combinations thereof, and embodiments are not limited to any one environment. Although various examples of computing environments are described herein, one or more aspects of the present invention may be used with many types of environments. The computing environments provided herein are only examples.
[0060] Each computing environment can be configured to include one or more aspects of the present invention.
[0061] One or more aspects may relate to cloud computing.
[0062] Although this disclosure includes detailed descriptions of cloud computing, it should be understood that implementation of the recited content herein is not limited to a cloud computing environment. Embodiments of the invention may be implemented in conjunction with any other type of computing environment now known or later developed.
[0063] Cloud computing is a service delivery model for enabling convenient, on-demand network access to a shared pool of configurable computational resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) and for rapidly provisioning and releasing these resources with minimal administrative effort or interaction with a service provider. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
[0064] The features are as follows:
[0065] On-Demand Self-Service: Cloud customers can automatically provision server time and computing power, such as network storage, as needed, without the need for unilateral, human interaction with the service provider.
[0066] Broad network access: Capabilities are available over the network and can be accessed through standard mechanisms, facilitating use by heterogeneous thin-client or thick-client platforms (e.g., cell phones, laptops, and PDAs).
[0067] Resource Pool: The provider's computing resources are pooled and offered to multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically allocated and reallocated according to demand. There is a sense of location independence, where consumers typically have no control or knowledge regarding the exact location of the resources offered, although at higher levels of abstraction they may be able to specify a location (e.g., country, state, or data center).
[0068] Rapid Elasticity: Capacity is provisioned quickly and elastically, in some cases automatically, so it can be quickly scaled out and quickly released to quickly scale in. Capacity available for provisioning often appears to the consumer as unlimited, available for purchase in any quantity at any time.
[0069] Measured Services: Cloud systems leverage metering to automatically control and optimize resource usage at a level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both providers and consumers of the services used.
[0070] The service model is as follows:
[0071] Software as a Service (SaaS): The capability offered to the consumer is the use of the provider's applications running on a cloud infrastructure. Those applications can be accessed from a variety of client devices through thin-client interfaces such as web browsers (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure, including the network, servers, operating systems, storage, or individual application functionality, except for the possibility of limited user-specific application configuration settings.
[0072] Platform as a Service (PaaS): The capability provided to a consumer is to deploy applications that the consumer creates or acquires, written using programming languages and tools supported by the provider, onto a cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but does have control over the deployed applications and, in some cases, the configuration of the application hosting environment.
[0073] Infrastructure as a Service (IaaS): The capability provided to a consumer is the provisioning of processing, storage, network, and other basic computational resources over which the consumer can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but has control over the operating systems, storage, deployed applications, and in some cases, limited control over selected network components (e.g., host firewalls).
[0074] The deployment model is as follows:
[0075] Private Cloud: This cloud infrastructure is operated solely for the organization. It can be managed by the organization or a third party and can exist on-premise or off-premise.
[0076] Community Cloud: This cloud infrastructure is shared by multiple organizations to support a specific community with shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It can be managed by these organizations or a third party and can reside on-premise or off-premise.
[0077] Public Cloud: This cloud infrastructure is available for use by general users or large industry organizations and is owned by an organization that sells cloud services.
[0078] Hybrid cloud: This cloud infrastructure is a combination of two or more clouds (private, community, or public) that remain unique but are bound together by standardized or proprietary technologies that allow for the portability of data and applications (e.g., cloud bursting to balance the load between clouds).
[0079] A cloud computing environment is a service-oriented environment with an emphasis on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure that contains a network of interconnected nodes.
[0080] 9, an exemplary cloud computing environment 50 is shown. As shown, the cloud computing environment 50 includes one or more cloud computing nodes 52 with which local computing devices used by cloud consumers (e.g., a personal digital assistant (PDA) or mobile phone 54A, a desktop computer 54B, a laptop computer 54C, and / or an automobile computer system 54N) can communicate. The nodes 52 may communicate with each other. The nodes 52 may be physically or virtually grouped in one or more networks (not shown), such as in a private cloud, community cloud, public cloud, or hybrid cloud, or combinations thereof, as previously described herein. This enables the cloud computing environment 50 to provide infrastructure, platform, and / or software as a service without the cloud consumer having to maintain resources on a local computing device. The types of computing devices 54A-N illustrated in FIG. 7 are intended as examples only, and it will be understood that computing node 52 and cloud computing environment 50 may communicate with any type of computer-controlled device via any type of network and / or network-addressable connection (e.g., a connection using a web browser).
[0081] Referring now to Figure 10, there is shown a set of functional abstraction layers provided by cloud computing environment 50 (Figure 9). It should be understood in advance that the components, layers, and functions shown in Figure 10 are intended to be illustrative only and that embodiments of the present invention are not limited thereto. As shown, the following layers and corresponding functions are provided:
[0082] The hardware and software layer 60 includes hardware and software components. Examples of hardware components include mainframes 61, Reduced Instruction Set Computer (RISC) architecture based servers 62, servers 63, blade servers 64, storage devices 65, and networks and network components 66. In some embodiments, the software components include network application server software 67 and database software 68.
[0083] The virtualization layer 70 provides an abstraction layer that can provide virtual entities such as virtual servers 71 , virtual storage 72 , virtual networks including virtual private networks 73 , virtual applications and operating systems 74 , and virtual clients 75 .
[0084] In one example, the management layer 80 may provide the functions described below. Resource provisioning 81 provides dynamic procurement of computational and other resources utilized to execute tasks within the cloud computing environment. Metering and pricing 82 provides cost tracking as resources are utilized within the cloud computing environment and billing or invoicing for the utilization of those resources. In one example, those resources may include application software licenses. Security provides identity verification of cloud consumers and tasks, as well as protection of data and other resources. User portal 83 provides consumers and system administrators with access to the cloud computing environment. Service level management 84 provides allocation and management of cloud computational resources to meet required service levels. Service level agreement (SLA) planning and execution 85 provides advance provisioning and procurement of cloud computational resources in anticipation of upcoming demands and in accordance with SLAs.
[0085] The Workload Layer 90 illustrates examples of functionality available in a cloud computing environment. Examples of workloads and functionality that may be provided from this layer include mapping and navigation 91, software development and lifecycle management 92, delivery of virtual classroom instruction 93, data analytics processing 94, transaction processing 95, and providing deferred reclamation processing of secure guest resources 96.
[0086] Aspects of the invention may be systems, methods, and / or computer program products at any possible level of technical detail of integration. The computer program product may include one or more computer readable storage media containing computer readable program instructions for causing a processor to perform aspects of the invention.
[0087] A computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of computer-readable storage media includes portable floppy disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridges in grooves on which the instructions are recorded, and any suitable combinations of these. As used herein, computer-readable storage media should not be construed as being signals that are themselves ephemeral, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals transmitted over wires.
[0088] The computer readable program instructions described herein may be downloaded from a computer readable storage medium to each computing device / processing device or to an external computer or storage device over a network (e.g., the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof) that may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface within each computing device / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions for storage on a computer readable storage medium within each computing device / processing device.
[0089] The computer readable program instructions for carrying out the operations of the present invention may be source or object code written in any combination of one or more programming languages, including assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or object-oriented programming languages, such as Smalltalk®, C++, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partially on the user's computer as a standalone software package, partially on the user's computer and on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), may execute computer-readable program instructions to customize the electronic circuitry by utilizing state information of the computer-readable program instructions to carry out aspects of the invention.
[0090] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks included in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.
[0091] These computer readable program instructions may be provided to a processor of a computer or other programmable data processing apparatus to produce a machine, such that the instructions, executed by the processor of the computer or other programmable data processing apparatus, produce means for performing the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may be stored on a computer readable storage medium and capable of directing a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner, such that the computer readable storage medium on which the instructions are stored comprises an article of manufacture containing instructions for performing aspects of the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams.
[0092] Computer-readable program instructions may be loaded into a computer, other programmable data processing apparatus, or other device such that the instructions, which execute on the computer, other programmable apparatus, or other device, perform the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams, thereby causing a series of operable steps to be performed on the computer, other programmable apparatus, or other device to produce a computer-implemented process.
[0093] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of instructions, comprising one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions shown in the blocks may occur in a different order than the order shown in the figures. For example, two blocks shown in succession may in fact be realized as one step, executed simultaneously, executed substantially simultaneously in a partially or fully overlapping manner in time, or executed in reverse order, depending on the functionality involved. It is also noted that each block in the block diagrams and / or flowchart diagrams, as well as combinations of blocks included in the block diagrams and / or flowchart diagrams, may be implemented by a dedicated hardware-based system that executes the specified functions or operations or executes a combination of dedicated hardware and computer instructions.
[0094] In addition to the above, one or more aspects may be provided, offered, deployed, managed, serviced, etc. by a service provider that provides management of a customer's environment. For example, a service provider may create, maintain, support, etc., computer code and / or computer infrastructure that implements one or more aspects for one or more customers. In return, the service provider may receive payments from the customer, for example, pursuant to a subscription and / or fee agreement. Additionally or alternatively, the service provider may receive payments from the sale of advertising content to one or more third parties.
[0095] In one aspect, an application may be deployed to execute one or more embodiments. As one example, deploying an application includes providing a computer infrastructure operable to execute one or more embodiments.
[0096] As a further aspect, a computing infrastructure may be deployed that includes integrating computer readable code into a computing system, where the code in combination with the computing system is capable of executing one or more embodiments.
[0097] As a further aspect, a process may be provided for integrating a computing infrastructure, the process including integrating computer readable code into a computer system, the computer system comprising a computer readable medium, the computer medium including one or more embodiments, the code in combination with the computer system capable of executing one or more embodiments.
[0098] Although various embodiments have been described above, they are merely examples. For example, computing environments of other architectures may be used to incorporate and / or use one or more aspects. Furthermore, various instructions, commands, functions, calls, and / or operations may be used. Furthermore, various types of structures may be used. Many variations are possible.
[0099] In this specification, various embodiments are described. Furthermore, many variations are possible without departing from the spirit of the embodiments of the present invention. It should be noted that each embodiment or feature described in this specification and its variations can be combined with any other embodiment or feature, unless specifically contradictory.
[0100] Additionally, other types of computing environments may be beneficial and may be used. By way of example, a data processing system may be used that includes at least two processors coupled directly or indirectly via a system bus to memory elements suitable for storing and / or executing program code. These memory elements may include, for example, local memory used during the actual execution of the program code, bulk storage, and cache memory for temporarily storing at least some of the program code to reduce the number of times the code must be retrieved from the bulk storage during execution.
[0101] Input / output or I / O devices (including but not limited to keyboards, displays, pointing devices, DASD, tapes, CDs, DVDs, thumb drives, and other storage media) may be coupled to the system either directly or through intervening I / O controllers. Network adapters may be coupled to the system to enable the data processing system to be coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modems, and Ethernet cards are just a few of the types of network adapters available.
[0102] The terms used herein are for the purpose of describing particular embodiments only and are not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising", as used herein, indicate the presence of stated features, integers, steps, operations, elements, or components, or combinations thereof, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof, or combinations thereof.
[0103] The corresponding structures, materials, operations, and equivalents of all means or steps and functional elements within the scope of the claims below are intended to include any structures, materials, or operations for performing functions in combination with other claimed elements, if any, when specifically claimed. The description of one or more embodiments is presented for purposes of illustration and description, but is not intended to be exhaustive and is not limited to the disclosed forms. Many modifications and variations will be apparent to those skilled in the art. The embodiments have been selected and described to best explain the various aspects and practical applications, and to enable others skilled in the art to understand various embodiments with various modifications as suitable for the particular use contemplated.
Claims
1. 1. A computer program product for facilitating processing within a computing environment, said computer program product comprising: at least one computer readable storage medium having program instructions embodied therein, the program instructions being readable by a processing circuit, the processing circuitry being configured to: initiating the removal of the secure guest from the computing environment while leaving one or more secure guest resources of the secure guest to be reclaimed asynchronously with the removal of the secure guest by a host of the computing environment; and reclaiming the one or more secure guest resources asynchronously to the removal of the secure guest, wherein the one or more secure guest resources become reusable when the one or more secure guest resources are reclaimed asynchronously to the removal of the secure guest.
2. 2. The computer program product of claim 1, wherein reclaiming the one or more secure guest resources of the secure guest occurs asynchronously following removal of the secure guest.
3. 3. The computer program product of claim 1 or 2, wherein removal of the secure guest comprises reclaiming one or more other secure guest resources coextensive with removal of the secure guest while leaving the one or more secure guest resources of the secure guest asynchronously reclaimed.
4. 4. The computer program product of claim 1, wherein the one or more secure guest resources include a guest memory associated with the secure guest.
5. 5. The computer program product of claim 1, further comprising specifying, by the host, the one or more secure guest resources of the secure guest to be reclaimed asynchronously with removal of the secure guest.
6. 6. The computer program product of claim 1, wherein the reclaiming comprises determining that the one or more secure guest resources are in a discarded state and erasing the one or more secure guest resources for reuse based on the one or more secure guest resources being in the discarded state, the erasing occurring after removal of the secure guest.
7. 7. The computer program product of claim 6, wherein the one or more secure guest resources include one or more secure memory pages, and wherein the determining includes checking page metadata to verify that a secure memory page of the one or more secure memory pages is in the discarded state.
8. 8. The computer program product of claim 7, wherein the reclaiming comprises clearing the one or more secure memory pages and clearing one or more security flags associated with the one or more secure memory pages.
9. 9. A computer program product as claimed in any preceding claim, wherein the initiating comprises sending a request to a secure platform of the computing environment to remove the secure guest while leaving the one or more secure guest resources of the secure guest to be reclaimed by the host asynchronously with the removal of the secure guest.
10. 1. A computer system for facilitating processing within a computing environment, the computer system comprising: Memory, and at least one processor in communication with the memory, the computer system being configured to execute a method, the method comprising: initiating the removal of the secure guest from the computing environment while leaving one or more secure guest resources of the secure guest to be reclaimed asynchronously with the removal of the secure guest by a host of the computing environment; A computer system, wherein removing the secure guest includes asynchronously reclaiming the one or more secure guest resources, and the one or more secure guest resources become reusable when the one or more secure guest resources are reclaimed asynchronously from the removal of the secure guest.
11. 11. The computer system of claim 10, wherein reclaiming the one or more secure guest resources of the secure guest occurs asynchronously after removal of the secure guest.
12. 12. The computer system of claim 10 or 11, wherein removal of the secure guest includes reclaiming one or more other secure guest resources coextensive with removal of the secure guest while leaving the one or more secure guest resources of the secure guest asynchronously reclaimed.
13. 13. The computer system of claim 10, wherein the one or more secure guest resources include a guest memory associated with the secure guest.
14. 14. The computer system of claim 10, further comprising specifying, by the host, the one or more secure guest resources of the secure guest to be reclaimed asynchronously with removal of the secure guest.
15. 15. The computer system of claim 10, wherein the reclaiming includes determining that the one or more secure guest resources are in a discarded state and erasing the one or more secure guest resources for reuse based on the one or more secure guest resources being in the discarded state, the erasing occurring after removal of the secure guest.
16. 16. The computer system of claim 15, wherein the one or more secure guest resources include one or more secure memory pages, and wherein the determining includes checking page metadata to verify that a secure memory page of the one or more secure memory pages is in the discarded state.
17. 17. The computer system of claim 16, wherein said reclaiming comprises clearing the one or more secure memory pages and clearing one or more security flags associated with the one or more secure memory pages.
18. 1. A computer-implemented method for facilitating processing in a computing environment, the computer-implemented method comprising: initiating the removal of the secure guest from the computing environment while leaving one or more secure guest resources of the secure guest to be reclaimed asynchronously with the removal of the secure guest by a host of the computing environment; A computer-implemented method, wherein removing the secure guest includes asynchronously reclaiming the one or more secure guest resources, and wherein the one or more secure guest resources become reusable when the one or more secure guest resources are reclaimed asynchronously from the removal of the secure guest.
19. 20. The computer-implemented method of claim 18, wherein reclaiming the one or more secure guest resources of the secure guest occurs asynchronously following removal of the secure guest.
20. 20. The computer-implemented method of claim 18 or 19, wherein removing the secure guest comprises reclaiming one or more other secure guest resources coextensive with the removal of the secure guest while leaving the one or more secure guest resources of the secure guest asynchronously reclaimed.
Citation Information
Patent Citations
System, method and computer-readable medium for dynamic cache sharing in flash-based caching solution supporting virtual machines
JP2014175009A
Binding secure keys of secure guests to a hardware security module
US20200285746A1
Data Management Method and Apparatus, and Server
US20210216222A1
Cited By
Deferred reclaiming of secure guest resources
US12411719B2
