)]}'
{
  "commit": "679f4f8b178e7c66fbc2f39c905374ee8663d5d8",
  "tree": "a7d65c3fd79b4c6c75f23736e8c1ac640feecd8d",
  "parents": [
    "834e76ea1cc3f6fb261fe6a40f7571600bcb25b1"
  ],
  "author": {
    "name": "Stefano Stabellini",
    "email": "stefano.stabellini@eu.citrix.com",
    "time": "Mon Jul 18 06:07:02 2011 +0000"
  },
  "committer": {
    "name": "Alexander Graf",
    "email": "agraf@suse.de",
    "time": "Tue Jul 26 07:02:17 2011 +0200"
  },
  "message": "xen: implement unplug protocol in xen_platform\n\nThe unplug protocol is necessary to support PV drivers in the guest: the\ndrivers expect to be able to \"unplug\" emulated disks and nics before\ninitializing the Xen PV interfaces.\nIt is responsibility of the guest to make sure that the unplug is done\nbefore the emulated devices or the PV interface start to be used.\n\nWe use pci_for_each_device to walk the PCI bus, identify the devices and\ndisks that we want to disable and dynamically unplug them.\n\nChanges in v2:\n\n- use PCI_CLASS constants;\n\n- replace pci_unplug_device with qdev_unplug;\n\n- do not import hw/ide/internal.h in xen_platform.c;\n\nChanges in v3:\n\n- introduce piix3-ide-xen, that support hot-unplug;\n\n- move the unplug code to hw/ide/piix.c;\n\n- just call qdev_unplug from xen_platform.c to unplug the IDE disks;\n\nSigned-off-by: Stefano Stabellini \u003cstefano.stabellini@eu.citrix.com\u003e\nAcked-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\nSigned-off-by: Alexander Graf \u003cagraf@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "34d9394bcce3803398874f103c307920fa57848f",
      "old_mode": 33188,
      "old_path": "hw/ide.h",
      "new_id": "a490cbb6c5360262ce1dcbd8a08e890844994319",
      "new_mode": 33188,
      "new_path": "hw/ide.h"
    },
    {
      "type": "modify",
      "old_id": "84f72b0a66e5fccccfc4a9261220c376ac14c439",
      "old_mode": 33188,
      "old_path": "hw/ide/piix.c",
      "new_id": "f527dbd57e0e424b5819aa3a69b380a7ab5639d1",
      "new_mode": 33188,
      "new_path": "hw/ide/piix.c"
    },
    {
      "type": "modify",
      "old_id": "c5c16b45718ada66fabfc02298494fabc65c03bc",
      "old_mode": 33188,
      "old_path": "hw/pc_piix.c",
      "new_id": "40b73ea25c2cfcb55183b2679a2e49b7cfe304f7",
      "new_mode": 33188,
      "new_path": "hw/pc_piix.c"
    },
    {
      "type": "modify",
      "old_id": "f43e175b4e2442cd7b5980641b1021007f2fc65a",
      "old_mode": 33188,
      "old_path": "hw/xen_platform.c",
      "new_id": "fb6be6a464c6cb533251c5dfbe60ceec1e371e27",
      "new_mode": 33188,
      "new_path": "hw/xen_platform.c"
    }
  ]
}
