lib: Add API for setting the threshold size for VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD

The new API can be used to configure the threshold when
VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD should be fired.
This commit is contained in:
Peter Krempa
2017-02-23 13:09:12 +01:00
parent e96130dcc8
commit bb09798fbe
7 changed files with 94 additions and 1 deletions

View File

@@ -4664,4 +4664,9 @@ int virDomainSetVcpu(virDomainPtr domain,
int state,
unsigned int flags);
int virDomainSetBlockThreshold(virDomainPtr domain,
const char *dev,
unsigned long long threshold,
unsigned int flags);
#endif /* __VIR_LIBVIRT_DOMAIN_H__ */