public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Matteo Signorini <signorinimatteo@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: systemcalls and kvm ...correct me if I am wrong
Date: Sun, 07 Jun 2009 13:33:38 +0300	[thread overview]
Message-ID: <4A2B9782.1070503@redhat.com> (raw)
In-Reply-To: <bdf5bab30906070302j40669f6dx409251a4da0ef4cb@mail.gmail.com>

Matteo Signorini wrote:
> Hi to all,
>
> correct me if I am wrong but isn't it the following the logical
> execution chain of a generic system call performed
> in a Kvm guest?
>
> Guest userspace application -> Guest kernel -> Host kernel (kvm) ->
> Host userspace (Quemu) -> Host kernel ->
> -> Host userspace (Quemu) -> Guest kernel -> Guest userspace application
>
>   

No.  The actual path is

   guest userspace -> guest kernel -> guest userspace

The guest kernel might access emulated hardware, but usually it does not.

> Is there any detailed documentation on how this happens inside qemu-kvm?
>   

No.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


  reply	other threads:[~2009-06-07 10:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-07 10:02 systemcalls and kvm ...correct me if I am wrong Matteo Signorini
2009-06-07 10:33 ` Avi Kivity [this message]
2009-06-08 12:07   ` Matteo Signorini
2009-06-08 12:11     ` Avi Kivity

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=4A2B9782.1070503@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=signorinimatteo@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox