title | description | author | ms.author | ms.date |
---|---|---|---|---|
Create a new virtual processor in a partition |
Learn about the WHvCreateVirtualProcessor function that creates a new virtual processor in a partition. |
sethmanheim |
sethm |
04/20/2022 |
HRESULT
WINAPI
WHvCreateVirtualProcessor(
_In_ WHV_PARTITION_HANDLE Partition,
_In_ UINT32 VpIndex,
_In_ UINT32 Flags
);
Partition
Handle to the partition object
VpIndex
Specifies the index of the new virtual processor
Flags
Unused, must be zero
The WHvCreateVirtualProcessor
function creates a new virtual processor in a partition. The index of the virtual processor is used to set the APIC ID of the processor.