XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Error: VM_HAS_PCI_ATTACHED when IN MEMORY Snapshot mode upon Delta backup

    Scheduled Pinned Locked Moved Backup
    2 Posts 2 Posters 53 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      nodje
      last edited by nodje

      After a successful single VM Delta backup on NFS, with Snapshot mode Normal, changing to In 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?

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by olivierlambert

        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

        1 Reply Last reply Reply Quote 1
        • First post
          Last post