hyperv/vmbus: Add exec cancel support for message Hypercall API.
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8635
This commit is contained in:
parent
9a913ec291
commit
2ee4e46fe6
@ -307,6 +307,13 @@ vmbus_msghc_exec(struct vmbus_softc *sc __unused, struct vmbus_msghc *mh)
|
||||
return error;
|
||||
}
|
||||
|
||||
void
|
||||
vmbus_msghc_exec_cancel(struct vmbus_softc *sc __unused, struct vmbus_msghc *mh)
|
||||
{
|
||||
|
||||
vmbus_xact_deactivate(mh->mh_xact);
|
||||
}
|
||||
|
||||
const struct vmbus_message *
|
||||
vmbus_msghc_wait_result(struct vmbus_softc *sc __unused, struct vmbus_msghc *mh)
|
||||
{
|
||||
|
@ -157,6 +157,8 @@ void vmbus_msghc_put(struct vmbus_softc *, struct vmbus_msghc *);
|
||||
void *vmbus_msghc_dataptr(struct vmbus_msghc *);
|
||||
int vmbus_msghc_exec_noresult(struct vmbus_msghc *);
|
||||
int vmbus_msghc_exec(struct vmbus_softc *, struct vmbus_msghc *);
|
||||
void vmbus_msghc_exec_cancel(struct vmbus_softc *,
|
||||
struct vmbus_msghc *);
|
||||
const struct vmbus_message *
|
||||
vmbus_msghc_wait_result(struct vmbus_softc *,
|
||||
struct vmbus_msghc *);
|
||||
|
Loading…
Reference in New Issue
Block a user