<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 13, 2016 at 1:17 PM, thibaut noah <span dir="ltr"><<a href="mailto:thibaut.noah@gmail.com" target="_blank">thibaut.noah@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">The problem i have is i use libvirt, putting the flag on qemu-arg requires to set cpu again.<br>As i have no idea which cpu setting will be used this doesn't seem like a good idea, i saw that people use scripts apparently but i wonder if someone figured out how to put this directly into libvirt</div></blockquote><div><br></div><div>$ cat qemu-kvm-hv-vendor</div><div><div>#!/bin/sh</div></div><div>exec PATHTOYOURQEMUKVM \<br></div><div>    `echo "\$@" | sed 's|hv_time|hv_time,hv_vendor_id=KeenlyKVM|g'`</div><div><br></div><div>$ chmod 755 qemu-kvm-hv-vendor</div><div><br></div><div>$ virsh edit YOURVM</div><div><br></div><div>Replace <emulator>PATHTOYOURQEMUKVM</emulator> with PATHTO/qemu-kvm-hv-vendor</div></div></div></div>