On KVM this is provided by an ioctl, on MSHV this is constant. Although there is a HV_MAXIMUM_PROCESSORS constant the MSHV ioctl API is limited to u8. Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
||
|---|---|---|
| .. | ||
| arch | ||
| kvm | ||
| mshv | ||
| cpu.rs | ||
| device.rs | ||
| hypervisor.rs | ||
| lib.rs | ||
| vm.rs | ||