diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2016-03-30 17:40:50 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2016-03-31 07:24:36 +0200 |
commit | 3b6c8185328f6552fc3aa831e71fdb47dc105beb (patch) | |
tree | 15cafb54d2b66664eb1f3b142180921b050924db /daemon/remote.c | |
parent | 46a5d1938e2dbc9dbea0396b3e530289656606a4 (diff) | |
download | libvirt-3b6c8185328f6552fc3aa831e71fdb47dc105beb.tar.gz |
virDomain{Get,Set}PerfEvents: Add @flags argument
I've noticed that these APIs are missing @flags argument. Even
though we don't have a use for them, it's our policy that every
new API must have @flags.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'daemon/remote.c')
-rw-r--r-- | daemon/remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/remote.c b/daemon/remote.c index bbe22b0c8e..9db93ffefb 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -2694,7 +2694,7 @@ remoteDispatchDomainGetPerfEvents(virNetServerPtr server ATTRIBUTE_UNUSED, if (!(dom = get_nonnull_domain(priv->conn, args->dom))) goto cleanup; - if (virDomainGetPerfEvents(dom, ¶ms, &nparams) < 0) + if (virDomainGetPerfEvents(dom, ¶ms, &nparams, args->flags) < 0) goto cleanup; if (nparams > REMOTE_DOMAIN_MEMORY_PARAMETERS_MAX) { |