<div dir="ltr">Simon, are you able to boot your VM with GPU passthrough and no Code 43 errors without enabling any hyperv features? Do this first, then move on to enabling Hyper V.<div><br></div><div>"I cannot place the vendor_id flag in the xml because it is validated in the Ubuntu package" -- what does this mean? Is there something specific to the Ubuntu package that is checking the XML syntax and saying "vendor_id is invalid?" When I got around to enabling HyperV on my VM, I ran into a similar XML "validation" situation. But this was on Arch, not Ubuntu. Ultimately I traced the problem down to putting a tag in the wrong subsection. I'm afraid I didn't take notes, and don't remember the specifics. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 6, 2016 at 9:56 AM, Alex Williamson <span dir="ltr"><<a href="mailto:alex.l.williamson@gmail.com" target="_blank">alex.l.williamson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Tue, Sep 6, 2016 at 8:33 AM, Rokas Kupstys <span dir="ltr"><<a href="mailto:rokups@zoho.com" target="_blank">rokups@zoho.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>While nothing wrong at the same time it is fragile. Script is
      replacing some parameters with something else. If command line
      will change enough for search string to no longer be present in
      there it will stop working. Maybe this is what happened?</p></div></blockquote><div><br></div></span><div>Based on the xml, I see no reason that libvirt would insert the hv_relaxed parameter, so the script is basically doing nothing, but also there should be nothing necessary to do (we don't need to modify the vendor ID of a feature that isn't provided).  We'd need to see what's actually running on the system (ps aux | grep qemu).  You call it fragile, I call it a feature that I can create a wrapper script that only activates to add/modify parameters as necessary.  For this particular option, I'm not sure how you add it for a libvirt managed VM other than updating to a version of libvirt that supports it, which is not always an option.</div></div></div></div>
<br>______________________________<wbr>_________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/vfio-users</a><br>
<br></blockquote></div><br></div>