From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
To: Manish Regmi <regmi.manish-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: multiple allocation for vmcs or am i missing something.
Date: Thu, 08 Feb 2007 09:36:13 -0600 [thread overview]
Message-ID: <45CB436D.1010908@codemonkey.ws> (raw)
In-Reply-To: <652016d30702080721n5dd5a848ib4fa56fd1757148b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Manish Regmi wrote:
> When kvm initializes, it calls hardware_setup which calls
> alloc_kvm_area which allocates vmcs for each online processor and
> stores the pointer in percpu basis.
>
VT requires a per-cpu page to store the host state in when VMLAUNCH is
executed. This is the host save area and it's passed to the VMXON
instruction in hardware_enable(). It's the VMCS for the host.
Regards,
Anthony Liguori
> Later when vmx_create_vcpu is called, the vmcs area is allocated
> (again) and this time for the cpu the code is currently executing on.
> possibly it is already allocated.
>
> Is this a bug or i am missing something.
>
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
next prev parent reply other threads:[~2007-02-08 15:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-08 15:21 multiple allocation for vmcs or am i missing something Manish Regmi
[not found] ` <652016d30702080721n5dd5a848ib4fa56fd1757148b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-02-08 15:36 ` Anthony Liguori [this message]
2007-02-09 8:08 ` Guillaume Thouvenin
[not found] ` <20070209090833.334b45bb-okVqAf2pJUEUMgAS9GT5UVaPQRlvutdw@public.gmane.org>
2007-02-09 8:26 ` Manish Regmi
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=45CB436D.1010908@codemonkey.ws \
--to=anthony-rdkfgonbjusknkdkm+me6a@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=regmi.manish-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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