Signed-off-by: Fiona Ebner <[email protected]>
---
New in v3.
src/PVE/QemuConfig.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/QemuConfig.pm b/src/PVE/QemuConfig.pm
index e0853d65..e3ba240e 100644
--- a/src/PVE/QemuConfig.pm
+++ b/src/PVE/QemuConfig.pm
@@ -244,7 +244,7 @@ sub __snapshot_save_vmstate {
# get current QEMU -cpu argument to ensure consistency of custom CPU models
my $runningcpu;
- if (my $pid = PVE::QemuServer::check_running($vmid)) {
+ if (my $pid = PVE::QemuServer::Helpers::vm_running_locally($vmid)) {
$runningcpu =
PVE::QemuServer::CPUConfig::get_cpu_from_running_vm($pid);
}
--
2.47.2
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel