<div dir="rtl"><div dir="ltr"><br><br>i want to disable ticket in spice protocol so i should use vdsm hook for edit xml. this is my script and i want to run in all vm, i mean i don&#39;t need custom probreties , no error found in vdsm log and vm is work but nothing happened for disable ticket i try another attribute as example  &#39;type&#39; i put vnc instend of spice and nothing happened stay  spice ....<br>
<br>what i must do ??? <br><br>this my script:<br><br>#!/usr/bin/python<br><br>import os<br>import sys<br>import hooking<br>import traceback<br><br>try:<br>            domxml = hooking.read_domxml()<br>            graphics = domxml.getElementsByTagName(&#39;graphics&#39;)[0]<br>
            graphics.setAttribute(&#39;disable-ticketing&#39;,&#39;true&#39;)<br>            hooking.write_domxml(domxml)<br>except:<br>       sys.stderr.write(&#39;ticket: [unexpected error]: %s\n&#39; % traceback.format_exc())<br>
       sys.exit(2)<br><br></div><div dir="ltr">i search in libvirt xml about disable-ticketing schema but i don&#39;t found <br><a href="http://libvirt.org/formatdomain.html">http://libvirt.org/formatdomain.html</a><br><br>
<br></div><div dir="ltr">i need disable ticket because i want use thin client hardware which connect by spice protocol but i donn&#39;t want every connection create ticket by computer machine.. <br></div><div dir="ltr"><br>
</div><div dir="ltr"><br></div></div>