[pve-devel] live migration doesn't start with balloon enabled

Alexandre DERUMIER aderumier at odiso.com
Thu Dec 20 11:38:18 CET 2012


Hi dietmar,

with balloon, migration doesn't start,
because of qmp command send at start:



  if (!defined($conf->{balloon}) || $conf->{balloon}) {
            vm_mon_cmd($vmid, "balloon", value => $conf->{balloon}*1024*1024)
                if $conf->{balloon};

            vm_mon_cmd($vmid, 'qom-set',
                       path => "machine/peripheral/balloon0",
                       property => "stats-polling-interval",
                       value => 2);
        }



sub vm_qmp_command {

  die "VM $vmid not running\n" if !check_running($vmid, $nocheck);



(we should pass $migratefrom to check_running)



do you know how to handle that ? (passing migratedfrom in differents subs ?)





More information about the pve-devel mailing list