[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] QEMU terminates during reboot after memory unplug with
Michael S. Tsirkin
Re: [Qemu-devel] QEMU terminates during reboot after memory unplug with vhost=on
Thu, 16 Nov 2017 18:17:16 +0200
On Thu, Nov 16, 2017 at 09:04:48AM -0700, Alex Williamson wrote:
> > Range is unmapped by listener but device has not been reset yet,
> > so it will get errors when attempting to access guest RAM.
> So IOMMU faults would occur if the device continues to try to DMA
> into that range. Sloppy ordering, but vfio wouldn't have any way to
> tell the difference between this and a runtime RAM unplug.
It's clear vfio won't be able to tell the difference, but
the device will as RAM unplug involves guest coordinating
with the device to avoid addressing the removed memory.