HvReleaseEventLogBuffer function
The HvReleaseEventLogBuffer function releases the completed buffer to the hypervisor as a free buffer.
Syntax
HV_STATUS HvReleaseEventLogBuffer( _In_ HV_EVENTLOG_TYPE Type, _In_ HV_EVENTLOG_BUFFER_INDEX BufferIndex );
Parameters
- Type [in]
-
A HV_EVENTLOG_TYPE value that specifies the type of the event log buffer group whose buffer is released.
- BufferIndex [in]
-
An HV_EVENTLOG_BUFFER_INDEX value that specifies the index of the buffer within the buffer group that is associated with the event log type that the Type parameter specifies.
Return value
HvReleaseEventLogBuffer returns one of the following values. In addition to these values, HvReleaseEventLogBuffer can also return one of the values that are specified in Common Hypercall Status Codes.
Return code | Description |
---|---|
|
HvReleaseEventLogBuffer successfully released a single event log buffer. |
|
The caller is not the root partition. |
|
The specified event log type is invalid. |
|
One of the following conditions exists:
|
Remarks
If the event log buffer that is specified is not in the ready state, HvReleaseEventLogBuffer returns HV_STATUS_OPERATION_DENIED. HvReleaseEventLogBuffer informs the hypervisor that the guest is finished processing the buffer. The hypervisor will place the buffer into a free state and make the buffer available for reuse.
HvReleaseEventLogBuffer has the following restrictions:
-
The caller must be the root partition.
-
The buffer that is specified by BufferIndex must be in the complete state.
Native Interface
HvReleaseEventLogBuffer [fast] | |
---|---|
Call Code = 0x0067 | |
Input Parameters | |
0 |
Type (4 bytes) BufferIndex (4 bytes) |
Requirements
Version | HvReleaseEventLogBuffer is available in version 1.0 and later versions of the hypervisor. |
---|---|
Header |
|
IRQL | Any level |
See also
Send comments about this topic to Microsoft
Build date: 11/16/2013