)]}'
{
  "commit": "0f888bfaddfc5f55b0d82cde2e1164658a672375",
  "tree": "50db834ba86306fb8fab00fdc8eca8d1ad66c4e3",
  "parents": [
    "e634b89c6ed2309814de7a89bd7c5ced96f59291"
  ],
  "author": {
    "name": "David Gibson",
    "email": "david@gibson.dropbear.id.au",
    "time": "Thu Jul 02 16:23:24 2015 +1000"
  },
  "committer": {
    "name": "Alexander Graf",
    "email": "agraf@suse.de",
    "time": "Tue Jul 07 17:44:53 2015 +0200"
  },
  "message": "spapr_vty: lookup should only return valid VTY objects\n\nIf a guest passes the reg property of a valid VIO object that is not a VTY\nto either H_GET_TERM_CHAR or H_PUT_TERM_CHAR, QEMU hits a dynamic cast\nassertion and aborts.\n\nPAPR+ says \"Hypervisor checks the termno parameter for validity against the\nVterm IOA unit addresses assigned to the partition, else return H_Parameter.\"\n\nThis patch adds a type check to ensure vty_lookup() either returns a pointer\nto a valid VTY object or NULL.  H_GET_TERM_CHAR and H_PUT_TERM_CHAR will\nnow return H_PARAMETER to the guest instead of crashing.\n\nThe patch has no effect on the reg \u003d\u003d 0 hack used to implement the RTAS call\ndisplay-character.\n\nSigned-off-by: Greg Kurz \u003cgkurz@linux.vnet.ibm.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\nSigned-off-by: Alexander Graf \u003cagraf@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1d53035cbe468a12a124de653c1ed2f29fc8d68a",
      "old_mode": 33188,
      "old_path": "hw/char/spapr_vty.c",
      "new_id": "2d532afc5590efbec2129e309bbfe7a5154d9dd4",
      "new_mode": 33188,
      "new_path": "hw/char/spapr_vty.c"
    }
  ]
}
