machine: log informational line when pinning machine version for Windows guest

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fiona Ebner 2025-01-17 15:24:27 +01:00 committed by Thomas Lamprecht
parent 7a9570f33e
commit 55b277d224

View File

@ -270,6 +270,7 @@ sub check_and_pin_machine_string {
# always pin Windows' machine version on create, they get confused too easily
if (PVE::QemuServer::Helpers::windows_version($ostype)) {
$machine_conf->{type} = windows_get_pinned_machine_version($machine);
print "pinning machine type to '$machine_conf->{type}' for Windows guest OS\n";
}
}