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

    XCP-ng 8.3 VM Checkpoints (Snapshots w/ Memory) for AMD Ryzen 9 7845HX

    Scheduled Pinned Locked Moved Hardware
    4 Posts 2 Posters 414 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.
    • S Offline
      smccombie
      last edited by

      Hello,
      I'm receiving the following problem:

      # xe vm-suspend vm=Win-Test
      You attempted an operation on a VM which lacks the feature.
      
      vm: 611c6a3f-1d8f-c9b6-052d-b148ad0313d4 (Win-Test)
      
      # xe vm-checkpoint vm=611c6a3f-1d8f-c9b6-052d-b148ad0313d4 new-name-label=test
      
      You attempted an operation on a VM which lacks the feature.
      
      vm: 611c6a3f-1d8f-c9b6-052d-b148ad0313d4 (Win-Test)
      

      Here is some CPU info:

      # lscpu
      
      Architecture:          x86_64
      CPU op-mode(s):        32-bit, 64-bit
      Byte Order:            Little Endian
      CPU(s):                16
      On-line CPU(s) list:   0-15
      Thread(s) per core:    1
      Core(s) per socket:    16
      Socket(s):             1
      Vendor ID:             AuthenticAMD
      CPU family:            25
      Model:                 97
      Model name:            AMD Ryzen 9 7845HX with Radeon Graphics
      Stepping:              2
      CPU MHz:               2994.567
      BogoMIPS:              5988.88
      Hypervisor vendor:     Xen
      Virtualization type:   none
      L1d cache:             32K
      L1i cache:             32K
      L2 cache:              1024K
      L3 cache:              65536K
      Flags:                 fpu de tsc msr pae mce cx8 apic mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy abm sse4a misalignsse 3dnowprefetch bpext ibpb vmmcall fsgsbase bmi1 avx2 bmi2 erms avx512f avx512dq rdseed adx avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 clzero xsaveerptr arat avx512vbmi avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid
      

      Is there a patch coming to make this work in the future? Or is there some strange hardware issue that allows the hypervisor to pause a VM in memory but it can't read the memory after to do snapshots with memory / checkpoints / suspend operations. Or maybe I'm grossly over-simplifying what's happening under the hood.

      Thanks!!
      Scott M.

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

        Hi,

        You need to have tools installed in the VM to make it suspended.

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          smccombie @olivierlambert
          last edited by smccombie

          olivierlambert Thanks, our first set of Windows VMs, didn't realize it was required.
          *doh, thanks so much for the sanity check!!

          Slightly divergent topic, XO correctly wouldn't let me take a "Snapshot with Memory" (VM Lacks Feature) when running but when I paused the VM, it let me take a "Snapshot with Memory" without any error messages (but obviously it didn't have memory when trying to revert it, so basically no UI confirmation/acknowledge of my mistake). That led to my initial confusion. I can submit screenshots of that behavior if interested.

          Thanks!!
          Scott M.

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

            No worries, I'm used to the "You attempted an operation on a VM which lacks the feature" meaning to tools are installed. It could have been worded better.

            And sure, please provide screenshot if you can reproduce an issue even if the VM has tools (because if it doesn't, then it's a normal thing and not a bug)

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