summaryrefslogtreecommitdiffstats
path: root/debian/kvm-spice
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdebian/kvm-spice10
-rw-r--r--debian/kvm-spice.117
2 files changed, 27 insertions, 0 deletions
diff --git a/debian/kvm-spice b/debian/kvm-spice
new file mode 100755
index 00000000..55f910d1
--- /dev/null
+++ b/debian/kvm-spice
@@ -0,0 +1,10 @@
+#! /bin/sh
+echo "$0: W: this is an old compat wrapper script for kvm-spice" >&2
+echo "$0: W: please use qemu-system-x86_64 instead of $0" >&2
+
+if echo "$@" | grep -q -E -e '(^|\s)-machine\s.*accel=' -e '(^|\s)-accel\s'; then
+ # acceleration already set via commandline option - adding -enable-kvm would conflic"
+ exec qemu-system-x86_64 "$@"
+else
+ exec qemu-system-x86_64 -enable-kvm "$@"
+fi
diff --git a/debian/kvm-spice.1 b/debian/kvm-spice.1
new file mode 100644
index 00000000..896daab2
--- /dev/null
+++ b/debian/kvm-spice.1
@@ -0,0 +1,17 @@
+.TH kvm-spice 1 2020-07 "5.0" Ubuntu
+.SH NAME
+kvm-spice, qemu-system-x86_64-spice \- compatibility names for qemu-system-x86_64
+.SH DESCRIPTION
+The two names are aliases for
+.BR qemu-system-x86_64 ,
+where kvm-spice enables kvm native hardware mode by default.
+These names are kept for backward compatibility
+wih old package, when spice-enabled qemu were packaged
+separately. Now main qemu-system has spice functionality
+built in. Please use
+.B qemu-system-x86_64
+instead of the old compat names.
+.SH SEE ALSO
+.BR qemu-system-x86_64 (1).
+.SH AUTHOR
+This manual page was written by Michael Tokarev <mjt@tls.msk.ru>.