From: Hollis Blanchard <hollisb@us.ibm.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Avi Kivity <avi@qumranet.com>, kvm-devel <kvm@vger.kernel.org>,
"Zhang, Xiantao" <xiantao.zhang@intel.com>
Subject: Re: KVM: MMU: nuke shadowed pgtable pages and pte's on memslot destruction
Date: Mon, 21 Jul 2008 17:22:08 -0500 [thread overview]
Message-ID: <200807211722.08528.hollisb@us.ibm.com> (raw)
In-Reply-To: <20080721213440.GA15961@dmt.cnet>
On Monday 21 July 2008 16:34:40 Marcelo Tosatti wrote:
> On Mon, Jul 21, 2008 at 04:03:27PM -0500, Hollis Blanchard wrote:
> >
> > By the way, what is the testcase for this, i.e. how do I remove a
> > memslot?
>
> The testcase I used was RH6.2 graphical install, which changes the
> cirrus mode from linear frame buffer to the standard one, thus
> destroying the vram memory slot (should be able to do that with the
> framebuffer driver).
Hmm, we're not using any graphics adapters with PowerPC right now.
I've skimmed through cirrus_vga.c but I don't see any obvious "mode change"
routine; what is the function that triggers this behavior? Some "(un)register
physical memory" call?
> All you need on this callback is destroy all shadow mappings, to avoid
> the MMU code from referencing a memslot that is no longer existant.
In addition to that, I also need a testcase to actually exercise the
code... :)
--
Hollis Blanchard
IBM Linux Technology Center
next prev parent reply other threads:[~2008-07-21 22:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-04 1:06 KVM: MMU: nuke shadowed pgtable pages and pte's on memslot destruction Marcelo Tosatti
2008-07-05 17:25 ` Avi Kivity
2008-07-05 19:23 ` Marcelo Tosatti
2008-07-05 21:15 ` Avi Kivity
2008-07-07 17:31 ` Marcelo Tosatti
2008-07-07 19:58 ` Marcelo Tosatti
2008-07-10 14:42 ` Avi Kivity
2008-07-10 18:58 ` Hollis Blanchard
2008-07-10 23:49 ` Marcelo Tosatti
2008-07-11 14:48 ` Avi Kivity
2008-07-21 21:03 ` Hollis Blanchard
2008-07-21 21:34 ` Marcelo Tosatti
2008-07-21 22:22 ` Hollis Blanchard [this message]
2008-07-22 5:18 ` Avi Kivity
2008-07-10 23:54 ` Marcelo Tosatti
2008-07-11 15:09 ` 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=200807211722.08528.hollisb@us.ibm.com \
--to=hollisb@us.ibm.com \
--cc=avi@qumranet.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=xiantao.zhang@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