qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-4.2 v10 06/15] virtio-iommu: Endpoint and domains structs


From: Jean-Philippe Brucker
Subject: Re: [PATCH for-4.2 v10 06/15] virtio-iommu: Endpoint and domains structs and helpers
Date: Mon, 4 Nov 2019 19:31:31 +0100
User-agent: Mutt/1.12.2 (2019-09-21)

Hi Eric,

On Tue, Jul 30, 2019 at 07:21:28PM +0200, Eric Auger wrote:
>  static void virtio_iommu_device_unrealize(DeviceState *dev, Error **errp)
>  {
>      VirtIODevice *vdev = VIRTIO_DEVICE(dev);
> +    VirtIOIOMMU *s = VIRTIO_IOMMU(dev);
> +
> +    g_tree_destroy(s->domains);
> +    g_tree_destroy(s->endpoints);

virtio_iommu_device_reset() must completely clear the internal state as
well (noticed while testing modprobe/rmmod).

Thanks,
Jean



reply via email to

[Prev in Thread] Current Thread [Next in Thread]