)]}'
{
  "commit": "0b336b3b98d8983d821ef9b0f159acc7c77cbac7",
  "tree": "e0763bec9e05cb59795b6ae0be84a19b98727b97",
  "parents": [
    "d10dda2d60c8c225a89a53d53add799b69f6bb46"
  ],
  "author": {
    "name": "Laszlo Ersek",
    "email": "lersek@redhat.com",
    "time": "Fri Jun 19 04:40:16 2015 +0200"
  },
  "committer": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Tue Jun 23 22:58:36 2015 +0200"
  },
  "message": "hw/core: explicit OFW unit address callback for SysBusDeviceClass\n\nThe sysbus_get_fw_dev_path() function formats OpenFirmware device path\nnodes (\"driver-name@unit-address\") for sysbus devices. The first choice\nfor \"unit-address\" is the base address of the device\u0027s first MMIO region.\nThe second choice is its first IO port.\n\nHowever, if two sysbus devices with the same \"driver-name\" lack both MMIO\nand PIO resources, then there is no good way to distinguish them based on\ntheir OFW nodes, because in this case unit-address is omitted completely\nfor both devices. An example is TYPE_PXB_HOST (\"pxb-host\").\n\nFor the sake of such devices, introduce the explicit_ofw_unit_address()\n\"virtual member function\". With this function, each sysbus device in the\nsame SysBusDeviceClass can state its own address.\n\nCc: Markus Armbruster \u003carmbru@redhat.com\u003e\nCc: Marcel Apfelbaum \u003cmarcel@redhat.com\u003e\nCc: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nSigned-off-by: Laszlo Ersek \u003clersek@redhat.com\u003e\nReviewed-by: Marcel Apfelbaum \u003cmarcel@redhat.com\u003e\nTested-by: Marcel Apfelbaum \u003cmarcel@redhat.com\u003e\nReviewed-by: Markus Armbruster \u003carmbru@redhat.com\u003e\nReviewed-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "92eced942431dcc331981c9cc28d90b6c3edd16d",
      "old_mode": 33188,
      "old_path": "hw/core/sysbus.c",
      "new_id": "278a2d1bdde631c18fc922600aaf33c84640cd7b",
      "new_mode": 33188,
      "new_path": "hw/core/sysbus.c"
    },
    {
      "type": "modify",
      "old_id": "d1f3f000f95eb537f601b519483102e27697d4de",
      "old_mode": 33188,
      "old_path": "include/hw/sysbus.h",
      "new_id": "34f93c39bf7cbb4c0ed0d6fc7a81229b48450e8e",
      "new_mode": 33188,
      "new_path": "include/hw/sysbus.h"
    }
  ]
}
