[libvirt] direct device assignment

Laine Stump laine at laine.org
Wed Mar 4 15:57:05 UTC 2015


On 03/04/2015 10:27 AM, Raymond Durand wrote:
> I read this in the context of direct device assignment: "All of the
> guest's memory must kept permanently in memory. This is because the
> guest may program the device with any address in its address space and
> the hypervisor has no way of handling a DMA page fault"
>
> is it still true?
>

Yes. libvirt takes care of this automatically (by calling setrlimit() or
prlimit()) when you assign a device to a guest. It does mean that you'll
need enough physical RAM on the machine to account for it, though.




More information about the libvir-list mailing list