[pve-devel] [PATCH qemu-server 2/4] config: parse: also warn about invalid lines

Fabian Ebner f.ebner at proxmox.com
Wed Mar 3 12:01:26 CET 2021


as we already do for containers.

Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 PVE/QemuServer.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 43d7c6b..4a17a37 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2215,6 +2215,8 @@ sub parse_vm_config {
 
 		$conf->{$key} = $value;
 	    }
+	} else {
+	    warn "vm $vmid - unable to parse config: $line\n";
 	}
     }
 
-- 
2.20.1






More information about the pve-devel mailing list