The command is used for encrypting the guest memory region using the encryption context created with KVM_SEV_SEND_START.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -1744,6 +1744,15 @@ struct kvm_sev_send_start { · 1743 unmodified lines | ||
| 1744 | 1744 | __u32 session_len; |
| 1745 | 1745 | }; |
| 1746 | 1746 | |
| 1747 | +struct kvm_sev_send_update_data { | |
| 1748 | + __u64 hdr_uaddr; | |
| 1749 | + __u32 hdr_len; | |
| 1750 | + __u64 guest_uaddr; | |
| 1751 | + __u32 guest_len; | |
| 1752 | + __u64 trans_uaddr; | |
| 1753 | + __u32 trans_len; | |
| 1754 | +}; | |
| 1755 | + | |
| 1747 | 1756 | #define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0) |
| 1748 | 1757 | #define KVM_DEV_ASSIGN_PCI_2_3 (1 << 1) |
| 1749 | 1758 | #define KVM_DEV_ASSIGN_MASK_INTX (1 << 2) |