qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] vhost: release memory objects in an error path
@ 2023-05-29 11:43 P J P
  2023-05-29 11:43 ` [PATCH v2 1/2] vhost: release memory_listener object in " P J P
  2023-05-29 11:43 ` [PATCH v2 2/2] vhost: release virtqueue objects " P J P
  0 siblings, 2 replies; 7+ messages in thread
From: P J P @ 2023-05-29 11:43 UTC (permalink / raw)
  To: Peter Xu; +Cc: QEMU Developers, Jason Wang, Michael S Tsirkin, Prasad Pandit

From: Prasad Pandit <pjp@fedoraproject.org>

Hi,

vhost_dev_start function does not release memory objects in case of
an error. These couple of patches fix this glitch.

Thank you.
---
Prasad Pandit (2):
  vhost: release memory_listener object in error path
  vhost: release virtqueue objects in error path

 hw/virtio/vhost.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

--
2.40.1



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

end of thread, other threads:[~2023-05-31  1:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-29 11:43 [PATCH v2 0/2] vhost: release memory objects in an error path P J P
2023-05-29 11:43 ` [PATCH v2 1/2] vhost: release memory_listener object in " P J P
2023-05-29 15:06   ` Peter Xu
2023-05-31  1:19   ` Jason Wang
2023-05-29 11:43 ` [PATCH v2 2/2] vhost: release virtqueue objects " P J P
2023-05-29 15:06   ` Peter Xu
2023-05-31  1:22   ` Jason Wang

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).