Commit 0b0cb8e3 authored by Uri Lublin's avatar Uri Lublin

scripts/Xspice: add default spice-vdagent executable names

parent e0db34c2
......@@ -128,6 +128,10 @@ def agents_new_enough(args):
return True
if args.vdagent_enabled:
if not args.vdagent_exec:
args.vdagent_exec = 'spice-vdagent'
if not args.vdagentd_exec:
args.vdagentd_exec = 'spice-vdagentd'
args.vdagent_exec = which(args.vdagent_exec)
args.vdagentd_exec = which(args.vdagentd_exec)
if not agents_new_enough(args):
......@@ -288,6 +292,7 @@ if args.vdagent_enabled:
if os.path.exists(f):
os.unlink(f)
cleanup_files.extend([args.vdagent_virtio_path, args.vdagent_uinput_path])
xorg = launch(executable=args.xorg, args=exec_args + xorg_args)
time.sleep(2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment