diff options
author | 2012-08-15 19:10:39 -0300 | |
---|---|---|
committer | 2012-08-20 19:14:30 +0200 | |
commit | 2f8a09fbce34fb21b7d862357ec7d214587ad75f (patch) | |
tree | 9afb6005ffc808ccecc5de4e9d664d87d0774442 /src/remote_protocol-structs | |
parent | Support for multiple default security drivers in QEMU config (diff) | |
download | libvirt-2f8a09fbce34fb21b7d862357ec7d214587ad75f.tar.gz libvirt-2f8a09fbce34fb21b7d862357ec7d214587ad75f.tar.bz2 libvirt-2f8a09fbce34fb21b7d862357ec7d214587ad75f.zip |
Update the remote API
This patch updates libvirt's API to allow applications to inspect the
full list of security labels of a domain.
Signed-off-by: Marcelo Cerri <mhcerri@linux.vnet.ibm.com>
Diffstat (limited to 'src/remote_protocol-structs')
-rw-r--r-- | src/remote_protocol-structs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs index 8d09138ee..c180e6e40 100644 --- a/src/remote_protocol-structs +++ b/src/remote_protocol-structs @@ -749,6 +749,16 @@ struct remote_domain_get_security_label_ret { } label; int enforcing; }; +struct remote_domain_get_security_label_list_args { + remote_nonnull_domain dom; +}; +struct remote_domain_get_security_label_list_ret { + struct { + u_int labels_len; + remote_domain_get_security_label_ret * labels_val; + } labels; + int ret; +}; struct remote_node_get_security_model_ret { struct { u_int model_len; @@ -2259,4 +2269,5 @@ enum remote_procedure { REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_ALL_CHILDREN = 275, REMOTE_PROC_DOMAIN_EVENT_BALLOON_CHANGE = 276, REMOTE_PROC_DOMAIN_GET_HOSTNAME = 277, + REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL_LIST = 278, }; |