mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-04-28 17:37:36 +00:00
disable snapshot (with RAM) and hibernate with virtio-fs devices
Signed-off-by: Markus Frank <m.frank@proxmox.com> Reviewed-by: Fiona Ebner <f.ebner@proxmox.com> Reviewed-by: Laurențiu Leahu-Vlăducu <l.leahu-vladucu@proxmox.com> Reviewed-by: Daniel Kral <d.kral@proxmox.com> Tested-by: Laurențiu Leahu-Vlăducu <l.leahu-vladucu@proxmox.com> Tested-by: Daniel Kral <d.kral@proxmox.com> Tested-by: Lukas Wagner <l.wagner@proxmox.com> Link: https://lore.proxmox.com/20250407134950.265270-6-m.frank@proxmox.com Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
7bfffaee5f
commit
64dad62fd8
@ -2471,8 +2471,9 @@ sub check_non_migratable_resources {
|
||||
my ($conf, $state, $noerr) = @_;
|
||||
|
||||
my @blockers = ();
|
||||
if ($state && $conf->{"amd-sev"}) {
|
||||
push @blockers, "amd-sev";
|
||||
if ($state) {
|
||||
push @blockers, "amd-sev" if $conf->{"amd-sev"};
|
||||
push @blockers, "virtiofs" if PVE::QemuServer::Virtiofs::virtiofs_enabled($conf);
|
||||
}
|
||||
|
||||
if (scalar(@blockers) && !$noerr) {
|
||||
|
Loading…
Reference in New Issue
Block a user