On Wed, 2010-11-10 at 14:59 +0800, Avi Kivity wrote:
> On 11/10/2010 08:56 AM, Avi Kivity wrote:
> > On 11/08/2010 05:39 AM, Anthony Liguori wrote:
> >>> Yes. The main usage of the interface is automated testing.
> >>
> >> That's precisely what the command should not be used for.
> >>
> >> You can't assume a gpa -> hva mapping is consistent in an external 
> >> application.  If you want to implement an interface for testing, you 
> >> have to push more of the logic into QEMU to avoid the race.
> >
> > An alternative is to use -mempath.  Does poisoning work for tmpfs?
> >
> Or hugetlbfs - I think it does?

The QEMU support for hugetlbfs has some issues now. Because it is hard
for QEMU to deal with 2M poisoned page reported by host OS. Although it
is possible for QEMU to relay 2M poisoned page as MCE to guest OS, the
guest OS may not work properly for this kind of MCE.

Best Regards,
Huang Ying


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to