[Spice-devel] [Xspice PATCH 03/11] scripts/Xspice: add default spice-vdagent executable names
Uri Lublin
uril at redhat.com
Mon Jan 26 02:35:35 PST 2015
---
scripts/Xspice | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/scripts/Xspice b/scripts/Xspice
index d48318c..6eb5294 100755
--- a/scripts/Xspice
+++ b/scripts/Xspice
@@ -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)
--
1.7.1
More information about the Spice-devel
mailing list