Re: [PATCH 1/1] direct mmio for passthrough - kernel part

Avi Kivity
2008-04-01T19:22:51Z

Anthony Liguori wrote:
> I looked at Andrea's patches and I didn't see any special handling for
> non-RAM pages. Something Muli mentioned that kept them from doing
> /sys/devices/pci/.../region to begin with was the fact that IO pages do
> not have a struct page backing them so get_user_pages() will fail in
> gfn_to_page().
>

It's just something we discussed, not code.

--
Any sufficiently difficult bug is indistinguishable from a feature.