Commit 67fa46a
NVIDIA: SAUCE: virtinst: add shared-mec support for CCA guests
Add support for the shared-mec attribute in CCA launch security
configuration. This allows users to control whether CCA Realms use
shared or private Memory Encryption Contexts (MECs).
Usage:
--launchSecurity type=cca,sharedMec=on # Use shared MEC
--launchSecurity type=cca,sharedMec=off # Use private MEC
--launchSecurity type=cca # QEMU default (shared)
The sharedMec attribute maps to the libvirt XML shared-mec attribute
and the QEMU rme-guest shared-mec property.
Signed-off-by: Ian May <ianm@nvidia.com>1 parent 1e0fd8c commit 67fa46a
4 files changed
Lines changed: 64 additions & 0 deletions
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1908 | 1908 | | |
1909 | 1909 | | |
1910 | 1910 | | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
1911 | 1916 | | |
1912 | 1917 | | |
1913 | 1918 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5333 | 5333 | | |
5334 | 5334 | | |
5335 | 5335 | | |
| 5336 | + | |
5336 | 5337 | | |
5337 | 5338 | | |
5338 | 5339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments