summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-03-14 20:51:38 +0200
committerAlon Levy <alevy@redhat.com>2012-03-14 20:51:38 +0200
commit8f5a42c6215641630ad66e92df9d5dd861d70280 (patch)
tree4429e2c42006cb81c7e8cfd9574185ae47ae92d4
parent858cd27efc562708f97da0e2f1bdbae56860bf43 (diff)
add do_qemu_query_spice_disabled.sh
-rwxr-xr-xdo_qemu_query_spice_disabled.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/do_qemu_query_spice_disabled.sh b/do_qemu_query_spice_disabled.sh
new file mode 100755
index 0000000..85a4dfd
--- /dev/null
+++ b/do_qemu_query_spice_disabled.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+(
+sleep 1
+echo '{"execute": "qmp_capabilities"}'
+echo '{"execute":"query-spice"}'
+echo '{ "execute": "quit" }') | qemu-system-x86_64 -qmp stdio
+