[libvirt] [PATCH v2 05/12] qemuDomainDetachShmemDevice: Don't release shmem address twice

Ján Tomko jtomko at redhat.com
Sat May 26 08:29:11 UTC 2018


On Thu, May 24, 2018 at 01:13:32PM +0200, Michal Privoznik wrote:
>On shmem unplug, when qemu doesn't support DEVICE_DELETED event
>(or couple of other reasons) we do two things:
>
>1) release shmem device address,
>2) call qemuDomainRemoveShmemDevice() which does 1) again.
>
>This is potentially dangerous.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_hotplug.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180526/7464dd24/attachment-0001.sig>


More information about the libvir-list mailing list