)]}'
{
  "commit": "2a6593cb6a2d72c8c29e14f89413089fa5d38501",
  "tree": "75adfca2dc85618d35328708224f9f7593d3ed69",
  "parents": [
    "1a68b71419406235bbde205463f2bd7e4ffe5b26"
  ],
  "author": {
    "name": "Alexey Kardashevskiy",
    "email": "aik@ozlabs.ru",
    "time": "Fri May 23 12:26:54 2014 +1000"
  },
  "committer": {
    "name": "Alexander Graf",
    "email": "agraf@suse.de",
    "time": "Mon Jun 16 13:24:37 2014 +0200"
  },
  "message": "spapr: Add ibm, client-architecture-support call\n\nThe PAPR+ specification defines a ibm,client-architecture-support (CAS)\nRTAS call which purpose is to provide a negotiation mechanism for\nthe guest and the hypervisor to work out the best compatibility parameters.\nDuring the negotiation process, the guest provides an array of various\noptions and capabilities which it supports, the hypervisor adjusts\nthe device tree and (optionally) reboots the guest.\n\nAt the moment the Linux guest calls CAS method at early boot so SLOF\ngets called. SLOF allocates a memory buffer for the device tree changes\nand calls a custom KVMPPC_H_CAS hypercall. QEMU parses the options,\ncomposes a diff for the device tree, copies it to the buffer provided\nby SLOF and returns to SLOF. SLOF updates the device tree and returns\ncontrol to the guest kernel. Only then the Linux guest parses the device\ntree so it is possible to avoid unnecessary reboot in most cases.\n\nThe device tree diff is a header with an update format version\n(defined as 1 in this patch) followed by a device tree with the properties\nwhich require update.\n\nIf QEMU detects that it has to reboot the guest, it silently does so\nas the guest expects reboot to happen because this is usual pHyp firmware\nbehavior.\n\nThis defines custom KVMPPC_H_CAS hypercall. The current SLOF already\nhas support for it.\n\nThis implements stub which returns very basic tree (root node,\nno properties) to the guest.\n\nAs the return buffer does not contain any change, no change in behavior is\nexpected.\n\nSigned-off-by: Alexey Kardashevskiy \u003caik@ozlabs.ru\u003e\nSigned-off-by: Alexander Graf \u003cagraf@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9551c00176e50dafc64667dcfb2ae35b599b21c8",
      "old_mode": 33188,
      "old_path": "hw/ppc/spapr.c",
      "new_id": "c184732025386ee5a32f62dc38bca3b0df74b15e",
      "new_mode": 33188,
      "new_path": "hw/ppc/spapr.c"
    },
    {
      "type": "modify",
      "old_id": "0bae0535e891d6796936ed7206b6b1d9cc06bc38",
      "old_mode": 33188,
      "old_path": "hw/ppc/spapr_hcall.c",
      "new_id": "2f6aa5cf797df94b8b520bf810a9e9f20526ac64",
      "new_mode": 33188,
      "new_path": "hw/ppc/spapr_hcall.c"
    },
    {
      "type": "modify",
      "old_id": "9f8bb89600fe5601821eaf640a7b40cb498159f3",
      "old_mode": 33188,
      "old_path": "include/hw/ppc/spapr.h",
      "new_id": "b8c2ba4a4d3fc73782ad3da6a5c6d38266a7339b",
      "new_mode": 33188,
      "new_path": "include/hw/ppc/spapr.h"
    },
    {
      "type": "modify",
      "old_id": "b35c39b674d81b2c6f7b700712df37296816ce32",
      "old_mode": 33188,
      "old_path": "trace-events",
      "new_id": "9f128438401e775355fe4bff995361dabd95e7f2",
      "new_mode": 33188,
      "new_path": "trace-events"
    }
  ]
}
