From: Greg KH <greg@kroah.com>
To: Simon Connah <simon.n.connah@protonmail.com>
Cc: "kernelnewbies@kernelnewbies.org" <kernelnewbies@kernelnewbies.org>
Subject: Re: KVM syscalls
Date: Sun, 11 Jul 2021 19:52:31 +0200 [thread overview]
Message-ID: <YOsv33Muyq5QvAtp@kroah.com> (raw)
In-Reply-To: <gZG9FtK8YBKm-vb9p0cUlx6zejTTei7CmfBxe8NjfVEFv0szlEv6niO0YLC7q_D5oRouRbYtrkJv9q0qtoO6lS7F7IgTkewGiBmx4ZOFe5A=@protonmail.com>
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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next prev parent reply other threads:[~2021-07-11 17:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-11 17:36 KVM syscalls Simon Connah
2021-07-11 17:52 ` Greg KH [this message]
2021-07-11 19:18 ` Simon Connah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YOsv33Muyq5QvAtp@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@kernelnewbies.org \
--cc=simon.n.connah@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.