Hypercall Function Code Reference

The following table lists hypercall functions by each function's code number. The table also indicates whether each function is a rep or fast hypercall function and if the partition that calls the function requires any particular privilege or must be a particular type (for example, if the partition must be the parent partition). The HV_CALL_CODE enumeration contains all hypercall codes. For more information about hypercall functions, see Hypercall Interface.

Function codeRep callFastcallHypercallCallerPartition privilege required (if any)

0x0001

x

HvSwitchVirtualAddressSpace

Any

UseHypercallForAddressSpaceSwitch

0x0002

HvFlushVirtualAddressSpace

Any

UseHypercallFor[Local][Remote]Flush

0x0003

x

HvFlushVirtualAddressList

Any

UseHypercallFor[Local][Remote]Flush

0x0004

HvGetLogicalProcessorRunTime

Any

CPUManagement

0x0005

through

0x0007

Reserved for future use

0x0008

x

HvNotifyLongSpinWait

Any

0x0009

HvParkLogicalProcessors

Any

CPUManagement

0x000A

HvInvokeHypervisorDebugger

Any

0x000B

through

0x003F

Reserved for future use

0x0040

HvCreatePartition

Any

CreatePartitions

0x0041

x

HvInitializePartition

Parent

0x0042

x

HvFinalizePartition

Parent

0x0043

x

HvDeletePartition

Parent

0x0044

HvGetPartitionProperty

Parent/
Root

0x0045

HvSetPartitionProperty

Parent/
Root

0x0046

HvGetPartitionId

Any

AccessPartitionId

0x0047

HvGetNextChildPartition

Parent

0x0048

x

HvDepositMemory

Parent/
Self

AccessMemoryPool

0x0049

x

HvWithdrawMemory

Parent/
Self

AccessMemoryPool

0x004A

HvGetMemoryBalance

Parent/
Self

AccessMemoryPool

0x004B

x

HvMapGpaPages

Parent/
Root

0x004C

x

HvUnmapGpaPages

Parent

0x004D

HvInstallIntercept

Parent

0x004E

HvCreateVp

Parent

0x004F

x

HvDeleteVp

Parent

0x0050

x

HvGetVpRegisters

Parent/
Self

0x0051

x

HvSetVpRegisters

Parent

0x0052

HvTranslateVirtualAddress

Parent

0x0053

HvReadGpa

Parent

0x0054

HvWriteGpa

Parent

0x0055

HvAssertVirtualInterrupt

Parent

0x0056

x

HvClearVirtualInterrupt

Parent

0x0057

HvCreatePort

Parent/
Self

CreatePort

0x0058

x

HvDeletePort

Parent/
Self

0x0059

HvConnectPort

Parent/
Self

ConnectPort

0x005A

HvGetPortProperty

Parent/
Self

0x005B

x

HvDisconnectPort

Parent/
Self

0x005C

HvPostMessage

Any

PostMessages

0x005D

x

HvSignalEvent

Any

SignalEvents

0x005E

HvSavePartitionState

Parent

0x005F

HvRestorePartitionState

Parent

CreatePartitions

0x0060

HvInitializeEventLogBufferGroup

Root

0x0061

x

HvFinalizeEventLogBufferGroup

Root

0x0062

x

HvCreateEventLogBuffer

Root

0x0063

x

HvDeleteEventLogBuffer

Root

0x0064

HvMapEventLogBuffer

Root

0x0065

x

HvUnmapEventLogBuffer

Root

0x0066

x

HvSetEventLogGroupSources

Root

0x0067

x

HvReleaseEventLogBuffer

Root

0x0068

x

HvFlushEventLogBuffer

Root

0x0069

HvPostDebugData

Any

Debugging

0x006A

HvRetrieveDebugData

Any

Debugging

0x006B

x

HvResetDebugSession

Any

Debugging

0x006C

HvMapStatsPage

Parent

AccessStats

0x006D

HvUnmapStatsPage

Parent

AccessStats

0x006E

HvMapSparseGpaPages

Parent/Root

0x006F

HvSetSystemProperty

Root

ConfigureProfiler

0x0070

HvSetPortProperty

Parent/Self

CreatePort

 

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.