diff options
| author | Jon Doron | 2020-04-24 14:34:44 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2020-06-10 18:09:41 +0200 |
| commit | 4dd8a7064b8a6527f99a62be11a5124e65cae270 (patch) | |
| tree | 782c9531d3e69c796618d68c86e62fd49122eb8a /include/hw/hyperv | |
| parent | i386: Hyper-V VMBus ACPI DSDT entry (diff) | |
| download | qemu-4dd8a7064b8a6527f99a62be11a5124e65cae270.tar.gz qemu-4dd8a7064b8a6527f99a62be11a5124e65cae270.tar.xz qemu-4dd8a7064b8a6527f99a62be11a5124e65cae270.zip | |
vmbus: add infrastructure to save/load vmbus requests
This can be allow to include controller-specific data while
saving/loading in-flight scsi requests of the vmbus scsi controller.
Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Signed-off-by: Jon Doron <arilou@gmail.com>
Message-Id: <20200424123444.3481728-7-arilou@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/hyperv')
| -rw-r--r-- | include/hw/hyperv/vmbus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/hyperv/vmbus.h b/include/hw/hyperv/vmbus.h index 99b647e1d6..40e8417eec 100644 --- a/include/hw/hyperv/vmbus.h +++ b/include/hw/hyperv/vmbus.h @@ -224,4 +224,7 @@ int vmbus_map_sgl(VMBusChanReq *req, DMADirection dir, struct iovec *iov, void vmbus_unmap_sgl(VMBusChanReq *req, DMADirection dir, struct iovec *iov, unsigned iov_cnt, size_t accessed); +void vmbus_save_req(QEMUFile *f, VMBusChanReq *req); +void *vmbus_load_req(QEMUFile *f, VMBusDevice *dev, uint32_t size); + #endif |
