Re: [PATCH v1 02/17] vfio: Convert to ram_block_discard_set_broken()

David Hildenbrand
2020-05-15T12:01:16Z

On 06.05.20 11:49, David Hildenbrand wrote:
> VFIO is (except devices without a physical IOMMU or some mediated devices)
> incompatible ram_block_discard_set_broken. The kernel will pin basically
> all VM memory. Let's convert to ram_block_discard_set_broke(), which can
> now fail, in contrast to qemu_balloon_inhibit().

Not sure what I was smoking when rewriting this 3 times:

"VFIO is (except devices without a physical IOMMU or some mediated
devices) incompatible with discarding of RAM. The kernel will pin
basically all VM memory. Let's convert to
ram_block_discard_set_broken(), which can now fail, in contrast to
qemu_balloon_inhibit()."

--
Thanks,

David / dhildenb