Re: [PATCH v2] virtio: add a new vcpu watchdog

2023-07-05 Thread Trilok Soni
On 7/5/2023 6:42 AM, Alex Bennée wrote: zhanghao1 writes: Each vcpu creates a corresponding timer task. The watchdog is driven by a timer according to a certain period. Each time the timer expires, the counter is decremented. When the counter is "0", the watchdog considers the vcpu to be stal

Re: [PATCH v2] virtio: add a new vcpu watchdog

2023-07-05 Thread Alex Bennée
zhanghao1 writes: > Each vcpu creates a corresponding timer task. The watchdog > is driven by a timer according to a certain period. Each time > the timer expires, the counter is decremented. When the counter > is "0", the watchdog considers the vcpu to be stalling and resets > the VM. To avoid

Re: [PATCH v2] virtio: add a new vcpu watchdog

2023-07-05 Thread Philippe Mathieu-Daudé
Hi, On 5/7/23 10:18, zhanghao1 wrote: Each vcpu creates a corresponding timer task. The watchdog is driven by a timer according to a certain period. Each time the timer expires, the counter is decremented. When the counter is "0", the watchdog considers the vcpu to be stalling and resets the VM.

[PATCH v2] virtio: add a new vcpu watchdog

2023-07-05 Thread zhanghao1
Each vcpu creates a corresponding timer task. The watchdog is driven by a timer according to a certain period. Each time the timer expires, the counter is decremented. When the counter is "0", the watchdog considers the vcpu to be stalling and resets the VM. To avoid watchdog expiration, the guest