2 ms·
There seems to be system calls to create and manage Virtual CPUs. What is this for? Is there a precedent?
by fooker 9y ago
There seems to be system calls to create and manage Virtual CPUs.
What is this for?
Is there a precedent?
- gman83 9y agoBackwards compatibility with Android?
- noselasd 9y agoFor managing a hypervisor, e.g. creating a vcpu for a guest VM
- fooker 9y agoHow does Linux do this without having system calls like this?
- tmzt 9y agothere's an interface that looks something like this (including vcpu) as part of KVM, accessed through the /dev/kvm device with ioctl's. You can see part of it here: https://github.com/torvalds/linux/blob/master/arch/x86/include/uapi/asm/kvm.h https://github.com/torvalds/linux/blob/master/arch/x86/inclu...