aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Cerri <mhcerri@linux.vnet.ibm.com>2012-08-15 19:10:39 -0300
committerMichal Privoznik <mprivozn@redhat.com>2012-08-20 19:14:30 +0200
commit2f8a09fbce34fb21b7d862357ec7d214587ad75f (patch)
tree9afb6005ffc808ccecc5de4e9d664d87d0774442 /src/remote_protocol-structs
parentSupport for multiple default security drivers in QEMU config (diff)
downloadlibvirt-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-structs11
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,
};