)]}'
{
  "commit": "0eb2baeb449d27d6e6208a257dba6be1aad4d476",
  "tree": "b5a99cbff011e402822b636fbf054c772bf4d591",
  "parents": [
    "5e43efb29ae877da131e6c1a4761cd7f4eec5a16"
  ],
  "author": {
    "name": "Paolo Bonzini",
    "email": "pbonzini@redhat.com",
    "time": "Wed Sep 16 17:26:16 2015 +0200"
  },
  "committer": {
    "name": "Paolo Bonzini",
    "email": "pbonzini@redhat.com",
    "time": "Fri Sep 25 12:04:41 2015 +0200"
  },
  "message": "scsi-generic: let guests recognize readonly\u003don on passthrough devices\n\nPassed-through SCSI devices can be opened with the readonly\u003don option.\nWhen this happens, Linux filters away write commands so that the guest\ncannot overwrite the contents of the device.\n\nHowever, the guest does not know that the device is read-only, and\naccepts writes.  The writes only fail later when the page cache is\nflushed.\n\nThis patch modifies scsi-generic to modify the MODE SENSE data and\nset the read-only bit in the device-specific parameters, so that\nthe guest OS treats the disk as write protected.\n\nReviewed-by: Fam Zheng \u003cfamz@redhat.com\u003e\nSigned-off-by: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1b6350be41e764d658fed40f1cb92f5ab7a52e0d",
      "old_mode": 33188,
      "old_path": "hw/scsi/scsi-generic.c",
      "new_id": "a4626f72c1d81110b851e7120e237e5a78af705a",
      "new_mode": 33188,
      "new_path": "hw/scsi/scsi-generic.c"
    }
  ]
}
