Edit

Share via


HV_VP_INDEX

HV_VP_INDEX represents the index of a virtual processor within a partition.

Syntax

typedef UINT32 HV_VP_INDEX;

The virtual processor index is a 32-bit unsigned integer that uniquely identifies a virtual processor within a partition.

Special Values:

  • HV_VP_INDEX_SELF (0xFFFFFFFE): Refers to the current virtual processor making the hypercall
  • HV_ANY_VP (0xFFFFFFFF): Refers to any virtual processor (used in some contexts where the specific VP doesn't matter)

Usage Notes:

  • VP indices must be unique within a partition
  • VP indices are assigned when virtual processors are created
  • Not all indices in the valid range need to be used (sparse allocation is allowed)
  • The VP index remains constant for the lifetime of the virtual processor