diff --git a/src/PVE/API2/Storage/Status.pm b/src/PVE/API2/Storage/Status.pm index 3ce11fc..f7e324f 100644 --- a/src/PVE/API2/Storage/Status.pm +++ b/src/PVE/API2/Storage/Status.pm @@ -746,6 +746,7 @@ __PACKAGE__->register_method({ description => 'What this warning is about.', enum => [ 'cdrom-image-ignored', + 'efi-state-lost', 'guest-is-running', 'nvme-unsupported', 'ovmf-with-lsi-unsupported', diff --git a/src/PVE/Storage/ESXiPlugin.pm b/src/PVE/Storage/ESXiPlugin.pm index 3f47577..e448760 100644 --- a/src/PVE/Storage/ESXiPlugin.pm +++ b/src/PVE/Storage/ESXiPlugin.pm @@ -955,6 +955,7 @@ sub get_create_args { if ($firmware eq 'efi') { $create_args->{bios} = 'ovmf'; $create_disks->{efidisk0} = 1; + $warn->('efi-state-lost', key => "bios", value => "ovmf"); } else { $create_args->{bios} = 'seabios'; }