[Xspice PATCH 03/11] scripts/Xspice: add default spice-vdagent executable names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]