From: Avi Kivity <avi@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: mtosatti@redhat.com, kvm@vger.kernel.org
Subject: Re: [PATCH] Add ability to drop pages through testdev
Date: Wed, 29 Dec 2010 12:05:35 +0200 [thread overview]
Message-ID: <4D1B07EF.2080505@redhat.com> (raw)
In-Reply-To: <20101229100304.GD32688@redhat.com>
On 12/29/2010 12:03 PM, Gleb Natapov wrote:
> > >> Icky. This is much better done through the api tests. Applied it
> > >> so as not to spoil all the effort.
> > >>
> > >How would you do that there?
> >
> > Set up all the state using the KVM_SET_REGS family, pointing to the
> > instruction you want to test, and KVM_RUN that. You can even queue
> > exceptions and interrupts for complicated cases.
> >
> I mean how do you drop a page from shadow/ept tables? Wouldn't you have
> to do the same trick there?
>
Yes, but you just call munmap(), you don't have to go through testdev.
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2010-12-29 10:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-22 15:18 [PATCH] Add ability to drop pages through testdev Gleb Natapov
2010-12-29 9:50 ` Avi Kivity
2010-12-29 9:55 ` Gleb Natapov
2010-12-29 9:58 ` Avi Kivity
2010-12-29 10:03 ` Gleb Natapov
2010-12-29 10:05 ` 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=4D1B07EF.2080505@redhat.com \
--to=avi@redhat.com \
--cc=gleb@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.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