[libvirt] [PATCH v8 04/11] remote: implement the remote protocol for virNodeSEVInfo()
Erik Skultety
eskultet at redhat.com
Thu Jun 7 16:23:35 UTC 2018
On Wed, Jun 06, 2018 at 12:50:10PM -0500, Brijesh Singh wrote:
> Add remote support for virNodeSEVInfo().
virNodeGetSEVInfo()
>
> Signed-off-by: Brijesh Singh <<brijesh.singh at amd.com>>
> ---
> src/remote/remote_daemon_dispatch.c | 44 +++++++++++++++++++++++++++++++++++++
> src/remote/remote_driver.c | 40 +++++++++++++++++++++++++++++++++
> src/remote/remote_protocol.x | 22 ++++++++++++++++++-
> src/remote_protocol-structs | 13 +++++++++++
> 4 files changed, 118 insertions(+), 1 deletion(-)
>
With the following diff squashed in:
Reviewed-by: Erik Skultety <eskultet at redhat.com>
diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs
index afeefd32ad..dfc3624d1e 100644
--- a/src/remote_protocol-structs
+++ b/src/remote_protocol-structs
@@ -2907,18 +2907,17 @@ struct remote_connect_baseline_hypervisor_cpu_args {
struct remote_connect_baseline_hypervisor_cpu_ret {
remote_nonnull_string cpu;
};
-struct remote_node_get_sev_capability_args {
- int nparams;
- u_int flags;
+struct remote_node_get_sev_info_args {
+ int nparams;
+ u_int flags;
};
-struct remote_node_get_sev_capability_ret {
+struct remote_node_get_sev_info_ret {
struct {
u_int params_len;
remote_typed_param * params_val;
} params;
int nparams;
};
-
enum remote_procedure {
REMOTE_PROC_CONNECT_OPEN = 1,
REMOTE_PROC_CONNECT_CLOSE = 2,
@@ -3314,5 +3313,5 @@ enum remote_procedure {
REMOTE_PROC_DOMAIN_DETACH_DEVICE_ALIAS = 392,
REMOTE_PROC_CONNECT_COMPARE_HYPERVISOR_CPU = 393,
REMOTE_PROC_CONNECT_BASELINE_HYPERVISOR_CPU = 394,
- REMOTE_PROC_NODE_SEV_INFO = 395,
+ REMOTE_PROC_NODE_GET_SEV_INFO = 395,
};
More information about the libvir-list
mailing list