Re: [PATCH 1/1] A new virtio pci device named virtio-vcpu-stall-watchdog-pci

2023-07-04 Thread zhanghao1
> On Thu, Jun 15, 2023 at 02:13:02PM +0800, 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 vc

Re: [PATCH 1/1] A new virtio pci device named virtio-vcpu-stall-watchdog-pci

2023-06-21 Thread Daniel P . Berrangé
On Thu, Jun 15, 2023 at 02:13:02PM +0800, 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 s

[PATCH 1/1] A new virtio pci device named virtio-vcpu-stall-watchdog-pci

2023-06-14 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