[PATCH v2 0/2] Some trivial live update fixes

Zhenzhong Duan posted 2 patches 4 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250627063332.5173-1-zhenzhong.duan@intel.com
Maintainers: Steve Sistare <steven.sistare@oracle.com>, Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>
include/hw/vfio/vfio-cpr.h |  7 ++++---
hw/vfio/cpr-legacy.c       | 23 +++++++++--------------
2 files changed, 13 insertions(+), 17 deletions(-)
[PATCH v2 0/2] Some trivial live update fixes
Posted by Zhenzhong Duan 4 months, 3 weeks ago
Hi

These are trivial VFIO live update fixes in corner cases.

1) potential SIGSEGV when unmap-all-vaddr failed
2) potential vfio_container_post_load failure

Thanks
Zhenzhong

Changelog:
v2:
- drop patch1,2 in v1 as they are merged
- squashed "local save" parts of patch3 into patch4 (Steve)
- s/DMA_MAP_FUNC/dma_map_fn (Steve)

Zhenzhong Duan (2):
  vfio/container: Fix potential SIGSEGV when recover from
    unmap-all-vaddr failure
  vfio/container: Fix vfio_container_post_load()

 include/hw/vfio/vfio-cpr.h |  7 ++++---
 hw/vfio/cpr-legacy.c       | 23 +++++++++--------------
 2 files changed, 13 insertions(+), 17 deletions(-)

-- 
2.34.1
Re: [PATCH v2 0/2] Some trivial live update fixes
Posted by Cédric Le Goater 4 months, 2 weeks ago
On 6/27/25 08:33, Zhenzhong Duan wrote:
> Hi
> 
> These are trivial VFIO live update fixes in corner cases.
> 
> 1) potential SIGSEGV when unmap-all-vaddr failed
> 2) potential vfio_container_post_load failure
> 
> Thanks
> Zhenzhong
> 
> Changelog:
> v2:
> - drop patch1,2 in v1 as they are merged
> - squashed "local save" parts of patch3 into patch4 (Steve)
> - s/DMA_MAP_FUNC/dma_map_fn (Steve)
> 
> Zhenzhong Duan (2):
>    vfio/container: Fix potential SIGSEGV when recover from
>      unmap-all-vaddr failure
>    vfio/container: Fix vfio_container_post_load()
> 
>   include/hw/vfio/vfio-cpr.h |  7 ++++---
>   hw/vfio/cpr-legacy.c       | 23 +++++++++--------------
>   2 files changed, 13 insertions(+), 17 deletions(-)
> 


Applied to vfio-next.

Thanks,

C.