<div dir="ltr"><div><div><div><div><div><div><div>Hello!<br><br></div>I have maybe found a way to do this.<br></div>I found this older email archive where similar problem was described:<br><a href="https://www.mail-archive.com/users@ovirt.org/msg40422.html">https://www.mail-archive.com/users@ovirt.org/msg40422.html</a><br><br></div>With this -cpu arguments show up corretcly in log.<br></div>But the it still won't fix nvidia problem 43, which is annoying "bug" implemented by nvidia.<br><br></div>I have several gtx graphic cards collecting dust and would like to use them, but fail to do so...<br><br></div>best regards <br></div>Mikko<br><div><div><div><div><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 28, 2017 at 8:46 AM, Yedidyah Bar David <span dir="ltr"><<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>></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"><span class="gmail-">On Wed, Sep 27, 2017 at 8:32 PM, M R <<a href="mailto:gr8nextmail@gmail.com">gr8nextmail@gmail.com</a>> wrote:<br>
> Hello!<br>
><br>
</span><span class="gmail-">> Thank you very much! I had misunderstood how it was suppose to be written in<br>
> qemu_cmdline. There was a typo in syntax and error log revealed it. It is<br>
> working IF I use ["-spice", "tls-ciphers=DES-CBC3-SHA"].<br>
> So I believe that installation is correctly done.<br>
><br>
> Though, my problem still exists.<br>
> This is what I have been trying to use for qemu_cmdline:<br>
> ["-cpu", "kvm=off, hv_vendor_id=sometext"]<br>
> It does not work and most likely is incorrectly written.<br>
<br>
</span>You should first come up with something that works when you try it<br>
manually, then try adapting that to the hook's syntax.<br>
<span class="gmail-"><br>
><br>
> I understood that qemu commands are often exported into xml files and the<br>
> command I'm trying to write is the following:<br>
><br>
> <features><br>
> <hyperv><br>
> <vendor_id state='on' value='customvalue'/><br>
> </hyperv><br>
> <kvm><br>
> <hidden state='on'/><br>
> </kvm><br>
> </features><br>
<br>
</span>I guess you refer above to libvirt xml. This isn't strictly<br>
related to qemu, although in practice most usage of libvirt<br>
is with qemu.<br>
<span class="gmail-"><br>
><br>
> How do I write this in custom properties for qemu_cmdline?<br>
<br>
</span>If you have a working libvirt vm, with the options you need,<br>
simply check how it translated your xml to qemu's command line.<br>
You can see this either in its logs, or using ps.<br>
<br>
Best,<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
><br>
><br>
> best regards<br>
><br>
> Mikko<br>
><br>
><br>
><br>
> On 27 Sep 2017 3:27 pm, "Yedidyah Bar David" <<a href="mailto:didi@redhat.com">didi@redhat.com</a>> wrote:<br>
>><br>
>> On Wed, Sep 27, 2017 at 1:14 PM, M R <<a href="mailto:gr8nextmail@gmail.com">gr8nextmail@gmail.com</a>> wrote:<br>
>> > Hello!<br>
>> ><br>
>> > I did check logs from hosts, but didnt notice anything that would help<br>
>> > me. I<br>
>> > can copy paste logs later.<br>
>> ><br>
>> > I was not trying to get qemu crash vm.<br>
>> > I'm trying to add new functionalities with qemu.<br>
>> ><br>
>> > I wasnt sure if my syntax was correct, so I copy pasted the example<br>
>> > command<br>
>> > for spice from that website. And it still behaves similarly.<br>
>> ><br>
>> > My conclusion is that qemu cmdline is setup wrong or it's not working at<br>
>> > all. But I dont know how to check that.<br>
>><br>
>> Please check/share /var/log/libvirt/qemu/* and /var/log/vdsm/* . Thanks.<br>
>><br>
>> ><br>
>> > On 27 Sep 2017 12:32, "Yedidyah Bar David" <<a href="mailto:didi@redhat.com">didi@redhat.com</a>> wrote:<br>
>> >><br>
>> >> On Wed, Sep 27, 2017 at 11:32 AM, M R <<a href="mailto:gr8nextmail@gmail.com">gr8nextmail@gmail.com</a>> wrote:<br>
>> >> > Hello!<br>
>> >> ><br>
>> >> > I have followed instructions in<br>
>> >> > <a href="https://www.ovirt.org/develop/developer-guide/vdsm/hook/qemucmdline/" rel="noreferrer" target="_blank">https://www.ovirt.org/develop/<wbr>developer-guide/vdsm/hook/<wbr>qemucmdline/</a><br>
>> >> ><br>
>> >> > After adding any command for qemu cmdline, vm will try to start, but<br>
>> >> > will<br>
>> >> > immediately shutdown.<br>
>> >> ><br>
>> >> > Is this a bug?<br>
>> >><br>
>> >> If you intended, with the params you passed, to make qemu fail, for<br>
>> >> whatever<br>
>> >> reason (debugging qemu?), then it's not a bug :-) Otherwise, it is, but<br>
>> >> we<br>
>> >> can't know where.<br>
>> >><br>
>> >> > or is the information in the link insufficient?<br>
>> >> > If it would be possible to confirm this and if there's a way to fix,<br>
>> >> > I<br>
>> >> > would<br>
>> >> > really like to have step by step guide of how to get this working.<br>
>> >><br>
>> >> Did you check relevant logs? vdsm/libvirt?<br>
>> >><br>
>> >> Best,<br>
>> >> --<br>
>> >> Didi<br>
>><br>
>><br>
>><br>
>> --<br>
>> Didi<br>
<br>
<br>
<br>
</div></div><span class="gmail-HOEnZb"><font color="#888888">--<br>
Didi<br>
</font></span></blockquote></div><br></div></div></div></div></div></div></div></div></div></div></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
        <tr>
<td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Ei viruksia. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>                 </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>