Paravirtulized capability for device assignment
AssigneeRed Hat Israel, Ltd.
InventorsMichael Tsirkin, Alex Williamson
Life of this patent
Estimating the term…
Abstract
A hypervisor of a host detects a request by a guest or a hypervisor administrator to expose a device associated with the host to the guest. The hypervisor locates free space in a configuration space of the device. The hypervisor assigns a configuration space associated with the hypervisor to the located free space. The hypervisor notifies the guest of the configuration space associated with the hypervisor and a range of addresses associated with the free space. The hypervisor exposes the device to the guest. The configuration space associated with the hypervisor may be a message-signaled capability associated with the hypervisor.
Claims20
A method, comprising:
- detecting, by a hypervisor of a host, a request to expose a device of the host to the guest;
- locating, by the hypervisor, free space in a configuration space of the device;
- assigning, by the hypervisor, a configuration space associated with the hypervisor to the located free space;
- and
- notifying the guest, by the hypervisor, of the configuration space associated with the hypervisor and a range of addresses associated with the free space.
A computer system comprising:
- a memory;
- a host CPU, coupled to the memory;
- and
- a hypervisor hosted by the computer system, having access to the memory and use of the host CPU, the hypervisor to:
- detect a request by a guest to expose a device associated with the host to the guest;
- locate free space in a configuration space of the device;
- assign a configuration space associated with the hypervisor to the located free space;
- and
- notify the guest of the configuration space associated with the hypervisor and a range of addresses associated with the free space.
A non-transitory computer-readable storage medium including instructions that, when accessed by a processing system, cause the processing system to perform operations comprising:
- detecting, by a hypervisor of a host, a request by a guest to expose a device associated with the host to the guest;
- locating, by the hypervisor, free space in a configuration space of the device;
- assigning, by the hypervisor, a configuration space associated with the hypervisor to the located free space;
- and
- notifying the guest, by the hypervisor, of the configuration space associated with the hypervisor and a range of addresses associated with the free space.
Dependencies are inferred from the claim text.