
On 04/18/2017 08:09 AM, RafaĆ Wojciechowski wrote:
hello,
I made comparison(+diff) between xml passing through vdsm which is working and another one which cause libvirtd segfault
https://paste.fedoraproject.org/paste/eqpe8Byu2l-3SRdXc6LTLl5M1UNdIGYhyRLivL...
I am not sure if below setting are fine but I dont know how to change them
<model heads="1" ram="65536" type="qxl" vgamem="16384" vram="8192" /> (I dont have so much ram and vgamem)
those are kibibytes though (https://libvirt.org/formatdomain.html#elementsVideo), are pretty conservarvative settings
<graphics autoport="yes" defaultMode="secure" passwd="*****" passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice"> (ports with "-"? maybe it is fine because of autoport settings...)
Yes, "-1" means "autoallocation from libvirt". I don't see obvious issues in this XML, and, most importantly, one invalid XML should never cause libvirtd to segfault. I'd file a libvirt bug. -- Francesco Romani Senior SW Eng., Virtualization R&D Red Hat IRC: fromani github: @fromanirh