)]}'
{
  "commit": "f6fe3e333fe0fcb8ef87c669a3a8f84fbee10cb7",
  "tree": "e25ac93ac9ee3c735bb7536ea1b0c7889fd522a5",
  "parents": [
    "b06a38f2b00d9e35cfdea2c6e0a6c6521db67378"
  ],
  "author": {
    "name": "Eugenio Pérez",
    "email": "eperezma@redhat.com",
    "time": "Thu Dec 21 18:43:22 2023 +0100"
  },
  "committer": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Tue Dec 26 04:51:07 2023 -0500"
  },
  "message": "vdpa: move memory listener to vhost_vdpa_shared\n\nNext patches will register the vhost_vdpa memory listener while the VM\nis migrating at the destination, so we can map the memory to the device\nbefore stopping the VM at the source.  The main goal is to reduce the\ndowntime.\n\nHowever, the destination QEMU is unaware of which vhost_vdpa device will\nregister its memory_listener.  If the source guest has CVQ enabled, it\nwill be the CVQ device.  Otherwise, it  will be the first one.\n\nMove the memory listener to a common place rather than always in the\nfirst / last vhost_vdpa.\n\nSigned-off-by: Eugenio Pérez \u003ceperezma@redhat.com\u003e\nAcked-by: Jason Wang \u003cjasowang@redhat.com\u003e\nMessage-Id: \u003c20231221174322.3130442-14-eperezma@redhat.com\u003e\nTested-by: Lei Yang \u003cleiyang@redhat.com\u003e\nReviewed-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e6276fb1e4d8bf474e89503f6ea7b675830544f0",
      "old_mode": 33188,
      "old_path": "hw/virtio/vhost-vdpa.c",
      "new_id": "ddae494ca8e8154ce03b88bc781fe9f1e639aceb",
      "new_mode": 33188,
      "new_path": "hw/virtio/vhost-vdpa.c"
    },
    {
      "type": "modify",
      "old_id": "2abee2164ad7f356beaa619970dd992d792ec453",
      "old_mode": 33188,
      "old_path": "include/hw/virtio/vhost-vdpa.h",
      "new_id": "8f54e5edd4e969608e0be482abd48b9ff164f341",
      "new_mode": 33188,
      "new_path": "include/hw/virtio/vhost-vdpa.h"
    }
  ]
}
