hv_vmx_vcpu_set_apic_address(_:_:)
Sets the address of the guest Advanced Programmable Interrupt Controller (APIC) for a vCPU in the guest physical address space of the VM.
Declaration
func hv_vmx_vcpu_set_apic_address(_ vcpu: hv_vcpuid_t, _ gpa: hv_gpaddr_t) -> hv_return_tParameters
- vcpu:
The ID of the vCPU.
- gpa:
The address in the guest physical address space. It must be page-aligned.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.