[libvirt] [PATCH v2 5/5] cgroup macros refactoring
Eric Blake
eblake at redhat.com
Mon Aug 12 20:07:12 UTC 2013
On 08/11/2013 06:04 AM, Roman Bogorodskiy wrote:
> Complete the refactoring by adding missing stubs so it compiles on
> platform without cgroup support.
> ---
> src/util/vircgroup.c | 311 ++++++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 306 insertions(+), 5 deletions(-)
ACK.
> @@ -3032,6 +3068,7 @@ int virCgroupNewEmulator(virCgroupPtr domain ATTRIBUTE_UNUSED,
> return -1;
> }
>
> +
> int virCgroupNewDetect(pid_t pid ATTRIBUTE_UNUSED,
Should be squashed earlier.
> +
> +bool virCgroupNewIgnoreError(void)
> +{
> + virReportSystemError(ENXIO, "%s",
> + _("Control groups not supported on this platform"));
> + return false;
Not sure if this one should be silent.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130812/aeb0e82f/attachment-0001.sig>
More information about the libvir-list
mailing list