)]}'
{
  "commit": "560d027b54067ffa4e79c6f7c0a499abb0d749a3",
  "tree": "aa575a5d07c70c0674498a69e606e5307f121d7f",
  "parents": [
    "9f5f380b54d6ad80cf35d93c8cd71c8d7a1b52b7"
  ],
  "author": {
    "name": "Juan Quintela",
    "email": "quintela@redhat.com",
    "time": "Wed Jul 15 09:53:46 2015 +0200"
  },
  "committer": {
    "name": "Juan Quintela",
    "email": "quintela@redhat.com",
    "time": "Wed Jul 15 12:22:54 2015 +0200"
  },
  "message": "migration: We also want to store the global state for savevm\n\nCommit df4b1024526cae3479da3492d6371fd4a7324a03 introduced global_state\nsection.  But it only filled the state while doing migration.  While\ndoing a savevm, we stored an empty string as state.  So when we did a\nloadvm, it complained that state was invalid.\n\nFedora 21, 4.1.1, qemu 2.4.0-rc0\n\u003e ../../configure --target-list\u003d\"x86_64-softmmu\"\n\n068 2s ... - output mismatch (see 068.out.bad)\n--- /home/bos/jhuston/src/qemu/tests/qemu-iotests/068.out\t2015-07-08\n17:56:18.588164979 -0400\n+++ 068.out.bad\t2015-07-09 17:39:58.636651317 -0400\n@@ -6,6 +6,8 @@\n QEMU X.Y.Z monitor - type \u0027help\u0027 for more information\n (qemu) savevm 0\n (qemu) quit\n+qemu-system-x86_64: Unknown savevm section or instance \u0027globalstate\u0027 0\n+qemu-system-x86_64: Error -22 while loading VM state\n QEMU X.Y.Z monitor - type \u0027help\u0027 for more information\n (qemu) quit\n *** done\nFailures: 068\nFailed 1 of 1 tests\n\nActually, there were two problems here:\n- we registered global_state too late for load_vm (fixed on another\n  patch on the list)\n- we didn\u0027t store a valid state for savevm (fixed by this patch).\n\nReported-by: John Snow \u003cjsnow@redhat.com\u003e\nSigned-off-by: Juan Quintela \u003cquintela@redhat.com\u003e\nReviewed-by: Dr. David Alan Gilbert \u003cdgilbert@redhat.com\u003e\nReviewed-by: Amit Shah \u003camit.shah@redhat.com\u003e\nTested-by:  Christian Borntraeger \u003cborntraeger@de.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b2711ef305a9ac8ca0dc77de4a3e67044aa8aede",
      "old_mode": 33188,
      "old_path": "include/migration/migration.h",
      "new_id": "a2f8ed093c248f62f561afd58a74943fc9f33f53",
      "new_mode": 33188,
      "new_path": "include/migration/migration.h"
    },
    {
      "type": "modify",
      "old_id": "ba82ff6bd1f382f8dd0a3307ee6ad6cd656f70c1",
      "old_mode": 33188,
      "old_path": "migration/migration.c",
      "new_id": "86ca099ac499d52f35aa26f2aa97c11104e53f95",
      "new_mode": 33188,
      "new_path": "migration/migration.c"
    },
    {
      "type": "modify",
      "old_id": "86735fc53a543110ce9cf0bde434911ddf75e798",
      "old_mode": 33188,
      "old_path": "migration/savevm.c",
      "new_id": "81dbe5879fa8aad7ccbc646421babd4e9dc4a45a",
      "new_mode": 33188,
      "new_path": "migration/savevm.c"
    }
  ]
}
