<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Feb 11, 2018 at 9:33 AM, Yaniv Kaul <span dir="ltr">&lt;<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On Sat, Feb 10, 2018 at 8:41 PM, Gianluca Cecchi <span dir="ltr">&lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="gmail-m_4359730900780029791gmail-"><div class="gmail_extra"><div class="gmail_quote">On Fri, Feb 9, 2018 at 4:32 PM, Gianluca Cecchi <span dir="ltr">&lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="gmail-m_4359730900780029791gmail-m_2344213608572795778gmail-"><div class="gmail_extra"><div class="gmail_quote"><br></div><br></div></span><div class="gmail_extra">If I edit the VM, in general settings I see &quot;Other OS&quot; as operating system.</div><div class="gmail_extra">In General subtab after selecting the VM  in &quot;Virtual Machines&quot; tab I again see &quot;Other OS&quot; in &quot;Operating System&quot; and the field &quot;Origin&quot; filled with the value &quot;VMware&quot;</div><div class="gmail_extra"><br></div><div class="gmail_extra">During virt-v2v it seems it was recognized as Windows 2008 though...</div><div class="gmail_extra"> </div><div class="gmail_extra"><div class="gmail_extra">libguestfs: trace: v2v: hivex_value_utf8 = &quot;Windows Server 2008 R2 Enterprise&quot;</div><div class="gmail_extra">libguestfs: trace: v2v: hivex_value_key 11809408</div><div class="gmail_extra"><br></div><div class="gmail_extra">I can send all the log if it can help.</div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Gianluca</div><div></div></div></div></blockquote></div><br></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">So it seems it has been a problem with virt-v2v conversion, because if I shutdown the VM and set it to Windows 2008 R2 x86_64 and optimized for server and I run it, I get this flag for the cpu:</div></div></blockquote><div><br></div></span><div>A new virt-v2v was just released, worth testing it. It has some nice features, and perhaps fixes the above too.</div><div>For example:</div><div>       Virt-v2v now installs Windows 10 / Windows Server 2016 virtio block</div><div>       drivers correctly (Pavel Butsykin, Kun Wei).</div><div><br></div><div>       Virt-v2v now installs virtio-rng, balloon and pvpanic drivers, and</div><div>       correctly sets this in the target hypervisor metadata for hypervisors</div><div>       which support that (Tomáš Golembiovský).</div><div><br></div><div>       Virt-v2v now installs both legacy and modern virtio keys in the Windows</div><div>       registry (Ladi Prosek).</div><span class="gmail-"><div><br></div><div> </div></span></div></div></div></blockquote><div><br></div><div>Thanks for the info.</div><div>In the mean time <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">after installing virtio-win on proxy host </span>I retried with the same version of virt-v2v provided with 4.1.9: virt-v2v-1.36.3-6.el7_4.3.x86_64</div><div>and then selecting and injecting it in the import window and the VM correctly starts with virtio drivers (version 61.74.104.14100) after a reboot requested (first starts remains in black window for a couple of minutes and then asks to restart)</div><div>It also has qxl drivers (6.1.0.1024)</div><div>But the VM remains as &quot;Other OS&quot; and obviously has no hv_ optimization.</div><div>I&#39;m going to try the new version as you suggested.</div><div>It would be nice also to have virtio-scsi option and not only the virtio option directly in import function....</div><div><br></div><div>BTW: I see that in case a target VM with the same name of source exists, I&#39;m given an error and I can&#39;t change the VM name on destination....</div><div>This seems to me a big limitation, because forces to rename the source VM or rename a pre-existing VM at destination with the same name....</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">-cpu Westmere,vmx=on,hv_time,hv_rel<wbr>axed,hv_vapic,hv_spinlocks=0x1<wbr>fff</span><br></div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><br></div><div class="gmail_extra">BTW: what are the other flags for:</div><div class="gmail_extra"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_extra"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_extra"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">hv_spinlocks=0x1fff</span></div><div class="gmail_extra"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">hv_relaxed</span></span></div><div class="gmail_extra"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">hv_vapic</span><br></span></div><div class="gmail_extra"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">?</span></div></div></div></div></blockquote><div><br></div></span><div>These are the enlightenment that allow Windows guests to run faster (hv = hyper-v).</div><div>See[1]</div><div>Y.</div><div><br></div><div>[1] <a href="http://blog.wikichoon.com/2014/07/enabling-hyper-v-enlightenments-with-kvm.html" target="_blank">http://blog.wikichoon.com/<wbr>2014/07/enabling-hyper-v-<wbr>enlightenments-with-kvm.html</a></div><div><br></div></div></div></div></blockquote><div><br></div><div>Thanks for the Cole link </div><div><br></div><div>Gianluca</div></div></div></div>