[pve-devel] qemu 2.1 : vmstate snapshot error

Alexandre DERUMIER aderumier at odiso.com
Fri Mar 13 10:23:53 CET 2015


Hi,
users report snapshot problem with qemu 2.1 here:

http://forum.proxmox.com/threads/21149-snapshot-problem-since-3-4?p=108952#post108952


I'm able to reproduce it with win2012r2 (Not sure that it's windows related,maybe because fill with zero block memory)


I'm seeing something strange on qemu 2.1, with an 512MB memory guest,

it's take a lot more time than with qemu 2.2
and finish with an error.


"
Formatting '/var/lib/vz/images/116/vm-116-state-testalex3.raw', fmt=raw size=1598029824 
calling savevm start
$VAR1 = {
          'bytes' => 884736,
          'status' => 'active',
          'total-time' => 36
        };
$VAR1 = {
          'bytes' => 193986560,
          'status' => 'active',
          'total-time' => 1044
        };
$VAR1 = {
          'bytes' => 346718208,
          'status' => 'active',
          'total-time' => 2048
        };

......some other loop....


$VAR1 = {
          'bytes' => 1594982400,
          'status' => 'active',
          'total-time' => 229524
        };
$VAR1 = {
          'bytes' => 1598029824,
          'status' => 'failed',
          'error' => 'qemu_savevm_state_iterate error -5',
          'total-time' => 230068
        };
savevm end calling
savevm end loop
no bytes end
snapshot create failed: starting cleanup
TASK ERROR: query-savevm returned status 'failed'
"



mmm...1524MB vmstart for 512MB  guest ....pretty strange



now with qemu 2.2 (2.2.0 or 2.2.1)

"
Formatting '/var/lib/vz/images/116/vm-116-state-testalex5.raw', fmt=raw size=1598029824 
calling savevm start
$VAR1 = {
          'bytes' => 2686976,
          'status' => 'active',
          'total-time' => 57
        };
$VAR1 = {
          'bytes' => 214466560,
          'status' => 'active',
          'total-time' => 1062
        };
$VAR1 = {
          'bytes' => 381779968,
          'status' => 'active',
          'total-time' => 2067
        };
$VAR1 = {
          'bytes' => 450857623,
          'status' => 'active',
          'total-time' => 2416743664
        };
$VAR1 = {
          'bytes' => 450857623,
          'status' => 'active',
          'total-time' => 2416744676
        };
$VAR1 = {
          'bytes' => 450857623,
          'status' => 'completed',
          'total-time' => 2431
        };
savevm end calling
savevm end loop
no bytes end
TASK OK

"




More information about the pve-devel mailing list