#
e4a5219f |
| 07-Nov-2024 |
Muminul Islam <muislam@microsoft.com> |
hypervisor: mshv: modify GuestRequest handling for CVM
VMM needs to handle VMG exit for guest request. This patch removes the old method that uses gpa_read/write(IOCTL and hypercall), which is expen
hypervisor: mshv: modify GuestRequest handling for CVM
VMM needs to handle VMG exit for guest request. This patch removes the old method that uses gpa_read/write(IOCTL and hypercall), which is expensive and update the GHCB page using mapped(root partition) struct.
Signed-off-by: Muminul Islam <muislam@microsoft.com>
show more ...
|
#
78895dcc |
| 25-Oct-2024 |
Muminul Islam <muislam@microsoft.com> |
hypervisor: mshv: clear exitinfo1 using mapped ghcb address
After handling the VMG exit vmm needs to clear the exitinfo1 into the GHCB page. This patch replaces the old method(gpa_write) and clear t
hypervisor: mshv: clear exitinfo1 using mapped ghcb address
After handling the VMG exit vmm needs to clear the exitinfo1 into the GHCB page. This patch replaces the old method(gpa_write) and clear the exitinfo1 using mapped GHCB struct.
Signed-off-by: Muminul Islam <muislam@microsoft.com>
show more ...
|
#
8fd0310d |
| 26-Aug-2024 |
Tom Dohrmann <erbse.13@gmx.de> |
hypervisor: mshv: implement extended guest requests with empty certs
Previously we didn't handle extended guest requests at all and always returned an error. This lead to issues with some guests tha
hypervisor: mshv: implement extended guest requests with empty certs
Previously we didn't handle extended guest requests at all and always returned an error. This lead to issues with some guests that expected extended requests to succeed. Instead, handle extended requests like normal requests and write zeros to the extended area to signal to the guest that we don't want to supply any additional certificate data.
Signed-off-by: Tom Dohrmann <erbse.13@gmx.de>
show more ...
|
#
7975207e |
| 19-Oct-2023 |
Jinank Jain <jinankjain@microsoft.com> |
hypervisor: Add support for legacy I/O port emulation
Legacy port emulation requires reading RAX register from GHCB page for SEV-SNP guest. This is the major difference between a regular guest and S
hypervisor: Add support for legacy I/O port emulation
Legacy port emulation requires reading RAX register from GHCB page for SEV-SNP guest. This is the major difference between a regular guest and SEV-SNP enabled guest.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com> Signed-off-by: Muminul Islam <muislam@microsoft.com>
show more ...
|
#
cb5ea059 |
| 19-Oct-2023 |
Jinank Jain <jinankjain@microsoft.com> |
hypervisor: Add support for handling #HV Doorbell Page
As part of this handling there are 4 different operations:
1. Getting the hypervisor preffered doorbell page GPA. 2. Informing hypervisor abou
hypervisor: Add support for handling #HV Doorbell Page
As part of this handling there are 4 different operations:
1. Getting the hypervisor preffered doorbell page GPA. 2. Informing hypervisor about the doorbell page chosen by the guest 3. Querying the GPA of the doorbell page 4. Clearing the GPA of the doorbell page from hypervisor
Signed-off-by: Jinank Jain <jinankjain@microsoft.com> Signed-off-by: Muminul Islam <muislam@microsoft.com>
show more ...
|
#
5bd113e6 |
| 13-Oct-2023 |
Muminul Islam <muislam@microsoft.com> |
hypervisor: Add API to complete isolated import
This is the function that needs to be called by the VMM to inform the MSHV that isolation is complete and inform PSP about this completion.
Signed-of
hypervisor: Add API to complete isolated import
This is the function that needs to be called by the VMM to inform the MSHV that isolation is complete and inform PSP about this completion.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com> Signed-off-by: Muminul Islam <muislam@microsoft.com>
show more ...
|