mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
include: define parameters for reporting SEV guest limits
There are limits on the number of SEV/SEV-ES guests that can be run on machines, which may be influenced by firmware settings. This is important to expose to users. Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
34cb8f6fcd
commit
0ac34b614b
@ -472,6 +472,22 @@ typedef virNodeMemoryStats *virNodeMemoryStatsPtr;
|
||||
*/
|
||||
# define VIR_NODE_SEV_REDUCED_PHYS_BITS "reduced-phys-bits"
|
||||
|
||||
/**
|
||||
* VIR_NODE_SEV_MAX_GUESTS:
|
||||
*
|
||||
* Macro represents the number of SEV guests that can
|
||||
* be run on the host, as a VIR_TYPED_PARAM_UINT.
|
||||
*/
|
||||
# define VIR_NODE_SEV_MAX_GUESTS "max-guests"
|
||||
|
||||
/**
|
||||
* VIR_NODE_SEV_MAX_ES_GUESTS:
|
||||
*
|
||||
* Macro represents the number of SEV-ES guests that can
|
||||
* be run on the host, as a VIR_TYPED_PARAM_UINT.
|
||||
*/
|
||||
# define VIR_NODE_SEV_MAX_ES_GUESTS "max-es-guests"
|
||||
|
||||
int virNodeGetSEVInfo (virConnectPtr conn,
|
||||
virTypedParameterPtr *params,
|
||||
int *nparams,
|
||||
|
Loading…
Reference in New Issue
Block a user