mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-02 15:18:44 +00:00
add PVE::QemuServer::Cgroup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
ff0721517d
commit
114d2e765a
14
PVE/QemuServer/CGroup.pm
Normal file
14
PVE/QemuServer/CGroup.pm
Normal file
@ -0,0 +1,14 @@
|
||||
package PVE::QemuServer::CGroup;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use PVE::CGroup;
|
||||
use base('PVE::CGroup');
|
||||
|
||||
sub get_subdir {
|
||||
my ($self, $controller, $limiting) = @_;
|
||||
my $vmid = $self->{vmid};
|
||||
return "qemu.slice/$vmid.scope/";
|
||||
}
|
||||
|
||||
1;
|
@ -9,6 +9,7 @@ SOURCES=PCI.pm \
|
||||
Monitor.pm \
|
||||
Machine.pm \
|
||||
CPUConfig.pm \
|
||||
CGroup.pm \
|
||||
Drive.pm \
|
||||
|
||||
.PHONY: install
|
||||
|
Loading…
Reference in New Issue
Block a user