diff options
author | sephe <sephe@FreeBSD.org> | 2017-01-05 05:46:06 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2017-01-05 05:46:06 +0000 |
commit | 0d2a44e1ccf7fa616c889f12a55d4463aaac8174 (patch) | |
tree | 9b1aa9fb279b34ad40ee4258d860a9196c7717c3 /sys/dev/hyperv/include | |
parent | 25af204871e962bf3d2108a804dd70e9cfd6488e (diff) | |
download | FreeBSD-src-0d2a44e1ccf7fa616c889f12a55d4463aaac8174.zip FreeBSD-src-0d2a44e1ccf7fa616c889f12a55d4463aaac8174.tar.gz |
MFC 309240,309242,309244,309245,309670
309240
hyperv/vmbus: Add result polling support for xact API.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8633
309242
hyperv/vmbus: Add result polling support for message Hypercall API.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8634
309244
hyperv/vmbus: Add exec cancel support for message Hypercall API.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8635
309245
hyperv/vmbus: Use poll/cancel APIs to wait for the CHOPEN response.
Since hypervisor does not respond CHOPEN to a revoked channel.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8636
309670
hyperv/vmbus: Use pause if possible.
This makes booting on Hyper-V w/ small # of vCPUs work properly.
Reported by: Hongxiong Xian <v-hoxian microsoft com>, Hongjiang Zhang <honzhan microsoft com>
Sponsored by: Microsoft
Diffstat (limited to 'sys/dev/hyperv/include')
-rw-r--r-- | sys/dev/hyperv/include/vmbus_xact.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/hyperv/include/vmbus_xact.h b/sys/dev/hyperv/include/vmbus_xact.h index 280c5fe..90711a0 100644 --- a/sys/dev/hyperv/include/vmbus_xact.h +++ b/sys/dev/hyperv/include/vmbus_xact.h @@ -55,6 +55,8 @@ const void *vmbus_xact_wait(struct vmbus_xact *xact, size_t *resp_len); const void *vmbus_xact_busywait(struct vmbus_xact *xact, size_t *resp_len); +const void *vmbus_xact_poll(struct vmbus_xact *xact, + size_t *resp_len); void vmbus_xact_wakeup(struct vmbus_xact *xact, const void *data, size_t dlen); void vmbus_xact_ctx_wakeup(struct vmbus_xact_ctx *ctx, |