Hi,
I tried to change some virtual machine configurations in the xml file from the plugin (with the virtual machine turned off) but after saving the configuration the xml file returns to the original one ignoring the changes. Why does this happen?
Thanks
KVM Plugin : Edit xml files
-
-
Why does this happen?
libvirt must not have liked your change. What change did you make?
-
From suggestions found on the internet and also with al IA ...
I inserted the code to force the keyboard layout in Italian for spice (<keyboard layout='it'/>):
<graphics type='spice' autoport='yes' listen='0.0.0.0'>
<image compression='off'/>
<keyboard layout='it'/>
</graphics>
However I noticed that any change to the xml file (both liked and not liked) is not maintained and the system always restores the original version.
I also tried to change the resolution in the following way:
<graphics type='spice' autoport='yes' listen='0.0.0.0'>
<image compression='off'/>
<keyboard layout='it'/>
<video resolution='1920x1080'/>
</graphics>
but nothing ... the file is not updated and always returns to the original.
No type of change is saved.
-
-
Neither of your changes are correct.
keyboard layout would be like this:
Code<graphics type='spice' autoport='yes' listen='0.0.0.0' keymap='it'> <listen type='address' address='0.0.0.0'/> <image compression='off'/> </graphics>
resolution is in the video section and would require change from virtio to qxl. Since the guest usually determines the resolution, I don't know why you need this.
-
Ok thanks it worked! ...
As for the video resolution of the Windows VM I managed to set it via the "virtio" drivers installed on Windows.
Thanks
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!