)]}'
{
  "commit": "7c7a9f578e4fb1adff7ac8d9acaaaedb87474e76",
  "tree": "dcb3c683d41e8c209d6a7754850629ac25a91e1c",
  "parents": [
    "9dab7bbb017d11b64c52239fa4e2f910a6a004f2"
  ],
  "author": {
    "name": "Lorenz Brun",
    "email": "lorenz@brun.one",
    "time": "Fri Mar 15 15:58:31 2024 +0100"
  },
  "committer": {
    "name": "Philippe Mathieu-Daudé",
    "email": "philmd@linaro.org",
    "time": "Tue Mar 26 14:24:06 2024 +0100"
  },
  "message": "hw/scsi/scsi-generic: Fix io_timeout property not applying\n\nThe io_timeout property, introduced in c9b6609 (part of 6.0) is\nsilently overwritten by the hardcoded default value of 30 seconds\n(DEFAULT_IO_TIMEOUT) in scsi_generic_realize because that function is\nbeing called after the properties have already been applied.\n\nThe property definition already has a default value which is applied\ncorrectly when no value is explicitly set, so we can just remove the\ncode which overrides the io_timeout completely.\n\nThis has been tested by stracing SG_IO operations with the io_timeout\nproperty set and unset and now sets the timeout field in the ioctl\nrequest to the proper value.\n\nFixes: c9b6609b69facad (\"scsi: make io_timeout configurable\")\nSigned-off-by: Lorenz Brun \u003clorenz@brun.one\u003e\nMessage-ID: \u003c20240315145831.2531695-1-lorenz@brun.one\u003e\nReviewed-by: Alex Bennée \u003calex.bennee@linaro.org\u003e\nSigned-off-by: Philippe Mathieu-Daudé \u003cphilmd@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b7b04e1d637ab0cf576d6cd7d0a89d9c58d664c4",
      "old_mode": 33188,
      "old_path": "hw/scsi/scsi-generic.c",
      "new_id": "ee945f87e33a4012cc7fcbca91df4a463025c925",
      "new_mode": 33188,
      "new_path": "hw/scsi/scsi-generic.c"
    }
  ]
}
