From: Avi Kivity <avi@redhat.com>
To: Sheng Yang <sheng@linux.intel.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [PATCH] KVM: VMX: Move private memory slot position
Date: Sun, 19 Oct 2008 13:02:50 +0200 [thread overview]
Message-ID: <48FB13DA.1090803@redhat.com> (raw)
In-Reply-To: <200810161642.29201.sheng@linux.intel.com>
Sheng Yang wrote:
>> I've been thinking that we can get rid of internal slots, by placing the
>> TSS, real mode identity map, and APIC access page in the bios. Of
>> course we would need a new ioctl to let the kernel know where the
>> scratch memory is located and how much of it is available.
>>
>>
>
> How about put into userspace e.g. pc_init()? I think more easy than keeping
> bios sync with KVM.
That was my plan -- bios reserves space, qemu tells the kernel where it
is, kernel uses the space.
> Anyway, vmx specific thing would become generic. I'd like
> to keep it as what it is at least for now...
>
It's already exposed to userspace, as userspace tells the kernel where
to put the slots. The only advantage is that we reduce slot count and
don't have to mess with the e820 map.
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2008-10-19 11:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-04 3:30 [PATCH] KVM: VMX: Move private memory slot position Yang, Sheng
2008-09-11 9:26 ` Yang, Sheng
2008-09-13 5:01 ` Avi Kivity
2008-09-13 8:55 ` Avi Kivity
2008-10-13 9:17 ` Yang, Sheng
2008-10-16 8:26 ` Avi Kivity
2008-10-16 8:42 ` Sheng Yang
2008-10-19 11:02 ` Avi Kivity [this message]
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=48FB13DA.1090803@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=sheng@linux.intel.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