[libvirt] [PATCH] vircgroup: Update virCgroupGetPercpuStats stump

Michal Privoznik mprivozn at redhat.com
Mon Feb 8 13:09:07 UTC 2016

In the commit 7938b533 we've changed the function signature,
however forgot to update stump that's used on systems without
CGroups causing a build failure.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>

Pushed under trivial and build breaker rules.

 src/util/vircgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
index f625cbc..6ce208e 100644
--- a/src/util/vircgroup.c
+++ b/src/util/vircgroup.c
@@ -4945,7 +4945,7 @@ virCgroupGetPercpuStats(virCgroupPtr group ATTRIBUTE_UNUSED,
                         unsigned int nparams ATTRIBUTE_UNUSED,
                         int start_cpu ATTRIBUTE_UNUSED,
                         unsigned int ncpus ATTRIBUTE_UNUSED,
-                        unsigned int nvcpupids ATTRIBUTE_UNUSED)
+                        virBitmapPtr guestvcpus ATTRIBUTE_UNUSED)
     virReportSystemError(ENOSYS, "%s",
                          _("Control groups not supported on this platform"));

More information about the libvir-list mailing list