From: Avi Kivity <avi@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
Andi Kleen <andi@firstfloor.org>,
Dean Nelson <dnelson@redhat.com>
Subject: Re: [PATCH] Monitor command to translate guest physical address to host virtual address
Date: Sun, 03 Oct 2010 12:07:18 +0200 [thread overview]
Message-ID: <4CA855D6.8040609@redhat.com> (raw)
In-Reply-To: <4CA6EA4F.8020201@redhat.com>
On 10/02/2010 10:16 AM, Avi Kivity wrote:
> On 10/02/2010 12:53 AM, Marcelo Tosatti wrote:
>> On Fri, Oct 01, 2010 at 09:52:25AM +0800, Huang Ying wrote:
>> > From: Max Asbock<masbock@linux.vnet.ibm.com>
>> >
>> > Add command p2v to translate guest physical address to host virtual
>> > address.
>> >
>> > The p2v command provides one step in a chain of translations from
>> > guest virtual to guest physical to host virtual to host physical.
>> Host
>> > physical is then used to inject a machine check error. As a
>> > consequence the HWPOISON code on the host and the MCE injection code
>> > in qemu-kvm are exercised.
>> >
>> > Signed-off-by: Max Asbock<masbock@linux.vnet.ibm.com>
>> > Signed-off-by: Jiajia Zheng<jiajia.zheng@intel.com>
>> > Signed-off-by: Huang Ying<ying.huang@intel.com>
>>
>> Added missing cpu_physical_memory_unmap and applied, thanks.
>>
>
> This should have been copied to qemu-devel so that the monitor people
> can review it.
>
It also breaks the build:
>
> I CC x86_64-softmmu/monitor.o
> cc1: warnings being treated as errors
> /var/lib/buildbot/qemu-kvm/disable_kvm_i386_out_of_tree/build/monitor.c:
> In function 'do_p2v':
> /var/lib/buildbot/qemu-kvm/disable_kvm_i386_out_of_tree/build/monitor.c:2312:
> error: cast to pointer from integer of different size
> make[1]: *** [monitor.o] Error 1
> make: *** [subdir-x86_64-softmmu] Error 2
I've reverted it for now. Please resubmit to qemu upstream
(qemu-devel@nongnu.org). I also suggest coming up with a better name
for the command, and QMP support.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2010-10-03 10:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-01 1:52 [PATCH] Monitor command to translate guest physical address to host virtual address Huang Ying
2010-10-01 22:53 ` Marcelo Tosatti
2010-10-02 8:16 ` Avi Kivity
2010-10-03 10:07 ` Avi Kivity [this message]
2010-10-03 10:33 ` 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=4CA855D6.8040609@redhat.com \
--to=avi@redhat.com \
--cc=andi@firstfloor.org \
--cc=dnelson@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=ying.huang@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