)]}'
{
  "commit": "dbda839b62c2a7051980453f7ac893adc7b3b504",
  "tree": "8ba8a80eea745835501b3a5b068e605d9229d4e7",
  "parents": [
    "1f771254433174f626e91a068d71fff267ba7e05"
  ],
  "author": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Thu Jul 02 13:00:28 2026 +0100"
  },
  "committer": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Thu Jul 02 13:00:28 2026 +0100"
  },
  "message": "[virtio] Fix queue size calculations\n\nThe queue size calculations currently do not take into account the\nfact that each packet requires a pair of descriptors.  If the device\nhappens to present an extremely small queue (16 descriptors for Q0, 32\ndescriptors for Q1) then this will result in the driver submitting\ndescriptors beyond the queue\u0027s descriptor count.  This does not result\nin any invalid memory accesses (since the descriptor ring length is\nrounded up to a 4kB boundary), but does result in an unusable network\ndevice.\n\nFix by scaling the packet count and descriptor count values as\nrequired.\n\nSigned-off-by: Michael Brown \u003cmcb30@ipxe.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bbaeb9c0b626bf8414aa106f443ab753e2457b8b",
      "old_mode": 33188,
      "old_path": "src/drivers/net/virtio-net.c",
      "new_id": "ba864daa120f124d0a5115d763da5e6e11bb01d9",
      "new_mode": 33188,
      "new_path": "src/drivers/net/virtio-net.c"
    }
  ]
}
