Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_cgroup.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c
index 9cf2d6474a..aac7c70054 100644
--- a/src/qemu/qemu_cgroup.c
+++ b/src/qemu/qemu_cgroup.c
@@ -206,7 +206,9 @@ qemuSetupImageCgroupInternal(virDomainObj *vm,
if (qemuSetupImagePathCgroup(vm, QEMU_DEV_VFIO, false) < 0)
return -1;
} else {
- if (!src->path || !virStorageSourceIsLocalStorage(src)) {
+ if (!src->path ||
+ !virStorageSourceIsLocalStorage(src) ||
+ virStorageSourceIsFD(src)) {
VIR_DEBUG("Not updating cgroups for disk path '%s', type:
%s",
NULLSTR(src->path), virStorageTypeToString(src->type));
return 0;
--
2.38.1