Re: [RFC KERNEL PATCH v4 1/3] xen/pci: Add xen_reset_device_state function

2024-02-22 Thread Stefano Stabellini
On Fri, 5 Jan 2024, Jiqian Chen wrote: > When device on dom0 side has been reset, the vpci on Xen side > won't get notification, so that the cached state in vpci is > all out of date with the real device state. > To solve that problem, add a new function to clear all vpci > device state when

[RFC KERNEL PATCH v4 1/3] xen/pci: Add xen_reset_device_state function

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