mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 11:20:32 +00:00
DM: add interface to set intr storm monitor params
modify and add interface to set interrupt monitor params; it can be set by acrn-dm input arguments like following: --intr_monitor 10000,10,1,100 the 4 params order is: interrupt storm theshold per second, probe period to get interrupt data, pass-through devices' interrupt injection delay time, delay duration, after it, stop injection & restore to normal Tracked-On: #1724 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -33,4 +33,5 @@ int monitor_register_vm_ops(struct monitor_vm_ops *ops, void *arg,
|
||||
/* helper functions for vm_ops callback developer */
|
||||
unsigned get_wakeup_reason(void);
|
||||
int set_wakeup_timer(time_t t);
|
||||
int acrn_parse_intr_monitor(const char *opt);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user