mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-07 14:53:38 +00:00
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:
parent
7a9570f33e
commit
55b277d224
@ -270,6 +270,7 @@ sub check_and_pin_machine_string {
|
|||||||
# always pin Windows' machine version on create, they get confused too easily
|
# always pin Windows' machine version on create, they get confused too easily
|
||||||
if (PVE::QemuServer::Helpers::windows_version($ostype)) {
|
if (PVE::QemuServer::Helpers::windows_version($ostype)) {
|
||||||
$machine_conf->{type} = windows_get_pinned_machine_version($machine);
|
$machine_conf->{type} = windows_get_pinned_machine_version($machine);
|
||||||
|
print "pinning machine type to '$machine_conf->{type}' for Windows guest OS\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user