mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-30 00:30:42 +00:00
use the new PVE::SystemD package
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c2786bedc6
commit
d04d6af1f2
@ -34,6 +34,7 @@ use PVE::QemuServer::PCI qw(print_pci_addr print_pcie_addr);
|
|||||||
use PVE::QemuServer::Memory;
|
use PVE::QemuServer::Memory;
|
||||||
use PVE::QemuServer::USB qw(parse_usb_device);
|
use PVE::QemuServer::USB qw(parse_usb_device);
|
||||||
use PVE::QemuServer::Cloudinit;
|
use PVE::QemuServer::Cloudinit;
|
||||||
|
use PVE::Systemd;
|
||||||
use Time::HiRes qw(gettimeofday);
|
use Time::HiRes qw(gettimeofday);
|
||||||
use File::Copy qw(copy);
|
use File::Copy qw(copy);
|
||||||
use URI::Escape;
|
use URI::Escape;
|
||||||
@ -4846,7 +4847,7 @@ sub vm_start {
|
|||||||
|
|
||||||
my $run_qemu = sub {
|
my $run_qemu = sub {
|
||||||
PVE::Tools::run_fork 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);
|
run_command($cmd, %run_params);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user