Package: qemuctl Version: 0.2-1 Tags: patch To support KVM, an option to specify qemu or kvm is added. An alternative would be to create 'kvmctl' command that starts up kvm. Either way would be fine.
diff -ur qemuctl-0.2-orig/qemuctl qemuctl-0.2/qemuctl --- qemuctl-0.2-orig/qemuctl 2006-01-24 07:26:40.000000000 +0900 +++ qemuctl-0.2/qemuctl 2007-02-04 11:16:03.235176140 +0900 @@ -42,14 +42,15 @@ $usbhostmenu = 0; @usbmenuitems = 0; @usbhostmenuitems = 0; +$qemu = "qemu"; GetOptions("suspend-dir=s"=>\$suspend_dir, "suspend-file=s"=>\$suspend_file, + "qemu=s"=>\$qemu, "wakeup!"=>\$wakeup#, #"monitor=s"=>\$monitor ); - -$command = "qemu '".join( "' '", @ARGV)."' -monitor stdio"; +$command = $qemu." '".join( "' '", @ARGV)."' -monitor stdio"; GetOptions("fda=s"=>\$default_floppy_a, "fdb=s"=>\$default_floppy_b, diff -ur qemuctl-0.2-orig/qemuctl.1 qemuctl-0.2/qemuctl.1 --- qemuctl-0.2-orig/qemuctl.1 2007-02-04 11:18:49.700780769 +0900 +++ qemuctl-0.2/qemuctl.1 2007-02-04 11:19:44.773379000 +0900 @@ -4,7 +4,7 @@ qemuctl \- Graphical control for qemu .SH "SYNTAX" .LP -qemuctl [\fI\-suspend\-dir\fP <\fIdir\fP>] [\fI\-suspend\-file\fP <\fIfilename\fP>] [\fI\-nowakeup\fP] qemu\-options +qemuctl [\fI\-suspend\-dir\fP <\fIdir\fP>] [\fI\-suspend\-file\fP <\fIfilename\fP>] [\fI\-qemu\fP <\fIqemu\fP>] [\fI\-nowakeup\fP] qemu\-options .SH "DESCRIPTION" .LP qemuctl is a gui that controls a qemu process with the built\-in monitor of qemu. So you can change devices, suspend machines, save screenshots, ... @@ -52,6 +52,12 @@ .br Default is to wake up using the vm\-file if it is there. .TP +\fB\-qemu <qemu>\fR +The qemu variation to use. It can be qemu or kvm. +.br +Default is qemu. +.TP +.TP \fBqemu\-options\fR Use qemu\-options for the launch of qemu. See qemu(1) for further details. .SH "FILES" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]