)]}'
{
  "commit": "5a5ba01f2ce2e9199593f57ddd833f9599c07a92",
  "tree": "0b51368b9a6629d3db5fa544349e8af2e59a71db",
  "parents": [
    "ba8c9580db876b7f4f0e8bb501ac3e794d5147eb"
  ],
  "author": {
    "name": "GuoHan Zhao",
    "email": "zhaoguohan@kylinos.cn",
    "time": "Fri May 22 14:56:37 2026 +0800"
  },
  "committer": {
    "name": "Cédric Le Goater",
    "email": "clg@redhat.com",
    "time": "Wed May 27 10:41:47 2026 +0200"
  },
  "message": "vfio-user: disconnect container when device info query fails\n\nvfio_user_device_attach() connects the vfio-user container before querying\nVFIO_USER_DEVICE_GET_INFO.  If the device info query fails,\nvfio_device_prepare() has not run yet, so vbasedev-\u003ebcontainer is still\nNULL and the later vfio_device_detach() cleanup path cannot reach the new\ncontainer.\n\nDisconnect the container before returning the attach failure so the listener,\nRAM discard state, object reference and address space reference are released\non this error path.\n\nSigned-off-by: GuoHan Zhao \u003czhaoguohan@kylinos.cn\u003e\nReviewed-by: John Levon \u003cjohn.levon@nutanix.com\u003e\nLink: https://lore.kernel.org/qemu-devel/20260522065637.4109499-1-zhaoguohan@kylinos.cn\nSigned-off-by: Cédric Le Goater \u003cclg@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "796289a469033ef47fa7199dbe30d02f0ba83ada",
      "old_mode": 33188,
      "old_path": "hw/vfio-user/container.c",
      "new_id": "dc23b06eebf1da5cccaab9b648becb986623213d",
      "new_mode": 33188,
      "new_path": "hw/vfio-user/container.c"
    }
  ]
}
