[pve-devel] [PATCH qemu-server] use the new PVE::SystemD package

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Jun 15 11:00:53 CEST 2018


Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
 PVE/QemuServer.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 277bc58..2d22382 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -34,6 +34,7 @@ use PVE::QemuServer::PCI qw(print_pci_addr print_pcie_addr);
 use PVE::QemuServer::Memory;
 use PVE::QemuServer::USB qw(parse_usb_device);
 use PVE::QemuServer::Cloudinit;
+use PVE::SystemD;
 use Time::HiRes qw(gettimeofday);
 use File::Copy qw(copy);
 use URI::Escape;
@@ -4846,7 +4847,7 @@ sub vm_start {
 
 	my $run_qemu = sub {
 	    PVE::Tools::run_fork sub {
-		PVE::Tools::enter_systemd_scope($vmid, "Proxmox VE VM $vmid", %properties);
+		PVE::SystemD::enter_systemd_scope($vmid, "Proxmox VE VM $vmid", %properties);
 		run_command($cmd, %run_params);
 	    };
 	};
-- 
2.11.0





More information about the pve-devel mailing list