All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: "lim4@mymail.vcu.edu" <lim4@mymail.vcu.edu>
Cc: kvm@vger.kernel.org
Subject: Re: Ring privilege of host linux kernel
Date: Fri, 8 Mar 2013 13:42:41 +0200	[thread overview]
Message-ID: <20130308114241.GG24444@redhat.com> (raw)
In-Reply-To: <51396172.70905@mymail.vcu.edu>

On Thu, Mar 07, 2013 at 10:56:34PM -0500, lim4@mymail.vcu.edu wrote:
> As we have known, in KVM full virtualization, guest VM is running in
> non-root mode and KVM is running in root mode. While, in non-root
> mode, guest kernel is running in Ring 0 and Apps are running in Ring
> 3.  However, what about the ring privilege for host linux?
> 
> In my knowledge, host linux is not controlled by VMX instructions
> and VMCS/VMCB. therefore, host linux should be running in root mode.
> Before we install KVM, host linux just run in Ring 0 (at that time,
> there is no root mode or non-root mode because VMX is not active).
> Hence, after we install KVM module, host linux kernel should be
> still in Ring 0 of root mode and Apps in host should run in Ring 3
> of root mode. Is KVM running in higher privileged mode like Ring -1
> of root mode or also running in Ring 0 of root mode?
> 
KVM and the Linux kernel are running in Ring 0 in root mode.

--
			Gleb.

  reply	other threads:[~2013-03-08 11:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08  3:56 Ring privilege of host linux kernel lim4
2013-03-08 11:42 ` Gleb Natapov [this message]
2013-03-08 14:27   ` Min Li

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=20130308114241.GG24444@redhat.com \
    --to=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=lim4@mymail.vcu.edu \
    /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.