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

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Jun 15 12:16:40 CEST 2018


On 6/15/18 11:00 AM, Wolfgang Bumiller wrote:
> Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
> ---

applied with fixed up module name (SystemD -> Systemd)

>  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);
>  	    };
>  	};
> 





More information about the pve-devel mailing list