From: Avi Kivity <avi@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
LKML <linux-kernel@vger.kernel.org>, KVM <kvm@vger.kernel.org>
Subject: Re: [PATCH v2] KVM: introduce readonly memory region
Date: Thu, 24 May 2012 13:33:25 +0300 [thread overview]
Message-ID: <4FBE0E75.8080503@redhat.com> (raw)
In-Reply-To: <20120524095938.GX10209@redhat.com>
On 05/24/2012 12:59 PM, Gleb Natapov wrote:
> On Thu, May 24, 2012 at 05:24:34PM +0800, Xiao Guangrong wrote:
>> In current code, if we map a readonly memory space from host to guest
>> and the page is not currently mapped in the host, we will get a fault-pfn
>> and async is not allowed, then the vm will crash
>>
>> Address Avi's idea, we introduce readonly memory region to map ROM/ROMD
>> to the guest
>>
> As far as I can tell this implements only ROMD. i.e write access to read
> only slot will generate IO exit.
Which userspace can then ignore. The question is whether writes to ROM
are frequent, and whether the performance in that case matters.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2012-05-24 10:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 9:24 [PATCH v2] KVM: introduce readonly memory region Xiao Guangrong
2012-05-24 9:59 ` Gleb Natapov
2012-05-24 10:33 ` Avi Kivity [this message]
2012-05-24 12:10 ` Avi Kivity
2012-05-25 8:47 ` Xiao Guangrong
2012-05-28 7:21 ` Gleb Natapov
2012-05-28 12:59 ` Xiao Guangrong
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=4FBE0E75.8080503@redhat.com \
--to=avi@redhat.com \
--cc=gleb@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=xiaoguangrong@linux.vnet.ibm.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