)]}'
{
  "commit": "3fd74b84076488ae44ba5f3cfed22ff056c5199c",
  "tree": "5780453adca5f1b8f6ad52b572d06330c323f873",
  "parents": [
    "12d6e4640ce28d002e96d58c31cd5e7256258626"
  ],
  "author": {
    "name": "Damjan Marion",
    "email": "damarion@cisco.com",
    "time": "Thu Jun 26 23:01:32 2014 +0200"
  },
  "committer": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Sun Jun 29 19:39:40 2014 +0300"
  },
  "message": "vhost-user: fix regions provied with VHOST_USER_SET_MEM_TABLE message\n\nOld code was affected by memory gaps which resulted in buffer pointers\npointing to address outside of the mapped regions.\n\nHere we are introducing following changes:\n - new function qemu_get_ram_block_host_ptr() returns host pointer\n   to the ram block, it is needed to calculate offset of specific\n   region in the host memory\n - new field mmap_offset is added to the VhostUserMemoryRegion. It\n   contains offset where specific region starts in the mapped memory.\n   As there is stil no wider adoption of vhost-user agreement was made\n   that we will not bump version number due to this change\n - other fileds in VhostUserMemoryRegion struct are not changed, as\n   they are all needed for usermode app implementation\n - region data is not taken from ram_list.blocks anymore, instead we\n   use region data which is alredy calculated for use in vhost-net\n - Now multiple regions can have same FD and user applicaton can call\n   mmap() multiple times with the same FD but with different offset\n   (user needs to take care for offset page alignment)\n\nSigned-off-by: Damjan Marion \u003cdamarion@cisco.com\u003e\nAcked-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nSigned-off-by: Damjan Marion \u003cdamarion@cisco.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2641390244a76e553de4c32fd80df1f074b53d29",
      "old_mode": 33188,
      "old_path": "docs/specs/vhost-user.txt",
      "new_id": "6abb6977ff32fd70d7f0979ed1fbaef176382eae",
      "new_mode": 33188,
      "new_path": "docs/specs/vhost-user.txt"
    },
    {
      "type": "modify",
      "old_id": "c8494051a627e6abfc355429a0045c4aca9c93a7",
      "old_mode": 33188,
      "old_path": "exec.c",
      "new_id": "a94c5832f475f3c29ed8695b63769d935c2d3682",
      "new_mode": 33188,
      "new_path": "exec.c"
    },
    {
      "type": "modify",
      "old_id": "0df6a936a064a5d78b3ff8065454e01c14bb410f",
      "old_mode": 33188,
      "old_path": "hw/virtio/vhost-user.c",
      "new_id": "38e580642fdda9baa3d00c3e554a72dd61b683b0",
      "new_mode": 33188,
      "new_path": "hw/virtio/vhost-user.c"
    },
    {
      "type": "modify",
      "old_id": "55ca67681f24ba78780ee604f6235a82c3f9dc88",
      "old_mode": 33188,
      "old_path": "include/exec/ram_addr.h",
      "new_id": "e9eb831ee3b2c7653ebe800bcc5f6d74d121ed10",
      "new_mode": 33188,
      "new_path": "include/exec/ram_addr.h"
    }
  ]
}
