)]}'
{
  "commit": "4d66623cfba0949b2f0d669bd2ae732124c99ded",
  "tree": "c031dcad0bdd4e7e995696f18f09c9c88219f16b",
  "parents": [
    "711eff3a8fa1d6193139a895524240912011b4dc"
  ],
  "author": {
    "name": "Wei Yang",
    "email": "richard.weiyang@gmail.com",
    "time": "Thu Sep 27 08:31:26 2018 +0800"
  },
  "committer": {
    "name": "Paolo Bonzini",
    "email": "pbonzini@redhat.com",
    "time": "Thu Mar 28 17:27:19 2019 +0100"
  },
  "message": "KVM: x86: remove check on nr_mmu_pages in kvm_arch_commit_memory_region()\n\n* nr_mmu_pages would be non-zero only if kvm-\u003earch.n_requested_mmu_pages is\n  non-zero.\n\n* nr_mmu_pages is always non-zero, since kvm_mmu_calculate_mmu_pages()\n  never return zero.\n\nBased on these two reasons, we can merge the two *if* clause and use the\nreturn value from kvm_mmu_calculate_mmu_pages() directly. This simplify\nthe code and also eliminate the possibility for reader to believe\nnr_mmu_pages would be zero.\n\nSigned-off-by: Wei Yang \u003crichard.weiyang@gmail.com\u003e\nReviewed-by: Sean Christopherson \u003csean.j.christopherson@intel.com\u003e\nSigned-off-by: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5b03006c00beab7ea34a04a9e245e17d6db78896",
      "old_mode": 33188,
      "old_path": "arch/x86/include/asm/kvm_host.h",
      "new_id": "679168931c400ffb387b8dd66360fb8d2d32ffa3",
      "new_mode": 33188,
      "new_path": "arch/x86/include/asm/kvm_host.h"
    },
    {
      "type": "modify",
      "old_id": "f6d760dcdb75e3b70ea9e3fed5ecd78ce75a9262",
      "old_mode": 33188,
      "old_path": "arch/x86/kvm/mmu.c",
      "new_id": "5a9981465fbb5351f8596f6af6927fa53cb4ebdc",
      "new_mode": 33188,
      "new_path": "arch/x86/kvm/mmu.c"
    },
    {
      "type": "modify",
      "old_id": "65e4559eef2fc8589e0a4277077e766ceead3994",
      "old_mode": 33188,
      "old_path": "arch/x86/kvm/x86.c",
      "new_id": "491e92383da818efaa08d8eb179d79dbbeece918",
      "new_mode": 33188,
      "new_path": "arch/x86/kvm/x86.c"
    }
  ]
}
