Re: [PATCH v5 08/10] memory: Change NotifyRamDiscard() definition to return the result

2025-05-26 Thread Chenyi Qiang
On 5/26/2025 8:44 PM, Cédric Le Goater wrote: > On 5/26/25 12:36, Cédric Le Goater wrote: >> On 5/20/25 12:28, Chenyi Qiang wrote: >>> So that the caller can check the result of NotifyRamDiscard() handler if >>> the operation fails. >>> >>> Signed-off-by: Chenyi Qiang >>> --- >>> Changes in v5:

Re: [PATCH v5 08/10] memory: Change NotifyRamDiscard() definition to return the result

2025-05-26 Thread Cédric Le Goater
On 5/26/25 12:36, Cédric Le Goater wrote: On 5/20/25 12:28, Chenyi Qiang wrote: So that the caller can check the result of NotifyRamDiscard() handler if the operation fails. Signed-off-by: Chenyi Qiang --- Changes in v5: - Revert to use of NotifyRamDiscard() Changes in v4: - Newly a

Re: [PATCH v5 08/10] memory: Change NotifyRamDiscard() definition to return the result

2025-05-26 Thread Cédric Le Goater
On 5/20/25 12:28, Chenyi Qiang wrote: So that the caller can check the result of NotifyRamDiscard() handler if the operation fails. Signed-off-by: Chenyi Qiang --- Changes in v5: - Revert to use of NotifyRamDiscard() Changes in v4: - Newly added. --- hw/vfio/listener.c |

Re: [PATCH v5 08/10] memory: Change NotifyRamDiscard() definition to return the result

2025-05-26 Thread Philippe Mathieu-Daudé
On 20/5/25 12:28, Chenyi Qiang wrote: So that the caller can check the result of NotifyRamDiscard() handler if the operation fails. Signed-off-by: Chenyi Qiang --- Changes in v5: - Revert to use of NotifyRamDiscard() Changes in v4: - Newly added. --- hw/vfio/listener.c |

[PATCH v5 08/10] memory: Change NotifyRamDiscard() definition to return the result

2025-05-20 Thread Chenyi Qiang
So that the caller can check the result of NotifyRamDiscard() handler if the operation fails. Signed-off-by: Chenyi Qiang --- Changes in v5: - Revert to use of NotifyRamDiscard() Changes in v4: - Newly added. --- hw/vfio/listener.c | 6 -- include/system/memory.h | 4