<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Save xml to some location other than /etc/libvirt/.. and do all the
commenting/uncommenting there. virsh define /path/to/vm.xml to use
modified xml. You indeed are going the wrong direction. Even if
libvirt does not expose some functionality via xml it is also
possible to pass raw qemu flags. I needed it only for vga
passtrhough, using efi firmware thats no longer needed (although
libvirt might expose -vga via xml now, i dont know). Also unsure
whats not working for you but even virt-manager exposes
functionality to pass entire pci devices to vm. Be it sata or usb or
whatever. If it is not working for you maybe correct solution would
be figuring out pci passthrough and not reverting to a shellscript.<br>
<br>
<div class="moz-cite-prefix">On 2015.12.04 22:18, thibaut noah
wrote:<br>
</div>
<blockquote
cite="mid:CANNiY3dot4NEq8jpr5B1fTg3=3xYr1iDwrae__FwSDY2bTfL6A@mail.gmail.com"
type="cite">
<div dir="ltr">Libvirt doesn't allow me to comment in and out
things during vm runtime.
<div>Bash script is for me much more clearer than an xml file,
since i'm almost done i might aswell finish it.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-12-04 21:08 GMT+01:00 Alex
Williamson <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:alex.l.williamson@gmail.com" target="_blank">alex.l.williamson@gmail.com</a>></span>:<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 Fri, Dec 4,
2015 at 12:53 PM, thibaut noah <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:thibaut.noah@gmail.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:thibaut.noah@gmail.com">thibaut.noah@gmail.com</a></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">Being able to pass my 4to disk, my
usb controller (required for plug and play, also
i want to be able to use my usb key on win10 and
not have glitchy audio with my usb headset), and
having a net bridge would be a huge step
forward.<br>
Also i don't have enough configuration
possibilities with virt-manager</div>
</blockquote>
<div> </div>
</span>
<div>libvirt xml is much more powerful than the
features exposed through virt-manager:</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://libvirt.org/formatdomain.html"
target="_blank">https://libvirt.org/formatdomain.html</a><br>
</div>
<div><br>
</div>
<div>I'd suggest trying to do what you want through
libvirt before trying to re-invent the wheel. This
is what libvirt is meant to do after all.</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
vfio-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/vfio-users">https://www.redhat.com/mailman/listinfo/vfio-users</a>
</pre>
</blockquote>
<br>
</body>
</html>