The command is used to create the encryption context for an incoming SEV guest. The encryption context can be later used by the hypervisor to import the incoming data into the SEV guest memory space.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -1755,6 +1755,15 @@ struct kvm_sev_send_update_data { · 1754 unmodified lines | ||
| 1755 | 1755 | __u32 trans_len; |
| 1756 | 1756 | }; |
| 1757 | 1757 | |
| 1758 | +struct kvm_sev_receive_start { | |
| 1759 | + __u32 handle; | |
| 1760 | + __u32 policy; | |
| 1761 | + __u64 pdh_uaddr; | |
| 1762 | + __u32 pdh_len; | |
| 1763 | + __u64 session_uaddr; | |
| 1764 | + __u32 session_len; | |
| 1765 | +}; | |
| 1766 | + | |
| 1758 | 1767 | #define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0) |
| 1759 | 1768 | #define KVM_DEV_ASSIGN_PCI_2_3 (1 << 1) |
| 1760 | 1769 | #define KVM_DEV_ASSIGN_MASK_INTX (1 << 2) |