)]}'
{
  "commit": "7a05995361a7b4376dffb3c7f04a95644251d29f",
  "tree": "d83374f1546c1d1b32c4463cc05d37704664b7f8",
  "parents": [
    "0466e458dee22d8990aeae2b328cab6a2028e653"
  ],
  "author": {
    "name": "Andreas Färber",
    "email": "afaerber@suse.de",
    "time": "Wed May 09 23:15:32 2012 +0200"
  },
  "committer": {
    "name": "Andreas Färber",
    "email": "afaerber@suse.de",
    "time": "Sat May 12 14:17:52 2012 +0200"
  },
  "message": "target-i386: Defer MCE init\n\nCommit de024815e3b523addf58f1f79846b7fe74643678 (target-i386: QOM\u0027ify\nCPU init) moved mce_init() call from helper.c:cpu_x86_init() into\nX86CPU\u0027s cpu.c:x86_cpu_initfn().\nmce_init() checks for a family \u003e\u003d 6 though, so we could end up with a\nsequence such as for -cpu somecpu,family\u003d6:\n\n  x86_cpu_initfn \u003d\u003e X86CPU::family \u003d\u003d 5\n    mce_init \u003d\u003e no-op\n  cpu_x86_register \u003d\u003e X86CPU::family \u003d 6\n  \u003d\u003e MCE unexpectedly not init\u0027ed\n\nor for -cpu someothercpu,family\u003d5:\n\n  x86_cpu_initfn \u003d\u003e X86CPU::family \u003d\u003d 6\n    mce_init \u003d\u003e init\u0027ed\n  cpu_x86_register \u003d\u003e X86CPU::family \u003d 5\n  \u003d\u003e MCE unexpectedly init\u0027ed\n\nTherefore partially revert the above commit. To avoid moving\nmce_init() back into helper.c, foresightedly move it into a\nnew x86_cpu_realize() function and, in lack of ObjectClass::realize,\ncall it directly from cpu_x86_init().\n\nWhile at it, move the qemu_init_vcpu() call that used to follow\nmce_init() in cpu_x86_init() into the new realizefn as well.\n\nReported-by: Igor Mammedov \u003cimammedo@redhat.com\u003e\nSigned-off-by: Andreas Färber \u003cafaerber@suse.de\u003e\nReviewed-by: Igor Mammedov \u003cimammedo@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "40635c4b1c51d1d7f17b8b785008cb2da1bda033",
      "old_mode": 33188,
      "old_path": "target-i386/cpu-qom.h",
      "new_id": "5901140480494439d860d5098c6f12921ed9ff41",
      "new_mode": 33188,
      "new_path": "target-i386/cpu-qom.h"
    },
    {
      "type": "modify",
      "old_id": "65d9af6ac7cd5c8435766fd9c9efdb53b589660b",
      "old_mode": 33188,
      "old_path": "target-i386/cpu.c",
      "new_id": "89b4ac7ec51c0d093f45dcf414bd7aad4da8ee95",
      "new_mode": 33188,
      "new_path": "target-i386/cpu.c"
    },
    {
      "type": "modify",
      "old_id": "0b22582ed63bfb76a0a93372c3ed9c2e1f351321",
      "old_mode": 33188,
      "old_path": "target-i386/helper.c",
      "new_id": "3421be22769120265bb2ceaf7ef4b97a095eec78",
      "new_mode": 33188,
      "new_path": "target-i386/helper.c"
    }
  ]
}
