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

Alexandre DERUMIER aderumier at odiso.com
Thu Dec 20 11:46:50 CET 2012


or maybe in

sub check_running {
 die "unable to find configuration file for VM $vmid - no such machine\n"
        if !$nocheck && ! -f $filename;


do we really to check if $filename exist ?



----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 20 Décembre 2012 11:38:18 
Objet: [pve-devel] live migration doesn't start with balloon enabled 

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 ?) 


_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list