qemu-trivial.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Some trivial live update fixes
@ 2025-06-27  6:33 Zhenzhong Duan
  2025-06-28  8:44 ` Cédric Le Goater
  0 siblings, 1 reply; 2+ messages in thread
From: Zhenzhong Duan @ 2025-06-27  6:33 UTC (permalink / raw)
  To: qemu-devel
  Cc: alex.williamson, clg, eric.auger, steven.sistare, chao.p.peng,
	Zhenzhong Duan, Michael Tokarev, Laurent Vivier,
	open list:Trivial patches

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 0/2] Some trivial live update fixes
  2025-06-27  6:33 [PATCH v2 0/2] Some trivial live update fixes Zhenzhong Duan
@ 2025-06-28  8:44 ` Cédric Le Goater
  0 siblings, 0 replies; 2+ messages in thread
From: Cédric Le Goater @ 2025-06-28  8:44 UTC (permalink / raw)
  To: Zhenzhong Duan, qemu-devel
  Cc: alex.williamson, eric.auger, steven.sistare, chao.p.peng,
	Michael Tokarev, Laurent Vivier, open list:Trivial patches

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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-28  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-27  6:33 [PATCH v2 0/2] Some trivial live update fixes Zhenzhong Duan
2025-06-28  8:44 ` Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).