[pve-devel] [PATCH 2/2] monitor diskio with qmp command

Dietmar Maurer dietmar at proxmox.com
Tue Jul 10 10:30:35 CEST 2012



> -----Original Message-----
> From: Dietmar Maurer
> Sent: Dienstag, 10. Juli 2012 10:22
> To: 'Alexandre Derumier'; pve-devel at pve.proxmox.com
> Subject: RE: [pve-devel] [PATCH 2/2] monitor diskio with qmp command
> 
> The problem with that is that vmstatus needs to be fast, and should never
> block.
> What if a KVM process hangs?
> 

Maybe we can add a flag to vmstatus:

sub vmstatus {
    my ($opt_vmid, $details) = @_;

And only gather details if they are really needed. So far only pvestatd required diskread/diskwrite

What do you think?





More information about the pve-devel mailing list