Reserve one or more security modules for secure guests

By retaining hardware security modules for secure guests, the problem of inappropriate allocation of cryptographic adapters in the computing environment is solved, ensuring exclusive access rights for secure guests, and improving the security and resource management efficiency of the computing environment.

CN115039100BActive Publication Date: 2024-10-22INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202080094599.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-01-29
Filing Date
2020-12-10
Publication Date
2024-10-22
Estimated Expiration
2040-12-10

AI Technical Summary

Technical Problem

In a computing environment, an issue occurs when a security guest's cryptographic adapter is reassigned when inappropriate, causing the guest's security and resource access to be compromised.

Method used

Guest confidentiality and integrity protection are achieved by reserving hardware security modules (HSMs), such as cryptographic adapters, for secure guests, ensuring their exclusive access and preventing reassignment by hypervisors when inappropriate.

Benefits of technology

It effectively prevents inappropriate allocation of cryptographic adapters, ensures exclusive access rights for secure guests, and improves the security and resource management efficiency of the computing environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115039100B_ABST
    Figure CN115039100B_ABST
Patent Text Reader

Abstract

A security module, such as a cryptographic adapter, is reserved for a secure guest of a computing environment. The reservation includes binding one or more queues of the security module to the secure guest. The one or more queues are then managed based on one or more actions associated with the reservation.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] One or more aspects relate generally to processing within computing environments, and more particularly to protecting data within such environments.

[0002] In a computing environment, cryptographic elements are useful technical components in protecting data. Information can be stored or transmitted in a cryptographically secure form in order to avoid unauthorized access to the stored or transmitted information. In some cases, software-based techniques can be used to perform such data protection; in other cases, hardware support and security-specific elements can be used. These specific elements can be referred to as hardware security modules (HSMs), which can be used as part of a computer or information transmission system of a computing environment.

[0003] The hardware security module may include specific circuits to provide functions for data encryption and data decryption. Functionality may also include generating and storing cryptographic keys for guest systems (also referred to as guests). Different guests (e.g., virtual machines, virtual servers, etc.) are controlled by a hypervisor or virtual machine manager. Different guests managed by a common hypervisor may be generated by different owners. Traditional hypervisors have full control over the guests they host. Specifically, the hypervisor has the ability to inspect and even modify the memory of the hosted guests. In a cloud environment, the hypervisor and its administrators will be fully trusted.

[0004] Some guests managed by a hypervisor are secure guests. A secure guest is a guest that may be hosted by one or more hypervisors that are not fully trusted. When loaded, the image of this guest will be protected, and protection of the contents of resources allocated to the guest (e.g., memory, central processing unit (CPU) registers, etc.) will be maintained throughout the life of the guest. Protection of the guest includes at least integrity protection (e.g., the hypervisor cannot maliciously change any guest state), and may further include maintaining the confidentiality of the original image, code, and data running in the guest. Examples of environments that support secure guests include AMD SEV (Advanced Micro Devices Secure Encrypted Virtualization) and POWER is a trademark or registered trademark of International Business Machines Corporation in at least one jurisdiction. Summary of the invention

[0005] The disadvantages of the prior art are overcome and additional advantages are provided by providing a computer program product for facilitating processing within a computing environment. The computer program product includes at least one computer-readable storage medium readable by at least one processing circuit and storing instructions for performing a method. The method includes reserving a security module for a security guest of the computing environment. The reservation provides a reservation and includes binding one or more queues for communicating with the security module to the security guest. The one or more queues are managed based on one or more actions associated with the reservation.

[0006] Computer-implemented methods and systems related to one or more aspects are also described and claimed herein. Further, services related to one or more aspects are also described and may be claimed herein.

[0007] Additional features and advantages are realized through the techniques described herein.Other embodiments and aspects are described in detail herein and are considered a part of the claimed aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] One or more aspects are particularly pointed out and distinctly claimed as examples in the claims at the end of the specification. The above-mentioned objects, features and advantages of one or more aspects will become apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:

[0009] Figure 1A An example of a computing environment in which one or more aspects of the present invention may be incorporated and used is depicted;

[0010] Figure 1B Describes one or more aspects of the present invention Figure 1A further details of the computing environment;

[0011] Figure 2 An example of retaining a security module (e.g., a cryptographic adapter) for a guest (e.g., a secure guest) according to an aspect of the present invention is depicted;

[0012] Figure 3 An example of a process for launching a guest using a password adapter according to one or more aspects of the present invention is depicted;

[0013] Figure 4 An example of a process for terminating a guest using a password adapter according to one or more aspects of the present invention is depicted;

[0014] Figure 5 An example of a process for sending a request to a cryptographic adapter according to one or more aspects of the present invention is depicted;

[0015] Figure 6An example of a process for obtaining a response from a cryptographic adapter according to one or more aspects of the present invention is depicted;

[0016] Fig. 7A Another example of a computing environment in which one or more aspects of the present invention may be incorporated and used is depicted;

[0017] Figure 7B Depicted Fig. 7A Further details of the memory;

[0018] Figure 8 An embodiment of a cloud computing environment is described; and

[0019] Fig. 9 Depicts an example of an abstract model layer. DETAILED DESCRIPTION

[0020] According to one or more aspects, a capability is provided for reserving one or more security modules for a guest (e.g., a secure guest). In one example, the security module is a hardware security module (HSM), which is, for example, a pluggable component or a component that is separately connected to a computer system. As a specific example, the hardware security module is a cryptographic card or a cryptographic adapter (also referred to as a cryptographic adapter); however, other examples exist. In one embodiment, if, for example, the cryptographic adapter is in a list of accessible cryptographic adapters included in metadata for launching a secure guest, and if the cryptographic adapter is not reserved by another secure guest, the cryptographic adapter (or other security module) is reserved for exclusive use by the secure guest.

[0021] refer to Figure 1A One embodiment of a computing environment incorporating and using one or more aspects of the present invention is described. In one example, the computing environment is based on the z / Architecture hardware architecture provided by International Business Machines Corporation of Armonk, New York. One embodiment of the z / Architecture hardware architecture is described in "z / Architecture Principles of Operation," IBM Publication No. SA22-7832-11, 12th Edition, September 2017, which is incorporated herein by reference in its entirety. IBM and z / Architecture are registered trademarks or trademarks of International Business Machines Corporation in at least one jurisdiction.

[0022] The computing environment may also be based on other architectures; the z / Architecture hardware architecture is only one example.

[0023] like Figure 1AAs shown, the computing environment 100 includes, for example, a computer system 102 shown in the form of a general-purpose computing device. The computer system 102 may include, but is not limited to, one or more processors or processing units 104 (e.g., central processing units (CPUs)) coupled to each other via one or more buses and / or other connections 120, a memory 106 (e.g., system memory, main memory, main storage, central storage, or storage device), and one or more input / output (I / O) interfaces 108.

[0024] Bus 120 represents any one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example and not limitation, such architectures include Industry Standard Architecture (ISA), Micro Channel Architecture (MCA), Enhanced ISA (EISA), Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI).

[0025] The memory 106 may include, for example, cache memories, such as a shared cache memory 122, which may be coupled to a local cache memory 123 of the processor 104. Further, the memory 106 may include one or more programs or applications 124, an operating system 126, and one or more computer-readable program instructions 128. The computer-readable program instructions 128 may be configured to perform the functions of embodiments of aspects of the present invention.

[0026] The computer system 102 may also communicate with one or more external devices 130, one or more network interfaces 132, and / or one or more data storage devices 134 via, for example, the I / O interface 108. Example external devices include a user terminal, a tape drive, a pointing device, a display, etc. The network interface 132 enables the computer system 102 to communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), and / or a public network (e.g., the Internet), providing communications with other computing devices or systems.

[0027] The data storage device 134 may store one or more programs 136, one or more computer-readable program instructions 138, and / or data, etc. The computer-readable program instructions may be configured to perform the functions of embodiments of aspects of the present invention.

[0028] The computer system 102 may include and / or be coupled to removable / non-removable, volatile / non-volatile computer system storage media. For example, it may include and / or be coupled to a non-removable, non-volatile magnetic media (commonly referred to as a "hard drive"), a disk drive for reading from or writing to a removable, non-volatile disk (e.g., a "floppy disk"), and / or an optical drive for reading from or writing to a removable, non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media). It should be understood that other hardware and / or software components may be used in conjunction with the computer system 102. Examples include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.

[0029] The computer system 102 may operate with numerous other general or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and / or configurations that may be suitable for the computer system 102 include, but are not limited to, personal computer (PC) systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments including any of the above systems or devices, etc.

[0030] refer to Figure 1B Further details of one embodiment of a computing environment (e.g., computing environment 100) that incorporates and / or uses one or more aspects of the present invention are described. In one example, computing environment 100 is a shared computing environment that includes a system (such as computer system 102) and a security module (such as hardware security module (HSM) 150). In the examples herein, the security module is a hardware security module, and in one specific example, is a cryptographic adapter 152; however, in other embodiments, other security modules may be used.

[0031] In one example, the computer system 102 includes a trusted component such as trusted firmware 160 and a hypervisor 170 that interacts with one or more guests (e.g., virtual machines (VMs)) including one or more secure guests 180. The firmware (e.g., trusted firmware 160) includes, for example, microcode for a processor. It includes, for example, hardware-level instructions and / or data structures used in the implementation of higher-level machine code. In one embodiment, it includes, for example, proprietary code typically delivered as microcode, which includes trusted software or microcode specific to the underlying hardware and controls the operating system's access to the system hardware.

[0032] A hypervisor (e.g., hypervisor 170) is sometimes referred to as a host. An example of a hypervisor 170 is the z / VM hypervisor provided by International Business Machines Corporation of Armonk, New York. z / VM is a registered trademark or trademark of International Business Machines Corporation in at least one jurisdiction. The hypervisor manages guests executing within a computer system.

[0033] A guest or guest system is, for example, an operating system executing in a virtual machine (VM) on a hypervisor. The hypervisor is used to assign one or more specific hardware security modules (e.g., hardware security module 150) to the guest system. The specific hardware security module (e.g., hardware security module 150) assigned to the guest may be configured with a cryptographic master key (also known as a master key or wrapping key) for wrapping the guest's key to provide a secure key for the guest.

[0034] One or more guests are considered secure guests (e.g., secure guest 180). A secure guest is a guest that protects its state and memory from access by a hypervisor. A secure guest is launched using metadata that is transmitted to a trusted component (e.g., trusted firmware 160), for example, in a confidentiality-protected and integrity-protected manner.

[0035] In one example, the trusted firmware 160 includes a plurality of control blocks, including, for example, a secure guest control block 162 and a security module control block, such as a hardware security module control block 164. The secure guest control block 162 includes configuration information for each secure guest related to one or more security modules reserved for each guest. In the examples herein, the security modules that may be reserved for the guests are cryptographic adapters, and therefore, in one example, the configuration is referred to as a cryptographic adapter configuration 166 for the secure guest. In one example, the secure guest control block 162 includes a configuration 166 for each secure guest of the system. For example, the configuration 166 for a particular secure guest includes a list of accessible cryptographic adapters included in the metadata for launching the secure guest.

[0036] In one example, the hardware security module control block 164 includes one or more queues 168 used by the system (e.g., computer system 102) to communicate with each cryptographic adapter accessible to the system, and reservation information 169 for each cryptographic adapter. As an example, the one or more queues 168 include at least one request queue 168a and at least one response queue 168b, at least one request queue 168a is used to include requests to be sent to the cryptographic adapter assigned to the queue, and at least one response queue 168b is used to receive responses from the cryptographic adapter. In one example, the same queue can be used for requests and / or responses for a specific cryptographic adapter. Other examples are also possible.

[0037] Reservation information 169 includes, for example, an indication of whether the cryptographic adapter is reserved, and if so, by which guest. In one example, when a cryptographic adapter (or other security module) is reserved for a guest (e.g., secure guest 180), the guest has exclusive access to the cryptographic adapter.

[0038] In systems that support virtualization, such as System z offered by International Business Machines Corporation (System z is a trademark or registered trademark of International Business Machines Corporation in at least one jurisdiction), a hypervisor can change the configuration of a guest at any time during the guest's presence. For example, a malicious or poorly programmed hypervisor may configure access to a cryptographic adapter so that it is not accessible first by a first guest and then by a second guest. Due to the asynchronous nature of most cryptographic requests to a cryptographic adapter, it may occur that, for a request issued by a first guest, the response is accessible by a second guest. However, for secure guests, it is assumed that although the hypervisors are untrusted, they operate securely; therefore, the system will prevent the second guest from accessing the cryptographic adapter assigned to the first secure guest while the first secure guest is running or reading the results of a cryptographic request issued by the first secure guest to the cryptographic adapter. In addition, the secure guest is able to detect when the master key of the cryptographic adapter is changed while the secure guest is able to access the cryptographic adapter.

[0039] One or more aspects of the present invention at least solve the above-mentioned problem of reallocating a cryptographic adapter at an inopportune time. According to one or more aspects of the present invention, one or more cryptographic adapters (and / or other security modules) are reserved for a guest, so that the guest has exclusive access to the cryptographic adapter. Figures 2 to 6 , describes details about preserving the password adapter for secure guests. Specifically, Figure 2 An example of logic for retaining a security module (e.g., a cryptographic adapter) for a security guest is depicted; Figure 3 Depicts an example of the logic for launching a guest with a password adapter; Figure 4 depicts an example of logic for terminating a guest using a password adapter; Figure 5 depicts an example of the logic for sending a request to a cryptographic adapter; and Figure 6 Depicts an example of the logic for getting a response from a cryptographic adapter.

[0040] Initial reference Figure 2In order to reserve a security module for a secure guest (e.g., secure guest 180), a trusted component (e.g., trusted firmware 160) obtains a request to reserve a security module (e.g., cryptographic adapter 152) for the secure guest (step 200). As an example, such a request may be obtained by a trusted component based on launching a secure guest, or may be submitted by a secure guest when a reservation of a security module is not successful (when a secure guest is launched) or when a reservation of a security module is lost due to a loss of the security module (e.g., temporary loss). Other examples are also possible.

[0041] Based on the obtain request, a determination is made as to whether the security module is included in the list of accessible security modules included in the metadata for starting the guest (query 202). In one embodiment, this is determined using the configuration 166 of the secure guest. If the security module is not in the list, the process is completed, and in one embodiment, an error code is returned. The security module is not reserved for the guest. However, if the security module is in the accessible security module list, a further determination is made as to whether the security module has been, for example, reserved by another guest (query 204). This is determined, for example, by checking the reservation information 169. If it has been reserved, for example, by another guest, the process is completed, and in one embodiment, an error code is returned. However, if the security module has not been reserved, the security module is reserved for the guest (step 206). Reservation includes, for example, binding one or more queues (e.g., request queue 168a / response queue 168b) to the guest (step 208). Binding includes, for example, indicating a reservation in a control block, such as indicated in the reservation information 169 of the HSM control block 164.

[0042] Based on reserving the security module for the guest, one or more queues bound to the guest are used and / or managed, and / or events and / or the reservation itself are managed based on actions related to the reservation (step 210). For example, the action may include an operation of submitting a request to a queue, and the management may include: confirming that the security module is reserved for the security guest; and granting the operation based on confirming that the security module is reserved for the security guest and that the request is issued by the security guest; and / or the action may include an operation of extracting a response from a queue, and the management may include confirming that the security module is reserved for the security guest and granting the operation based on confirming that the security module is reserved for the security guest and that the extracted operation is issued by the security guest. Further, the action may include losing access to the security module, and the management may include refreshing one or more queues. As a further example, the action may include termination of a security guest, and the management may include deleting one or more pending requests from one or more queues. In addition, as examples, a request is denied from a secure guest to a queue that is not reserved for a secure guest; a response to a secure guest that is not taken from a queue that is not reserved for a secure guest is denied passage; and / or an error code is returned to the secure guest if the secure guest attempts to access a queue that is not reserved for a secure guest. Many other actions, events, and / or management may be performed. Further, as indicated herein, although the examples relate to a cryptographic adapter, the logic is equally applicable to other security modules.

[0043] refer to Figure 3-6 Further details are described regarding reserving security modules for security guests.

[0044] Reference Figure 3 , describes an embodiment of launching a guest (e.g., secure guest 180) using a cryptographic adapter (e.g., cryptographic adapter 152). First, a hypervisor (e.g., hypervisor 170) requests to launch a secure guest (e.g., secure guest 180) to be configured with a cryptographic adapter (e.g., cryptographic adapter 152 or other security module) (step 300). A trusted component (e.g., trusted firmware 160) receives the request and checks whether the cryptographic adapter has been reserved, for example, by another guest (step 302). This includes, for example, checking reservation information 169. If the cryptographic adapter is reserved (query 304), the cryptographic adapter is not accessible to the secure guest, and therefore, the guest does not start with the cryptographic adapter (step 306). In this example, another request may be issued to launch a guest with another cryptographic adapter (or other security module), or a request may include multiple cryptographic adapters (and / or other security modules), and the process may be repeated until the guest is successfully launched with the cryptographic adapter or no other cryptographic adapters (or other security modules) are included in the request.

[0045] Returning to query 304, in one example, if the cryptographic adapter is not retained by, for example, another guest, the trusted firmware 160 resets the cryptographic adapter. Resetting the cryptographic adapter includes, for example, clearing the request and response queues (e.g., request and response queues 168) in the control block (e.g., HSM control block 164) of the cryptographic adapter maintained by the trusted firmware 160 (step 308). By clearing the request queue, pending requests (e.g., all pending requests) and their associated data to the adapter and pending responses (e.g., all pending responses) and their associated data from the adapter are deleted. In one example, after determining that there is data to be cleared, the clearing of the queue is performed. In another example, a clearing or clearing operation is performed, regardless of whether there is data to be cleared in the queue.

[0046] Further, the trusted firmware 160 reserves the cryptographic adapter for the secure guest (step 310). In one example, this includes entering an identifier of the secure guest in, for example, reservation information 169 of the HSM control block 164 maintained by the trusted firmware (step 310). In other embodiments, different and / or other types of indications in the same and / or different locations may be provided. The cryptographic adapter is now accessible to the secure guest (step 312).

[0047] On the other hand, as referenced Figure 4 As further described, the cryptographic adapter's reservation with the secure guest may be terminated. In one example, the secure guest configured to the cryptographic adapter is terminated (step 400). Accordingly, the trusted firmware 160 resets the cryptographic adapter (step 402), including, for example, clearing the request and response queues in a control block (e.g., request and response queue 168) maintained by the trusted firmware 160 (step 404).

[0048] In addition, in one embodiment, trusted firmware 160 deletes the reservation (eg, reservation information 169) in the trusted firmware control block maintained by the trusted firmware (step 406). In other embodiments, other and / or different indications in the same and / or different locations may also be deleted.

[0049] In another embodiment, termination of the appointment may occur even if the secure visitor is not terminated. Other variations are possible.

[0050] Reference Figure 5 One embodiment of sending a request from a guest to a cryptographic adapter is described. Initially, a guest (e.g., secure guest 180) sends a request to a cryptographic adapter (e.g., cryptographic adapter 152) (step 500). The request may be a request to encrypt or decrypt data, generate a key for a cryptographic operation, etc.

[0051] Based on issuing the request, the trusted component (e.g., trusted firmware 160) intercepts the request and checks whether the cryptographic adapter is reserved, and if so, checks whether the cryptographic adapter is reserved by another guest (step 502). In one example, the check is reservation information 169. If the cryptographic adapter is reserved by another guest (query 504), the operation fails (step 506). However, if the cryptographic adapter is not reserved by another guest, check whether the guest is not a secure guest or if the guest is a secure guest, check whether it is a cryptographic adapter reserved by the secure guest that issued the request (query 508). Again, in one example, in order to check whether the cryptographic adapter is reserved by a secure guest, check reservation information 169. Further, in one example, in order to check whether the guest is a secure guest, the firmware (e.g., trusted firmware 160) checks a control block maintained for the guest, which includes an indication of whether the guest is secure. If the guest is a secure guest and the cryptographic adapter is not reserved by the secure guest, the operation fails (step 510). Further, if the cryptographic adapter is not reserved by another guest (query 504), and the guest is not a secure guest or the guest is a secure guest and the cryptographic adapter is reserved by the secure guest (query 508), the trusted firmware pushes the request onto the cryptographic adapter's request queue (e.g., request queue 168a) and, in one example, returns a return code indicating a successful operation to the secure guest (step 512).

[0052] Reference Figure 6An embodiment of obtaining a response from a cryptographic adapter is described. Initially, a guest (e.g., a secure guest 180) issues an operation to obtain a response from a cryptographic adapter (step 600). Based on the release operation, the trusted firmware (e.g., the trusted firmware 160) intercepts the operation and checks whether the cryptographic adapter is reserved and, if reserved, whether the cryptographic adapter is reserved by another guest (step 602). In one example, the check is a check of reservation information 169. If the cryptographic adapter is reserved by another guest (inquiry 604), the operation fails (step 606). However, if the cryptographic adapter is not reserved by another guest, it is checked whether the guest is a secure guest or, if the guest is a secure guest, whether it is a cryptographic adapter reserved by the secure guest that issued the operation (inquiry 608). Again, in one example, the check of whether the cryptographic adapter is reserved by a secure guest is a check of reservation information 169. Further, in one example, in order to check whether the guest is a secure guest, the firmware (e.g., the trusted firmware 160) checks a control block maintained for the guest, which includes an indication of whether the guest is secure. If the guest is a secure guest and the cryptographic adapter is not reserved by the secure guest, the operation fails (step 610). Further, if the cryptographic adapter is not reserved by another guest (query 604), and the guest is not a secure guest or the guest is a secure guest and the cryptographic adapter is reserved by the secure guest (query 608), the trusted firmware pulls the response from the cryptographic adapter's response queue (e.g., response queue 168b) and returns it to the secure guest (step 612).

[0053] Described herein is the ability to reserve a security module (such as a hardware security module, and specifically, a cryptographic adapter) for a particular guest. In one embodiment, if the cryptographic adapter is in the list of accessible cryptographic adapters included in the metadata used to boot the secure guest and is not reserved by another secure guest, the cryptographic adapter is reserved for exclusive use by the secure guest. The metadata will be cryptographically linked to the boot image of the secure guest and transmitted to the trusted firmware via a secure channel.

[0054] When a secure guest is started by indicating a reservation in a control block in trusted firmware, the reservation is performed by the trusted firmware, which the system uses to communicate with the cryptographic adapter to queue requests to and responses from the cryptographic adapter (e.g., HSM control block 164). The reservation can be for a lifetime of the guest, and the reservation is protected from being affected by the hypervisor. The guest's I / O configuration (including the reservation) is protected from misconfiguration by the hypervisor (including non-cooperative hypervisors).

[0055] In one example, if the reservation of a cryptographic adapter fails when a secure guest boots up or when the reservation is cancelled because the adapter was unplugged (and replugged), the system can provide an option, for example, to all secure guests to request a reservation for the adapter from the trusted firmware. In this case, the trusted firmware checks whether the adapter is available, whether the secure guest can access the adapter based on the metadata of the secure guest, and whether there is a conflicting reservation for the adapter, and in the affirmative, reserves the adapter for the secure guest.

[0056] In one aspect, the trusted firmware maintains a control block (e.g., secure guest control block 162) that is not accessible by the hypervisor and represents the secure guest during the lifetime of the guest and includes data from the metadata of the secure guest. The trusted firmware maintains the reservation of the cryptographic adapter until the secure guest terminates. Thus, the hypervisor cannot interfere with the reservation maintained by the trusted firmware for the running guest. The trusted firmware rejects any request from the secure guest that is not directed to the cryptographic adapter reserved for the guest, and rejects any request from any guest to the cryptographic adapter reserved for another guest.

[0057] In one embodiment, if the system detects that a cryptographic adapter is unplugged, the system will cancel any reservations for the cryptographic adapter.

[0058] For each cryptographic adapter accessible to the system, the trusted firmware maintains a control block (e.g., control block 164) that, in one example, includes at least a request queue that includes an indication of whether a queue entry is still pending for submission to the cryptographic adapter or a response from the cryptographic adapter. Each such control block also maintains an indication of whether its cryptographic adapter is reserved, and if so, by which guest it is reserved.

[0059] The cryptographic adapter control block (and reservation instructions) are not directly accessible by a hypervisor or guest. In one example, they can only be accessed by firmware on behalf of a hypervisor or guest.

[0060] At system startup, in one embodiment, all cryptographic adapters are marked as unreserved.

[0061] In one or more aspects, the trusted firmware starts the secure guest, and then in one embodiment, it reserves the cryptographic adapters defined in both the guest configuration of the hypervisor and the cryptographic adapter list in the metadata of the secure guest. For all unreserved cryptographic adapters, the reservation is successful, and for all reserved cryptographic adapters, the reservation fails. The trusted firmware configures the secure guest so that the reserved cryptographic adapters can be accessed from the guest in the hypervisor pass-through mode, and attempts to access adapters not reserved for the secure guest fail. In one example, the hardware security module is configured as a secure guest in the hypervisor pass-through mode so that cryptographic operations issued by the guest are not intercepted by the hypervisor (e.g., hypervisor 170). Instead, they are intercepted by a trusted component (e.g., trusted firmware 160), bypassing the hypervisor. In one example of the z / Architecture hardware architecture, the configuration is performed by configuring, for example, an encryption control block of the start interpretive execution (SIE) instruction of the z / Architecture hardware architecture.

[0062] In one or more aspects, the firmware of the management cryptographic adapter control block checks the ID of the requesting guest in the case where a request should be pushed to the request queue of the reserved hardware security module, and refuses the operation if the ID does not match the ID of the guest who owns the reservation. The firmware of the management cryptographic adapter control block checks the ID of the guest who issued the request in the case where a response should be pulled from the request queue of the reserved cryptographic adapter, and refuses the operation if the ID does not match the ID of the guest who owns the reservation.

[0063] In one or more aspects, if the trusted firmware terminates the secure guest, it instructs the cryptographic adapters to stop any pending requests and clear the cryptographic adapters' request and response queues, for example, for all cryptographic adapters reserved for the secure guest.

[0064] In one or more aspects, if a reserved cryptographic adapter serving as a hardware security module (HSM) is lost and reappears, the trusted firmware ensures that the cryptographic adapter does not act on any pending requests, flushes its request and response queues, and either deconfigures the HSM from the secure guest or places it in a state where every request to the adapter by the secure guest results in an error.

[0065] In one or more aspects, the trusted firmware provides an interface, accessible only by the secure guest, that the secure guest can use to request to reestablish a lost reservation. The hypervisor satisfies the request to reestablish a reservation, for example, only for cryptographic adapters in both the hypervisor configuration of the secure guest and a list of cryptographic adapters in the metadata of the secure guest.

[0066] In one embodiment, to ensure that the HSM's master key is the one that belongs to the secure guest, the secure guest checks the master key verification mode before using the adapter for the first time or whenever reestablishing a reservation for a lost adapter.

[0067] Various aspects are described herein. Many variations and embodiments are possible without departing from the spirit of the various aspects of the present invention. It should be noted that, unless otherwise inconsistent, each aspect or feature described herein and its variants may be combined with any other aspect or feature.

[0068] One or more aspects of the present invention are closely tied to computer technology and facilitate processing within a computer, thereby improving its performance. Embodiments of the present invention are inextricably tied to computing, at least because they are intended to solve problems that are unique to computing and provide technical methods that are also within this field. Embodiments of the present invention reserve security modules, such as cryptographic adapters, for specific guests. Given that both the problem and the method are computing-specific, embodiments of the present invention are inextricably tied to computing.

[0069] Other types of computing environments may also incorporate and use one or more aspects of the present invention, including but not limited to simulation environments, examples of which are referenced in Fig. 7A In this example, the computing environment 35 includes, for example, a local central processing unit (CPU) 37, a memory 39, and one or more input / output devices and / or interfaces 41 coupled to each other via, for example, one or more buses 43 and / or other connections. As an example, the computing environment 35 may include a processor provided by International Business Machines Corporation (Armonk, New York). processors; and / or other machines based on architectures provided by International Business Machines Corporation, Intel Corporation, or others. PowerPC is a trademark or registered trademark of International Business Machines Corporation in at least one jurisdiction. Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the U.S. and other countries.

[0070] The local central processing unit 37 includes one or more local registers 45, such as one or more general purpose registers and / or one or more special purpose registers used during processing within the environment. These registers include information representative of the state of the environment at any particular point in time.

[0071] In addition, the native central processing unit 37 executes instructions and codes stored in the memory 39. In a specific example, the central processing unit executes emulator code 47 stored in the memory 39. The code enables a computing environment configured in one architecture to emulate another architecture. For example, the emulator code 47 allows a machine based on an architecture other than the z / Architecture hardware architecture (such as a PowerPC processor or other server or processor) to emulate the z / Architecture hardware architecture and execute software and instructions developed based on the z / Architecture hardware architecture.

[0072] Reference Figure 7B Further details related to the emulator code 47 are described. The guest instructions 49 stored in the memory 39 include software instructions (e.g., related to machine instructions) that are developed to be executed in an architecture different from the architecture of the native CPU 37. For example, the guest instructions 49 may have been designed to be executed on a z / Architecture processor, but are instead emulated on the native CPU 37 (which may be, for example, an Intel processor). In one example, the emulator code 47 includes an instruction extraction routine 51 to obtain one or more guest instructions 49 from the memory 39, and optionally provide local buffering of the obtained instructions. It also includes an instruction conversion routine 53 to determine the type of guest instructions that have been obtained and convert the guest instructions into one or more corresponding native instructions 55. The conversion includes, for example, identifying the function to be executed by the guest instruction and selecting the native instruction to execute the function.

[0073] Further, the emulator code 47 includes an emulation control routine 57 to cause native instructions to be executed. The emulation control routine 57 may cause the native CPU 37 to execute a native instruction routine that emulates one or more previously acquired guest instructions, and at the end of this execution, returns control to the instruction fetch routine to emulate the acquisition of the next guest instruction or a group of guest instructions. The execution of the native instructions 55 may include loading data from the memory 39 into a register; storing data from a register back to the memory; or performing some type of arithmetic or logical operation as determined by the translation routine.

[0074] 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. The registers of the simulated processor may be emulated using the registers 45 of the native CPU or by using locations in memory 39. In various embodiments, the guest instructions 49, native instructions 55, and emulator code 47 may reside in the same memory or may be distributed between different memory devices.

[0075] One or more aspects may relate to cloud computing.

[0076] It should be understood that although the present disclosure includes detailed descriptions about cloud computing, the implementation of the teachings cited herein is not limited to cloud computing environments. Instead, embodiments of the present invention can be implemented in conjunction with any other type of computing environment now known or later developed.

[0077] Cloud computing is a service delivery model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be quickly provisioned and released with minimal management effort or interaction with the provider of the service. The cloud model may include at least five characteristics, at least three service models, and at least four deployment models.

[0078] Features are as follows:

[0079] On-demand self-service: Cloud consumers can unilaterally and automatically provision computing capabilities, such as server time and network storage, as needed without requiring human interaction with the service provider.

[0080] Broad network access: Capabilities are available over the network and accessed through standard mechanisms that facilitate the use of heterogeneous thin-client platforms or thick-client platforms (e.g., mobile phones, laptops, and PDAs).

[0081] Resource pooling: A provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, where different physical and virtual resources are dynamically allocated and reallocated based on demand. There is a sense of location independence, as consumers typically do not have control or knowledge of the exact location of the resources provided, but may be able to specify the location at a higher level of abstraction (e.g., country, state, or data center).

[0082] Rapid elasticity: The ability to quickly and elastically provision capacity, in some cases automatically scaling down quickly and releasing quickly to scale up quickly. To the consumer, the capacity available for provisioning generally appears unlimited and can be purchased in any quantity at any time.

[0083] Measured services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at some 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 utilized services.

[0084] The service model is as follows:

[0085] Software as a Service (SaaS): The capability provided to the consumer is to use the provider's applications running on a cloud infrastructure. The applications can be accessed from different client devices through a thin client interface such as a web browser (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure including the network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.

[0086] Platform as a Service (PaaS): The capability provided to consumers is to deploy applications created or acquired by consumers using programming languages ​​and tools supported by the provider onto the cloud infrastructure. Consumers do not manage or control the underlying cloud infrastructure including networks, servers, operating systems or storage, but have control over the deployed applications and possible configuration of the application hosting environment.

[0087] Infrastructure as a Service (IaaS): The capabilities provided to consumers are the provision of processing, storage, networking, and other basic computing resources on which consumers can deploy and run arbitrary software, which may include operating systems and applications. Consumers do not manage or control the underlying cloud infrastructure, but have control over the operating system, storage, deployed applications, and possibly limited control over selected networking components (e.g., host firewalls).

[0088] The deployment model is as follows:

[0089] Private Cloud: Cloud infrastructure is operated only for the organization. It can be managed by the organization or a third party and can exist on-premises or off-premises.

[0090] Community Cloud: Cloud infrastructure is shared by several organizations and supports a specific community with shared concerns (e.g., mission, security requirements, policies, and compliance considerations). It can be managed by the organization or a third party and can exist on-premises or off-premises.

[0091] Public cloud: Cloud infrastructure is made available to the public or large industry groups and is owned by an organization that sells cloud services.

[0092] Hybrid cloud: A cloud infrastructure is a combination of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technologies that enable data and application portability (e.g., cloud bursting for load balancing between clouds).

[0093] Cloud computing environments are service-oriented and focus on statelessness, low coupling, modularity, and semantic interoperability. At the core of cloud computing is the infrastructure that includes a network of interconnected nodes.

[0094] See now Figure 8, describes an illustrative cloud computing environment 50. As shown, the cloud computing environment 50 includes one or more cloud computing nodes 52 with which a local computing device used by a cloud consumer can communicate, such as, for example, a personal digital assistant (PDA) or cellular phone 54A, a desktop computer 54B, a laptop computer 54C, and / or an automobile computer system 54N. The nodes 52 can communicate with each other. They can be physically or virtually grouped (not shown) in one or more networks, such as a private cloud, community cloud, public cloud, or hybrid cloud, or a combination thereof, as described above. This allows the cloud computing environment 50 to provide infrastructure, platform, and / or software as a service for which the cloud consumer does not need to maintain resources on a local computing device. It should be understood that Figure 8 The types of computing devices 54A-N shown in are intended to be illustrative only, and computing nodes 52 and cloud computing environment 50 may communicate with any type of computerized device over any type of network and / or network-addressable connection (eg, using a web browser).

[0095] See now Fig. 9 , showing the cloud computing environment 50 ( Figure 8 ) provides a set of functional abstraction layers. It should be understood in advance that Fig. 9 The components, layers and functions shown are merely illustrative, and embodiments of the present invention are not limited thereto. As described, the following layers and corresponding functions are provided:

[0096] The hardware and software layer 60 includes hardware and software components. Examples of hardware components include: mainframes 61; servers based on RISC (Reduced Instruction Set Computer) architecture 62; servers 63; blade servers 64; storage devices 65; and network and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.

[0097] Virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities can be provided: virtual servers 71 ; virtual storage 72 ; virtual networks 73 , including virtual private networks; virtual applications and operating systems 74 ; and virtual clients 75 .

[0098] In one example, the management layer 80 may provide the functionality described below. Resource provisioning 81 provides dynamic procurement of computing resources and other resources for performing tasks within a cloud computing environment. Metering and pricing 82 provides cost tracking when resources are utilized within a cloud computing environment, and bills or invoices for the consumption of these resources. In one example, these resources may include application software licenses. Security provides authentication for cloud consumers and tasks, as well as protection for data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides cloud computing resource allocation and management so that the required service levels are met. Service level agreement (SLA) planning and fulfillment 85 provides pre-scheduling and procurement of cloud computing resources in anticipation of future demand according to the SLA.

[0099] The workload layer 90 provides examples of functions that can utilize a cloud computing environment. Examples of workloads and functions that can be provided from this layer include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom education delivery 93; data analysis processing 94; transaction processing 95 and appointment processing 96.

[0100] The various aspects of the present invention may be systems, methods and / or computer program products of any possible degree of technical detail integration. The computer program product may include a computer-readable storage medium (or multiple media) having computer-readable program instructions thereon for causing a processor to perform various aspects of the present invention.

[0101] Computer readable storage medium can be a tangible device that can retain and store instructions for use by instruction execution devices. Computer readable storage medium can be, for example but not limited to, electronic storage device, magnetic storage device, optical storage device, electromagnetic storage device, semiconductor storage device, or any suitable combination of the above. A non-exhaustive list of more specific examples of computer readable storage medium includes the following: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device such as punch card or a protruding structure in a groove with instructions recorded thereon, and any suitable combination of the above. Computer readable storage medium as used herein should not be interpreted as a temporary signal itself, such as radio waves or other free propagating electromagnetic waves, electromagnetic waves propagated by waveguides or other transmission media (e.g., light pulses passing through fiber optic cables) or electrical signals emitted by wires.

[0102] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a corresponding computing / processing device via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network), or downloaded to an external computer or external storage device. The network can include copper transmission cables, optical transmission fibers, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in a computer-readable storage medium in the corresponding computing / processing device.

[0103] The computer-readable program instructions for performing the operation of the present invention can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, configuration data of integrated circuits, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​(such as Smalltalk, C++, etc.) and process programming languages ​​(such as "C" programming languages ​​or similar programming languages). The computer-readable program instructions can be executed completely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer, partially on a remote computer, or completely on a remote computer or server. In the latter case, the remote computer can be connected to the user's computer through any type of network (including a local area network (LAN) or a wide area network (WAN)), or can be connected to an external computer (for example, using an Internet service provider through the Internet). In certain embodiments, the electronic circuit including, for example, a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA) can perform computer-readable program instructions by utilizing the state information of the computer-readable program instructions to personalize the electronic circuit so as to perform various aspects of the present invention.

[0104] The present invention will be described below with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present invention. It should be understood that each box of the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer readable program instructions.

[0105] These computer-readable program instructions can be provided to a processor of a computer or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device create a device for implementing the functions / actions specified in one or more boxes of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, which instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable storage medium in which the instructions are stored includes a manufactured product containing instructions for implementing aspects of the functions / actions specified in one or more boxes of the flowchart and / or block diagram.

[0106] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable apparatus, or other device to produce computer-implemented processing, so that the instructions executed on the computer, other programmable apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0107] The flow chart and block diagram in the accompanying drawings show the architecture, function and operation of the possible implementation of the system, method and computer program product according to different embodiments of the present invention. To this end, each box in the flow chart or block diagram can represent a module, segment or part of an instruction, which includes one or more executable instructions for realizing the specified logical function. In some alternative embodiments, the function indicated in the box may not occur in the order indicated in the figure. For example, the two boxes shown in succession can actually be completed as a step, and are executed simultaneously, substantially simultaneously, in a partially or completely overlapping manner in time, or the boxes can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a dedicated hardware-based system that performs a specified function or action or performs a combination of dedicated hardware and computer instructions.

[0108] In addition to the above, one or more aspects may be provided, supplied, deployed, managed, serviced, etc. by a service provider that provides management of the guest environment. For example, the service provider may create, maintain, support, etc. computer code and / or computer infrastructure that performs one or more aspects for one or more guests. In return, the service provider may receive payment from the guest under a subscription and / or fee agreement, as an example. Additionally or alternatively, the service provider may receive payment from the sale of advertising content to one or more third parties.

[0109] In one aspect, an application for executing one or more embodiments may be deployed. As an example, deployment of an application includes providing a computer infrastructure operable to execute one or more embodiments.

[0110] As yet another aspect, a computing infrastructure may be deployed including integrating the computer readable code into a computing system, wherein the code in combination with the computing system is capable of performing one or more embodiments.

[0111] As yet another aspect, a process for integrating a computing infrastructure may be provided, the process comprising integrating a computer readable code into a computer system. The computer system comprises a computer readable medium, wherein the computer medium comprises one or more embodiments. The code in combination with the computer system is capable of executing one or more embodiments.

[0112] Although various embodiments are described above, these embodiments are only examples. For example, computing environments of other architectures can be used to incorporate and use one or more embodiments. Further, other trusted components and / or security modules can be used. In addition, other control blocks and / or reservation instructions can be used.

[0113] Further, other types of computing environments may be beneficial and used. As an example, a data processing system suitable for storing and / or executing program code is available, which includes at least two processors directly or indirectly coupled to a memory element by a system bus. The memory element includes, for example, a local memory, a bulk storage, and a cache memory used during the actual execution of the program code, which provides temporary storage of at least some program codes in order to reduce the number of times that code must be retrieved from the bulk storage during execution.

[0114] 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, etc.) may be coupled to the system either directly or through intervening I / O controllers. Network adapters may also 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 some of the available types of network adapters.

[0115] The terms used herein are only used for the purpose of describing specific embodiments and are not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that when the terms "include" and / or "comprise" are used in this specification, they specify the presence of the features, wholes, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, parts and / or combinations thereof.

[0116] All means or steps in the following claims plus corresponding structures, materials, acts, and equivalents of functional elements, if any, are intended to include any structure, material, or act for performing the described function in combination with other claimed elements as specifically claimed. The description of one or more embodiments has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to best explain the various aspects and practical applications, and to enable others of ordinary skill in the art to understand different embodiments with different modifications suitable for the intended specific use.

Claims

1. A computer program product for facilitating processing within a computing environment, the computer program product comprising: At least one computer-readable storage medium readable by at least one processing circuit and storing instructions for performing a method comprising: reserving a security module for a secure guest of the computing environment, the security module being indicated in metadata used to boot the secure guest, the metadata being cryptographically linked to a boot image of the secure guest, the reservation providing a reservation, and wherein the reservation comprises binding one or more queues for communicating with the security module to the secure guest; and The one or more queues are managed based on one or more actions associated with the reservation.

2. The computer program product according to claim 1, wherein: The one or more actions include terminating the secure guest, and wherein the managing includes deleting one or more pending requests from the one or more queues.

3. The computer program product according to claim 1, wherein: The one or more queues include at least one request queue, the one or more actions include an operation of submitting a request to a request queue in the at least one request queue, and wherein the management includes confirming that the security module is reserved for the secure guest, and allowing the operation based on confirming that the security module is reserved for the secure guest and that the request is issued by the secure guest.

4. The computer program product of claim 1, wherein: The one or more queues include at least one response queue, the one or more actions include an operation of taking a response from a response queue of the at least one response queue, and wherein the management includes confirming that the security module is reserved for the secure guest, and allowing the operation based on confirming that the security module is reserved for the secure guest and that the taking-out operation is issued by the secure guest.

5. The computer program product of claim 1, wherein: The one or more actions include losing access to the security module, and wherein the managing includes flushing the one or more queues.

6. The computer program product according to claim 5, wherein: The method further includes deleting pending requests to the security module based on losing access to the security module.

7. The computer program product according to claim 5, wherein: The method further includes deleting the subscription based on losing access to the security module.

8. The computer program product of claim 1, wherein: The method further includes refusing to send a request from the secure guest to a queue not reserved for the secure guest.

9. The computer program product of claim 1, wherein: The method further includes refusing to deliver a response to the secure guest, the response being taken from a queue not reserved for the secure guest.

10. The computer program product of claim 1, wherein: The method further includes returning an error code to the visitor based on the visitor attempting to access a queue that is not reserved for the visitor.

11. The computer program product of claim 1, wherein: The method further includes determining whether the security module is in a list of accessible security modules included in the metadata for launching the secure guest, and wherein based on determining that the security module is in the list of accessible security modules included in the metadata, the process of retaining the security module is continued.

12. The computer program product according to claim 11, wherein: The metadata is transmitted via a secure channel to a trusted component, which performs the retaining.

13. The computer program product of claim 1, wherein: The binding comprises including an indication of the reservation in a control block of a trusted component for performing the reservation.

14. A computer system for facilitating processing within a computing environment, the computer system comprising: Memory; as well as a processor in communication with the memory, wherein the computer system is configured to perform a method comprising: reserving a security module for a secure guest of the computing environment, the security module being indicated in metadata used to boot the secure guest, the metadata being cryptographically linked to a boot image of the secure guest, the reservation providing a reservation, and wherein the reservation comprises binding one or more queues for communicating with the security module to the secure guest; as well as The one or more queues are managed based on one or more actions associated with the reservation.

15. The computer system of claim 14, wherein: The one or more actions include terminating the secure guest, and wherein the managing includes deleting one or more pending requests from the one or more queues.

16. The computer system of claim 14, wherein: The method further includes determining whether the security module is in a list of accessible security modules included in the metadata for launching the secure guest, and wherein based on determining that the security module is in the list of accessible security modules included in the metadata, the process of retaining the security module is continued.

17. The computer system of claim 14, wherein: The method further includes returning an error code to the visitor based on the visitor attempting to access a queue that is not reserved for the visitor.

18. A computer-implemented method of facilitating processing within a computing environment, the computer-implemented method comprising: reserving a security module for a secure guest of the computing environment, the security module being indicated in metadata used to boot the secure guest, the metadata being cryptographically linked to a boot image of the secure guest, the reservation providing a reservation, and wherein the reservation comprises binding one or more queues for communicating with the security module to the secure guest; as well as The one or more queues are managed based on one or more actions associated with the reservation.

19. The computer-implemented method of claim 18, wherein: The one or more actions include terminating the secure guest, and wherein the managing includes deleting one or more pending requests from the one or more queues.

20. The computer-implemented method of claim 18, further comprising determining whether the security module is in a list of accessible security modules included in the metadata for launching the secure guest, and wherein based on determining that the security module is in the list of accessible security modules included in the metadata, continuing the process of retaining the security module.

Citation Information

Patent Citations

  • Method for assigning one of plurality of hardware security modules to guest system and assigning system

    CN105893853A

  • Modular electronic devices with contextual task management and performance

    CN108770369A

  • Guest management system

    US10521988B1

  • Content based hardware security module assignment to virtual machines

    US20160239667A1

  • Central interface gateway and method of interfacing a property management system with a guest service device via the internet

    US20160373558A1