)]}'
{
  "commit": "4a1a2fa4d351ba85628064e4a2a9cbc0c72cdbd4",
  "tree": "d03b10d919453098cdeae6dc6ed2fee1bf2250b7",
  "parents": [
    "a1c0e5a73740566d4b9eac1f97f78b8ce470116a"
  ],
  "author": {
    "name": "Christian Schoenebeck",
    "email": "qemu_oss@crudebyte.com",
    "time": "Fri Jun 12 20:22:52 2026 +0200"
  },
  "committer": {
    "name": "Christian Schoenebeck",
    "email": "qemu_oss@crudebyte.com",
    "time": "Mon Jun 29 15:10:31 2026 +0200"
  },
  "message": "9pfs/virtio: implement msize_limit callback\n\nAdd and implement the msize_limit callback for the virtio transport.\n\nThis new callback function provides the theoretical maximum \u0027msize\u0027\nvalue supported by this virtio transport.\n\nThe limit is calculated as (VIRTQUEUE_MAX_SIZE - 2) * 4096 bytes,\nwhere 2 virtio descriptors are lost exactly for:\n\n  - 1 descriptor for the original request (typically being small)\n\n  - 1 descriptor as indirect table pointer (when used), which just\n    contains a pointer to the separate sglist containing the\n    response\u0027s actual payload data\n\nAnd 4096 bytes are assumed as standard page size used by Linux 9p\nclient. This results in a maximum \u0027msize\u0027 of 4186112 bytes.\n\nTheoretically Linux client could support a much larger size, e.g. by\nusing multiple consecutive pages per sg entry / descriptor. However\nthat\u0027s currently not the case and unlikely to change any time soon.\nAnd due to recent security issues, let\u0027s handle this limit\nconservatively until really necessary to be raised.\n\nLink: https://lore.kernel.org/qemu-devel/4c34426bc906e19423e7e2389c419c2e972d9b9b.1781287774.git.qemu_oss@crudebyte.com\nSigned-off-by: Christian Schoenebeck \u003cqemu_oss@crudebyte.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9f70e2338cd226021504e1f3ea917393a2ea51da",
      "old_mode": 33188,
      "old_path": "hw/9pfs/virtio-9p-device.c",
      "new_id": "8c5d86cb66aa0c94dbcebd02ba015f682ce88307",
      "new_mode": 33188,
      "new_path": "hw/9pfs/virtio-9p-device.c"
    }
  ]
}
