pub const KVM_CREATE_VCPU: IoctlReqWriteVal<KvmVm, int, File<KvmVcpu>>;
Expand description
Create a new virtual CPU for an existing virtual machine and obtain the file that represents it.
The argument is a VCPU ID, which ranges from zero to the maximum number of supported VCPUs per VM, which is a kernel-decided limit.
The resulting file accepts the ioctl
requests defined in super::vcpu
.