<div dir="ltr"><div dir="ltr"><div>Thanks Ján!</div><div><br></div><div>>What were the exact changes you were trying to make?<span class="gmail-im"><br></span></div><div><span class="gmail-im"><br></span></div><div><span class="gmail-im">I was following this guide: <a href="https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Passing_keyboard/mouse_via_Evdev">https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Passing_keyboard/mouse_via_Evdev</a><br></span></div><div><span class="gmail-im"><br></span></div><div><span class="gmail-im">Specifically, I was updating the domain tag to include `</span>xmlns:qemu='<a href="http://libvirt.org/schemas/domain/qemu/1.0">http://libvirt.org/schemas/domain/qemu/1.0</a>'<span class="gmail-im"></span>`</div><div><span class="gmail-im"><br></span></div><div><span class="gmail-im">>both call virDomainDefineXMLFlags under the hood.</span></div><div><span class="gmail-im"><br></span></div><div><span class="gmail-im">That is good to know, thanks for the explanation.<br></span></div></div><div dir="ltr"><br></div><div>I appreciate the help, if you have any suggestions I'm happy to hear them</div><div><br></div><div>Josh<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 21, 2019 at 2:16 AM Ján Tomko <<a href="mailto:jtomko@redhat.com">jtomko@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Feb 21, 2019 at 01:06:48AM -0500, Josh Mcneil wrote:<br>
>This may be user error, I am new to libvirt.<br>
><br>
<br>
Welcome,<br>
<br>
>I am using libvirt 5.0.0. I have created a VM (win10) in the system URI<br>
>using virt-manager. I stopped the VM to edit it.<br>
><br>
>I set my LIBVIRT_DEFAULT_URI="qemu:///system" and am able to read the<br>
>domain configuration with `EDITOR=nano virsh edit win10`. When I save<br>
>(ctrl+o) and exit (ctrl+x) I see the message "Domain win10 XML<br>
>configuration edited." as expected.<br>
<br>
that means libvirt successfully parsed the changed XML file.<br>
The elements libvirt does not parse will not appear in the changed<br>
configuration. Usually those should get caught by the schema validation,<br>
but it's not perfect.<br>
<br>
What were the exact changes you were trying to make?<br>
<br>
>However, when I run the edit command<br>
>again the changes do not appear to have persisted.<br>
><br>
>I have tried starting and stopping the VM. I read that I may need to define<br>
>the domain with virsh so I did that. None of these things seem to work.<br>
<br>
Calling 'virsh define' with the same domain name and UUID in the XML and<br>
'virsh edit' is equivalent - both call virDomainDefineXMLFlags under the<br>
hood.<br>
<br>
Jano<br>
<br>
><br>
>I would appreciate it if someone could help me solve this issue in order to<br>
>be able to modify domains from virsh!<br>
><br>
>Thanks in advance for any help!<br>
><br>
>Josh<br>
<br>
>_______________________________________________<br>
>libvirt-users mailing list<br>
><a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a><br>
><a href="https://www.redhat.com/mailman/listinfo/libvirt-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
<br>
</blockquote></div>