qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 13/15] vfio/common: Store the parent container in VFIODevi


From: Cédric Le Goater
Subject: Re: [PATCH v3 13/15] vfio/common: Store the parent container in VFIODevice
Date: Wed, 4 Oct 2023 18:55:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1


Hello Eric,


@@ -2664,7 +2665,12 @@ void vfio_detach_device(VFIODevice *vbasedev)
   {
       VFIOGroup *group = vbasedev->group;
   +    if (!vbasedev->container) {
+        return;
+    }

Can this happen ? Should it be an assert ?

I don't think so. Let me simply drop the check.

the device-introspect-test needs it. No need to resend a v5, I can add it
back in v4 if you are ok with that.


Thanks,

C.




reply via email to

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