)]}'
{
  "commit": "50e32ea8f31035877decc10f1075aa0e619e09cb",
  "tree": "5d4b1a7c353857bcb22ac48e5e640bd4dfc8c16d",
  "parents": [
    "940cda94dc01e955b6008c47b782817a1ed3b201"
  ],
  "author": {
    "name": "Amit Shah",
    "email": "amit.shah@redhat.com",
    "time": "Tue Jun 08 21:13:58 2010 +0530"
  },
  "committer": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Wed Jun 09 12:58:55 2010 +0300"
  },
  "message": "net: Fix hotplug with pci_add\n\nThe correct model type wasn\u0027t getting added when hotplugging nics with\npci_add.\n\nTestcase: start VM with default nic type. In the qemu_monitor:\n\n(qemu) pci_add auto nic model\u003dvirtio\n\nThis results in a nic hot-plug of the same nic type as the default.\n\nThis was broken in 5294e2c774f120e10b44652ac143abda356f44eb\n\nAlso changes the behaviour where no .init is defined for a\nnet_client_type. Previously, 0 was returned, which indicated the init\nwas successful and that 0 was the index into the nd_tables[] array.\nReturn -1, indicating unsuccessful init, in such a case.\n\nSigned-off-by: Amit Shah \u003camit.shah@redhat.com\u003e\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "378edfccd0f2d5607e87a1e1cfa370cc87005dd3",
      "old_mode": 33188,
      "old_path": "net.c",
      "new_id": "22f5cf1f329785d129f22dfb596c33c0f9737e5f",
      "new_mode": 33188,
      "new_path": "net.c"
    }
  ]
}
