Error: VM_HAS_PCI_ATTACHED when IN MEMORY Snapshot mode upon Delta backup
-
After a successful single VM Delta backup on NFS, with Snapshot mode
Normal
, changing toIn Memory
produces the following error:The VM has a PCI attached device.
TrueNAS_SCALE (xcp-ng-truenas) Snapshot Start: 2025-03-20 09:46 End: 2025-03-20 09:46 Error: VM_HAS_PCI_ATTACHED(OpaqueRef:15cf0bbe-a635-e870-ffa5-37fd40c97b10)This is a XenServer/XCP-ng error Start: 2025-03-20 09:46 End: 2025-03-20 09:46 Duration: a few seconds Error: VM_HAS_PCI_ATTACHED(OpaqueRef:15cf0bbe-a635-e870-ffa5-37fd40c97b10)This is a XenServer/XCP-ng error
If thuis is unsupported maybe it should be documented.
BTW, I can't understand how the
Offline
mode works fro the doc: does it actually shutdown the VM before the snapshot? -
Hi,
It's not supported because you have a PCI device attached, so memory snapshot aren't supported, because this cause crash on resuming it while the PCI device had another context in the meantime.
Offline means the VM will be shutdown, snap then started.
edit: "In memory" is like a live migration, so not compatible with PCI passthrough