diff options
| author | Peter Maydell | 2016-09-28 17:12:13 +0200 |
|---|---|---|
| committer | Peter Maydell | 2016-09-28 17:12:14 +0200 |
| commit | 3c87fafb90c108b1adb7451f6cc036480698e6f8 (patch) | |
| tree | 9319fd1dd69aa7a822d576d714560de40b099937 /include | |
| parent | tests: cris: add v17 ADDC test (diff) | |
| parent | qdisk - hw/block/xen_disk: grant copy implementation (diff) | |
| download | qemu-3c87fafb90c108b1adb7451f6cc036480698e6f8.tar.gz qemu-3c87fafb90c108b1adb7451f6cc036480698e6f8.tar.xz qemu-3c87fafb90c108b1adb7451f6cc036480698e6f8.zip | |
Merge remote-tracking branch 'remotes/sstabellini/tags/xen-20160927-tag' into staging
Xen 2016/09/27
# gpg: Signature made Wed 28 Sep 2016 02:33:42 BST
# gpg: using RSA key 0x894F8F4870E1AE90
# gpg: Good signature from "Stefano Stabellini <sstabellini@kernel.org>"
# gpg: aka "Stefano Stabellini <stefano.stabellini@eu.citrix.com>"
# Primary key fingerprint: D04E 33AB A51F 67BA 07D3 0AEA 894F 8F48 70E1 AE90
* remotes/sstabellini/tags/xen-20160927-tag:
qdisk - hw/block/xen_disk: grant copy implementation
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/xen/xen_common.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/hw/xen/xen_common.h b/include/hw/xen/xen_common.h index bd39287b8f..8e1580d526 100644 --- a/include/hw/xen/xen_common.h +++ b/include/hw/xen/xen_common.h @@ -424,4 +424,18 @@ static inline int xen_domain_create(xc_interface *xc, uint32_t ssidref, #endif #endif +/* Xen before 4.8 */ + +#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 480 + + +typedef void *xengnttab_grant_copy_segment_t; + +static inline int xengnttab_grant_copy(xengnttab_handle *xgt, uint32_t count, + xengnttab_grant_copy_segment_t *segs) +{ + return -ENOSYS; +} +#endif + #endif /* QEMU_HW_XEN_COMMON_H */ |
