>> I think you should do the same here, vdev->priv is allocated in
>> But maybe I am missing something important here :)
> Because virtio_balloon use "kzalloc" for allocation and needs to be
> But virtio pmem uses "devm_kzalloc" which takes care of automatically
> the device memory when associated device is detached.
Hehe, thanks, that was the part that I was missing!
Thank you for the review.
David / dhildenb