[pve-devel] qmp problem
    Alexandre DERUMIER 
    aderumier at odiso.com
       
    Thu Aug 16 13:59:47 CEST 2012
    
    
  
maybe can we readd to hmp here :
sub vm_mon_cmd {
    my ($vmid, $execute, %params) = @_;
    my $cmd = { execute => $execute, arguments => \%params };
    vm_qmp_command($vmid, $cmd);
}
>
sub vm_mon_cmd {
    my ($vmid, $execute, %params) = @_;
    #test if exist /var/run/qemu-server/vmid.qmp
       my $cmd = { execute => $execute, arguments => \%params };
        vm_qmp_command($vmid, $cmd);
    #else
     # translate execute and params to human command  (should be possible I think)
       vm_monitor_command($vmid, $cmd);
}     
and readd code for vm_monitor_command
What do you think ?
----- Mail original ----- 
De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER (aderumier at odiso.com)" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Jeudi 16 Août 2012 13:24:02 
Objet: qmp problem 
We introduced an unfortunate bug: 
http://forum.proxmox.com/threads/10484-problem-after-update-pvestatd-look-for-control-socket 
Any idea how we can solve that? 
-- 
-- 
	
Alexandre D e rumier 
Ingénieur Systèmes et Réseaux 
Fixe : 03 20 68 88 85 
Fax : 03 20 68 90 88 
45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 
    
    
More information about the pve-devel
mailing list