mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user