)]}'
{
  "commit": "46f70ff148ae01e2dc96e64c393e295a0092555d",
  "tree": "68417b8f64f7019d9a7fd488f6d4ba858accb3b3",
  "parents": [
    "e58481234ef9c132554cc529d9981ebd78fb6903"
  ],
  "author": {
    "name": "Greg Kurz",
    "email": "gkurz@linux.vnet.ibm.com",
    "time": "Fri Feb 05 11:46:04 2016 +0100"
  },
  "committer": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Tue Feb 16 12:05:18 2016 +0200"
  },
  "message": "vhost: simplify vhost_needs_vring_endian()\n\nAfter the call to virtio_vdev_has_feature(), we only care for legacy\ndevices, so we don\u0027t need the extra check in virtio_is_big_endian().\n\nAlso the device_endian field is always set (VIRTIO_DEVICE_ENDIAN_UNKNOWN\nmay only happen on a virtio_load() path that cannot lead here), so we\ndon\u0027t need the assert() either.\n\nThis open codes the device_endian checking in vhost_needs_vring_endian().\nIt also adds a comment to explain the logic, as recent reviews showed the\ncross-endian tweaks aren\u0027t that obvious.\n\nSigned-off-by: Greg Kurz \u003cgkurz@linux.vnet.ibm.com\u003e\nReviewed-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nReviewed-by: Laurent Vivier \u003clvivier@redhat.com\u003e\nReviewed-by: Cornelia Huck \u003ccornelia.huck@de.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bb17177f5e7eb9fbc6f5ef205dc35586b294bbcf",
      "old_mode": 33188,
      "old_path": "hw/virtio/vhost.c",
      "new_id": "9f8ac38ccf2dbe5ad83ef532e0cfc55ffce47367",
      "new_mode": 33188,
      "new_path": "hw/virtio/vhost.c"
    }
  ]
}
