From: Avi Kivity <avi@redhat.com>
To: 吴忠远 <wzhongyuan@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: about memory protection.
Date: Sun, 25 Jul 2010 22:43:17 +0300 [thread overview]
Message-ID: <4C4C93D5.9070404@redhat.com> (raw)
In-Reply-To: <AANLkTi=tCN-v83Db-F8MfraLZ8_XFe+RigwvzUHDRUyQ@mail.gmail.com>
On 07/25/2010 06:07 PM, 吴忠远 wrote:
> i want to set some page of guest wrie protection so that the guest can
> not write to this page any more . so i set the corresponding page
> write protection. but if guest modify cr0 to clear wp bit. what could
> i do to avoid this ?
The host keeps cr0.wp=1 even if the guest clears it, so write protection
from the host works.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
prev parent reply other threads:[~2010-07-25 19:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-25 15:07 about memory protection 吴忠远
2010-07-25 19:43 ` 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=4C4C93D5.9070404@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=wzhongyuan@gmail.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