Package: qemuctl
Version: 0.2-2
Severity: normal

The Commit entry from the Signal menu does nothing.  It should commit an
image when the snapshot options is used.  However, this is implemented
by sending the 'commit' string to the qemu console, while the correct
command to send is 'commit all' or 'commit device'.  You can see this by
looking at qemuctl's debug shell.

In the debug shell, manually issuing the 'commit all' command does the
expected thing.  Here is a patch:

--- qemuctl.orig        2007-05-28 19:06:26.000000000 +0200
+++ qemuctl     2008-09-28 21:29:41.000000000 +0200
@@ -539,7 +539,7 @@ sub on_suspend_activate {
   sendcomand( "stop" );
   sendcomand( "screendump \"".$suspend_dir."/".$suspend_file.".ppm\"" );
   sendcomand( "savevm \"".$suspend_dir."/".$suspend_file.".vm\"" );
-  sendcomand( "commit" );
+  sendcomand( "commit all" );
   sendcomand( "quit" );
   gtk_main_quit();
 }


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set 
to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages qemuctl depends on:
ii  libgtk2-gladexml-perl         1.006-1+b1 Perl interface to use user interfa
ii  perl                          5.10.0-14  Larry Wall's Practical Extraction 
ii  qemu                          0.9.1-6    fast processor emulator

Versions of packages qemuctl recommends:
ii  qemu-launcher                 1.7.4-1    GTK+ front-end to QEMU computer em

qemuctl suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to