[libvirt] [PATCH v3 15/15] vircgroupmock: mock virCgroupV2DevicesAvailable

Ján Tomko jtomko at redhat.com
Tue Jun 18 15:12:07 UTC 2019


On Thu, Apr 25, 2019 at 09:44:32AM +0200, Pavel Hrdina wrote:
>We need to mock virCgroupV2DevicesAvailable() in order to remove any
>dependency on kernel as BPF devices might not be available.
>
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
>---
> src/util/vircgroupv2devices.h     | 5 ++++-
> tests/vircgroupdata/hybrid.parsed | 2 +-
> tests/vircgroupmock.c             | 7 +++++++
> tests/vircgrouptest.c             | 4 ++--
> 4 files changed, 14 insertions(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190618/ee67e83d/attachment-0001.sig>


More information about the libvir-list mailing list