[pve-devel] [PATCH qemu-server v15 7/12] disable snapshot (with RAM) and hibernate with virtio-fs devices

Markus Frank m.frank at proxmox.com
Thu Apr 3 12:34:37 CEST 2025


Reviewed-by: Fiona Ebner <f.ebner at proxmox.com>
Reviewed-by: Laurențiu Leahu-Vlăducu <l.leahu-vladucu at proxmox.com
Reviewed-by: Daniel Kral <d.kral at proxmox.com>
Tested-by: Laurențiu Leahu-Vlăducu <l.leahu-vladucu at proxmox.com>
Tested-by: Daniel Kral <d.kral at proxmox.com>
Signed-off-by: Markus Frank <m.frank at proxmox.com>
---
no changes in v15

 PVE/QemuServer.pm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 5e9c3981..3c14bf7f 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2461,8 +2461,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) {
-- 
2.39.5





More information about the pve-devel mailing list