<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello</p>
    <p>when I tried to migrate a VM  from on virtuozzo 7 host to an
      other one I get a CPU capabilities not provided by destination<br>
    </p>
    <p># prlctl  migrate myVM root@olympos -v 16<br>
      Logging in<br>
      ...<br>
      security_level=2<br>
      PrlCleanup::register_hook: 8780700<br>
      EVENT type=100030<br>
      Migration started.<br>
      EVENT type=100001<br>
      EVENT type=100033<br>
      Operation progress ...98%EVENT type=100033<br>
      Operation progress    100%<br>
      EVENT type=100033<br>
      Operation progress ... 0%EVENT type=100031<br>
      Migration cancelled!<br>
      EVENT type=100007<br>
      EVENT type=100001<br>
      <br>
      Failed to migrate the VM: Operation failed. Failed to execute the
      operation. (Details: the CPU is incompatible with host CPU: Host
      CPU does not provide <b>required features: hle, rtm, rdseed, adx,
        smap, 3dnowprefetch</b>)<br>
      resultCount: 0<br>
      PrlCleanup::unregister_hook: 8780700<br>
      Logging off<br>
    </p>
    <p>indeed those capabilities don't show up in the lshw on the
      destination host (cf PS below )</p>
    <p>alhtough myVM doesn't seem to require those capabilities : <br>
    </p>
    <p># virsh edit myVM<br>
      ...<br>
    </p>
    <p>  &lt;os&gt;<br>
          &lt;type arch='x86_64'
      machine='pc-i440fx-vz7.7.0'&gt;hvm&lt;/type&gt;<br>
        &lt;/os&gt;<br>
        &lt;features&gt;<br>
          &lt;acpi/&gt;<br>
          &lt;apic/&gt;<br>
          &lt;pae/&gt;<br>
          &lt;vmcoreinfo state='on'/&gt;<br>
        &lt;/features&gt;<br>
        &lt;cpu mode='host-model' check='partial'&gt;<br>
          &lt;model
      fallback='allow'&gt;Skylake-Client-IBRS&lt;/model&gt;<br>
          &lt;topology sockets='1' cores='2' threads='1'/&gt;<br>
        <b>  &lt;feature policy='require' name='ss'/&gt;</b><b><br>
      </b><b>    &lt;feature policy='require' name='hypervisor'/&gt;</b><b><br>
      </b><b>    &lt;feature policy='require' name='tsc_adjust'/&gt;</b><b><br>
      </b><b>    &lt;feature policy='require' name='ssbd'/&gt;</b><b><br>
      </b><b>    &lt;feature policy='require' name='stibp'/&gt;</b><b><br>
      </b><b>    &lt;feature policy='require' name='pdpe1gb'/&gt;</b><br>
          &lt;feature policy='disable' name='arat'/&gt;<br>
          &lt;feature policy='disable' name='xgetbv1'/&gt;<br>
          &lt;feature policy='disable' name='vmx'/&gt;<br>
          &lt;feature policy='disable' name='xsavec'/&gt;<br>
          &lt;feature policy='disable' name='mpx'/&gt;<br>
        &lt;/cpu&gt;</p>
    <p>1) Is it libvirt or virtuozzo (prlctl) that complains about that
      ? <br>
    </p>
    <p>2) how can I tell it to forget about those capabilities ? <br>
    </p>
    <p>3) should I edit myVM properties with virsh edit or prlct or
      virt-manager ? <br>
    </p>
    <p>4) are they all compatible (on can read change done by the other
      ) ? <br>
    </p>
    <p>Thanks . <br>
    </p>
    <p>PS : CPU hardware capabilities on source host :<br>
    </p>
    <p># lshw  <br>
          description: Rack Mount Chassis<br>
          product: PowerEdge R730 (SKU=NotProvided;ModelName=PowerEdge
      R730)<br>
          vendor: Dell Inc.<br>
          serial: 63NXMK2<br>
          width: 64 bits<br>
          capabilities: smbios-2.8 dmi-2.8 smp vsyscall32<br>
       *-cpu:0<br>
                description: CPU<br>
                product: Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz<br>
       capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce
      cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
      sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64
      constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
      nonstop_tsc aperfmperf eagerfpu cpuid_faulting pni pclmulqdq
      dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr
      pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer
      aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3
      cdp_l3 intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority
      ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid
      rtm cqm rdt_a <b>rdseed </b>adx smap xsaveopt cqm_llc
      cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts
      spec_ctrl intel_stibp flush_l1d cpufreq<br>
                configuration: cores=8 enabledcores=8 threads=16<br>
    </p>
    <p>on destination (rdseed not listed) <br>
    </p>
    <p># lshw    <br>
          description: Rack Mount Chassis<br>
          product: PowerEdge R430 (SKU=NotProvided;ModelName=PowerEdge
      R430)<br>
          vendor: Dell Inc.<br>
          serial: DKYSJD2<br>
          width: 64 bits<br>
          capabilities: smbios-2.8 dmi-2.8 smp vsyscall32<br>
        *-cpu:0<br>
                description: CPU<br>
                product: Intel(R) Xeon(R) CPU E5-2609 v3 @ 1.90GHz<br>
                vendor: Intel Corp.<br>
             <br>
                capabilities: lm fpu fpu_exception wp vme de pse tsc msr
      pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi
      mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64
      constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
      nonstop_tsc aperfmperf eagerfpu cpuid_faulting pni pclmulqdq
      dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr
      pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer
      aes xsave avx f16c rdrand lahf_lm abm epb ssbd ibrs ibpb stibp
      tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1
      avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc
      dtherm arat pln pts spec_ctrl intel_stibp flush_l1d cpufreq<br>
                configuration: cores=6 enabledcores=6 threads=6<br>
      <br>
    </p>
  </body>
</html>