<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">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-"><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_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><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><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"><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_<wbr>relaxed,hv_vapic,hv_spinlocks=<wbr>0x1fff</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><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">http://blog.wikichoon.com/2014/07/enabling-hyper-v-enlightenments-with-kvm.html</a></div><div><br></div><div><br></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_extra"><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">Complete command is:</div><div class="gmail_extra"><br></div><div class="gmail_extra">/usr/libexec/qemu-kvm</div><div class="gmail_extra">-name guest=testmig,debug-threads=on</div><div class="gmail_extra">-S</div><div class="gmail_extra">-object secret,id=masterKey0,format=<wbr>raw,file=/var/lib/libvirt/<wbr>qemu/domain-15-testmig/master-<wbr>key.aes</div><div class="gmail_extra">-machine pc-i440fx-rhel7.3.0,accel=kvm,<wbr>usb=off,dump-guest-core=off</div><div class="gmail_extra">-cpu Westmere,vmx=on,hv_time,hv_<wbr>relaxed,hv_vapic,hv_spinlocks=<wbr>0x1fff</div><span class="gmail-"><div class="gmail_extra">-m size=4194304k,slots=16,maxmem=<wbr>16777216k</div><div class="gmail_extra">-realtime mlock=off</div><div class="gmail_extra">-smp 2,maxcpus=16,sockets=16,cores=<wbr>1,threads=1</div><div class="gmail_extra">-numa node,nodeid=0,cpus=0-1,mem=<wbr>4096</div></span><div class="gmail_extra">-uuid XXX</div><div class="gmail_extra">-smbios type=1,manufacturer=oVirt,<wbr>product=oVirt Node,version=7-4.1708.el7.<wbr>centos,serial=XXX,uuid=YYY</div><div class="gmail_extra">-no-user-config</div><div class="gmail_extra">-nodefaults</div><div class="gmail_extra">-chardev socket,id=charmonitor,path=/<wbr>var/lib/libvirt/qemu/domain-<wbr>15-testmig/monitor.sock,<wbr>server,nowait</div><div class="gmail_extra">-mon chardev=charmonitor,id=<wbr>monitor,mode=control</div><div class="gmail_extra">-rtc base=2018-02-10T18:32:22,<wbr>driftfix=slew</div><span class="gmail-"><div class="gmail_extra">-global kvm-pit.lost_tick_policy=delay</div><div class="gmail_extra">-no-hpet</div><div class="gmail_extra">-no-shutdown</div><div class="gmail_extra">-boot strict=on</div><div class="gmail_extra">-device piix3-usb-uhci,id=usb,bus=pci.<wbr>0,addr=0x1.0x2</div><div class="gmail_extra">-device virtio-scsi-pci,id=scsi0,bus=<wbr>pci.0,addr=0x5</div><div class="gmail_extra">-device virtio-serial-pci,id=virtio-<wbr>serial0,max_ports=16,bus=pci.<wbr>0,addr=0x4</div><div class="gmail_extra">-drive if=none,id=drive-ide0-1-0,<wbr>readonly=on</div><div class="gmail_extra">-device ide-cd,bus=ide.1,unit=0,drive=<wbr>drive-ide0-1-0,id=ide0-1-0</div><div class="gmail_extra">-drive file=/rhev/data-center/<wbr>ef17cad6-7724-4cd8-96e3-<wbr>9af6e529db51/fa33df49-b09d-<wbr>4f86-9719-ede649542c21/images/<wbr>2de93ee3-7d6e-4a10-88c4-<wbr>abc7a11fb687/a9f4e35b-4aa0-<wbr>45e8-b775-1a046d1851aa,format=<wbr>qcow2,if=none,id=drive-scsi0-<wbr>0-0-1,serial=2de93ee3-7d6e-<wbr>4a10-88c4-abc7a11fb687,cache=<wbr>none,werror=stop,rerror=stop,<wbr>aio=native</div><div class="gmail_extra">-device scsi-hd,bus=scsi0.0,channel=0,<wbr>scsi-id=0,lun=1,drive=drive-<wbr>scsi0-0-0-1,id=scsi0-0-0-1,<wbr>bootindex=1</div><div class="gmail_extra">-drive file=/rhev/data-center/<wbr>ef17cad6-7724-4cd8-96e3-<wbr>9af6e529db51/fa33df49-b09d-<wbr>4f86-9719-ede649542c21/images/<wbr>f821da0a-cec7-457c-88a4-<wbr>f83f33404e65/0d0c4244-f184-<wbr>4eaa-b5bf-8dc65c7069bb,format=<wbr>raw,if=none,id=drive-scsi0-0-<wbr>0-0,serial=f821da0a-cec7-457c-<wbr>88a4-f83f33404e65,cache=none,<wbr>werror=stop,rerror=stop,aio=<wbr>native</div><div class="gmail_extra">-device scsi-hd,bus=scsi0.0,channel=0,<wbr>scsi-id=0,lun=0,drive=drive-<wbr>scsi0-0-0-0,id=scsi0-0-0-0</div><div class="gmail_extra">-netdev tap,fd=30,id=hostnet0</div><div class="gmail_extra">-device e1000,netdev=hostnet0,id=net0,<wbr>mac=00:50:56:9d:c9:29,bus=pci.<wbr>0,addr=0x3</div><div class="gmail_extra">-chardev socket,id=charchannel0,path=/<wbr>var/lib/libvirt/qemu/channels/<wbr>421d6f1b-58e3-54a4-802f-<wbr>fb52f7831369.com.redhat.rhevm.<wbr>vdsm,server,nowait</div><div class="gmail_extra">-device virtserialport,bus=virtio-<wbr>serial0.0,nr=1,chardev=<wbr>charchannel0,id=channel0,name=<wbr>com.redhat.rhevm.vdsm</div><div class="gmail_extra">-chardev socket,id=charchannel1,path=/<wbr>var/lib/libvirt/qemu/channels/<wbr>421d6f1b-58e3-54a4-802f-<wbr>fb52f7831369.org.qemu.guest_<wbr>agent.0,server,nowait</div><div class="gmail_extra">-device virtserialport,bus=virtio-<wbr>serial0.0,nr=2,chardev=<wbr>charchannel1,id=channel1,name=<wbr>org.qemu.guest_agent.0</div><div class="gmail_extra">-chardev spicevmc,id=charchannel2,name=<wbr>vdagent</div><div class="gmail_extra">-device virtserialport,bus=virtio-<wbr>serial0.0,nr=3,chardev=<wbr>charchannel2,id=channel2,name=<wbr>com.redhat.spice.0</div><div class="gmail_extra">-spice tls-port=5900,addr=10.4.192.<wbr>32,x509-dir=/etc/pki/vdsm/<wbr>libvirt-spice,tls-channel=<wbr>default,tls-channel=main,tls-<wbr>channel=display,tls-channel=<wbr>inputs,tls-channel=cursor,tls-<wbr>channel=playback,tls-channel=<wbr>record,tls-channel=smartcard,<wbr>tls-channel=usbredir,seamless-<wbr>migration=on</div><div class="gmail_extra">-device qxl-vga,id=video0,ram_size=<wbr>67108864,vram_size=8388608,<wbr>vram64_size_mb=0,vgamem_mb=16,<wbr>max_outputs=1,bus=pci.0,addr=<wbr>0x2</div><div class="gmail_extra">-msg timestamp=on</div><div><br></div></span><div>Thanks,</div><div>Gianluca</div></div></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>