)]}'
{
  "commit": "de796d93f59d363409dfd9e186ccd64a21f92204",
  "tree": "623745876ce8c9231fe02adda638c76947530be2",
  "parents": [
    "ddcc8e9d51c415a7b7b2983c3552408d9a50be6e"
  ],
  "author": {
    "name": "Eduardo Habkost",
    "email": "ehabkost@redhat.com",
    "time": "Fri Oct 30 17:36:07 2015 -0200"
  },
  "committer": {
    "name": "Paolo Bonzini",
    "email": "pbonzini@redhat.com",
    "time": "Wed Nov 04 15:02:30 2015 +0100"
  },
  "message": "pc: Set hw_version on all machine classes\n\nIn 2012, QEMU had a bug where it exposed QEMU version information to the\nguest, meaning a QEMU upgrade would expose different hardware to the\nguest OS even if the same machine-type is being used.\n\nThe bug was fixed by commit 93bfef4c6e4b23caea9d51e1099d06433d8835a4, on\nall machines up to pc-1.0. But we kept introducing the same bug on all\nnewer machines since then. That means we are breaking guest ABI every\ntime QEMU was upgraded.\n\nFix this by setting the hw_version on all PC machines, making sure the\nhardware won\u0027t change when upgrading QEMU.\n\nNote that QEMU_VERSION was \"1.0\" in QEMU 1.0, but starting on QEMU\n1.1.0, it started following the \"x.y.0\" pattern. We have to follow it,\nto make sure we use the right QEMU_VERSION string from each QEMU\nrelease.\n\nThe 2.5 machine classes could have hw_version unset, because the default\nvalue for qemu_get_version() is QEMU_VERSION. But I decided to set it\nexplicitly to QEMU_VERSION so we don\u0027t forget to update it to \"2.5.0\"\nafter we release 2.5.0 and create a 2.6 machine class.\n\nReported-by: Laszlo Ersek \u003clersek@redhat.com\u003e\nReviewed-by: Laszlo Ersek \u003clersek@redhat.com\u003e\nSigned-off-by: Eduardo Habkost \u003cehabkost@redhat.com\u003e\nMessage-Id: \u003c1446233769-7892-2-git-send-email-ehabkost@redhat.com\u003e\nSigned-off-by: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "393dcc4544c9f40884ec1a7f7c6e34d6d8afcb3d",
      "old_mode": 33188,
      "old_path": "hw/i386/pc_piix.c",
      "new_id": "07d0baa0fb21bfd57a35b5269fcce172a237c205",
      "new_mode": 33188,
      "new_path": "hw/i386/pc_piix.c"
    },
    {
      "type": "modify",
      "old_id": "2f8f3963c42e2797cd678e6ff3911b7ee4e10301",
      "old_mode": 33188,
      "old_path": "hw/i386/pc_q35.c",
      "new_id": "0fdae09bdb328ea62d57439c04d7547c39c48311",
      "new_mode": 33188,
      "new_path": "hw/i386/pc_q35.c"
    }
  ]
}
