Hide Forgot
Created attachment 1197980 [details] /usr/libexec/vdsm/hooks/before_vm_start/51_spicedebug Description of problem: table 18.3 in Administration guide says: """ Run export SPICE_DEBUG_LEVEL=5 on the host/hypervisor prior to launching the guest. """ That's misleading. Libvirt sets a clean environment for VMs. The only way to set the environment value of qemu process is a custom hook before VM start that will augment domain XML to include the environment variable. Example of such a hook is in attachment and to set spice_debug variable of it's environment, UserDefinedVMProperties on the engine should be set to "spice_debug=^[0-9]+$" and the particular value then can be set in webadmin -> Edit VM -> Custom Options Version-Release number of selected component (if applicable): docs currently on the web How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Can you package this hook and post it upstream?
(In reply to Yaniv Dary from comment #1) > Can you package this hook and post it upstream? OK, I'll try that.