If a domain is undefined prior to a call to virDomainBlockStats the function will fail and the resulting structures fields will contain garbage. Need to default metrics to zero, and only use values from DomainBlkStats on a successful call.
Only use blk stat values if domain still defined and active
Patch attached
Committed to CVS Head
Log in to post a comment.
Only use blk stat values if domain still defined and active
Patch attached
Committed to CVS Head