Re: [RFC XEN PATCH v5 1/5] xen/vpci: Clear all vpci status of device

2024-02-22 Thread Stefano Stabellini
On Fri, 9 Feb 2024, Stewart Hildebrand wrote: > On 1/12/24 01:13, Jiqian Chen wrote: > > When a device has been reset on dom0 side, the vpci on Xen > > side won't get notification, so the cached state in vpci is > > all out of date compare with the real device state. > > To solve that problem, add

Re: [RFC XEN PATCH v5 1/5] xen/vpci: Clear all vpci status of device

2024-02-22 Thread Stewart Hildebrand
On 2/22/24 01:22, Chen, Jiqian wrote: > Hi Stewart, > > On 2024/2/10 02:02, Stewart Hildebrand wrote: >> On 1/12/24 01:13, Jiqian Chen wrote: >>> When a device has been reset on dom0 side, the vpci on Xen >>> side won't get notification, so the cached state in vpci is >>> all out of date compare

Re: [RFC XEN PATCH v5 1/5] xen/vpci: Clear all vpci status of device

2024-02-21 Thread Chen, Jiqian
Hi Stewart, On 2024/2/10 02:02, Stewart Hildebrand wrote: > On 1/12/24 01:13, Jiqian Chen wrote: >> When a device has been reset on dom0 side, the vpci on Xen >> side won't get notification, so the cached state in vpci is >> all out of date compare with the real device state. >> To solve that

Re: [RFC XEN PATCH v5 1/5] xen/vpci: Clear all vpci status of device

2024-02-09 Thread Stewart Hildebrand
On 1/12/24 01:13, Jiqian Chen wrote: > When a device has been reset on dom0 side, the vpci on Xen > side won't get notification, so the cached state in vpci is > all out of date compare with the real device state. > To solve that problem, add a new hypercall to clear all vpci > device state. When

[RFC XEN PATCH v5 1/5] xen/vpci: Clear all vpci status of device

2024-01-11 Thread Jiqian Chen
When a device has been reset on dom0 side, the vpci on Xen side won't get notification, so the cached state in vpci is all out of date compare with the real device state. To solve that problem, add a new hypercall to clear all vpci device state. When the state of device is reset on dom0 side, dom0