[ovirt-users] vdsm-hook

mhd aymanrifai000000 at gmail.com
Mon Aug 18 10:03:46 UTC 2014


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'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
'type' i put vnc instend of spice and nothing happened stay  spice ....

what i must do ???

this my script:

#!/usr/bin/python

import os
import sys
import hooking
import traceback

try:
            domxml = hooking.read_domxml()
            graphics = domxml.getElementsByTagName('graphics')[0]
            graphics.setAttribute('disable-ticketing','true')
            hooking.write_domxml(domxml)
except:
       sys.stderr.write('ticket: [unexpected error]: %s\n' %
traceback.format_exc())
       sys.exit(2)

i search in libvirt xml about disable-ticketing schema but i don't found
http://libvirt.org/formatdomain.html


i need disable ticket because i want use thin client hardware which connect
by spice protocol but i donn't want every connection create ticket by
computer machine..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140818/cbbe677a/attachment-0001.html>


More information about the Users mailing list