Re: KVM syscalls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Sunday, July 11th, 2021 at 18:52, Greg KH <greg@xxxxxxxxx> wrote:

> On Sun, Jul 11, 2021 at 05:36:12PM +0000, Simon Connah wrote:
> 

> > Hi,
> > 

> > I hope this is an appropriate place to post this question. I want to make a very simple frontend to KVM, but I have no idea what syscalls the Linux kernel exposes to allow userspace programs to work with KVM virtual machines. Can someone point me in the right direction, please? I have no idea where to look for this information.
> 

> Look at the include/uapi/linux/kvm* files, that is the interface between
> 

> userspace and the kernel for KVM.
> 

> But you might want to look at using something like libvirt, which
> 

> handles most of this already for you. Or look at the source for libvirt
> 

> if you want to do it all yourself.
> 

> Good luck!
> 

> greg k-h

Thank you, Greg. That was very helpful. I was going to try and avoid libvirt and roll my own software and see how I get on (I wanted a project to learn Rust with).

Simon.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux