aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi/Kconfig
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2021-10-27 15:03:24 +0200
committerMichael S. Tsirkin <mst@redhat.com>2021-11-01 18:49:10 -0400
commite1c1915befbd2a991b20812eef6ad650b5637a36 (patch)
tree9cb3397f4e8f13c94874f0c72f3eacd6a257f58d /hw/acpi/Kconfig
parent44d3d8981402ce7eef435dd912f21fb84f1f7c4d (diff)
downloadqemu-e1c1915befbd2a991b20812eef6ad650b5637a36.zip
qemu-e1c1915befbd2a991b20812eef6ad650b5637a36.tar.gz
qemu-e1c1915befbd2a991b20812eef6ad650b5637a36.tar.bz2
vhost-vdpa: Set discarding of RAM broken when initializing the backend
Similar to VFIO, vDPA will go ahead an map+pin all guest memory. Memory that used to be discarded will get re-populated and if we discard+re-access memory after mapping+pinning, the pages mapped into the vDPA IOMMU will go out of sync with the actual pages mapped into the user space page tables. Set discarding of RAM broken such that: - virtio-mem and vhost-vdpa run mutually exclusive - virtio-balloon is inhibited and no memory discards will get issued In the future, we might be able to support coordinated discarding of RAM as used by virtio-mem and already supported by vfio via the RamDiscardManager. Acked-by: Jason Wang <jasowang@redhat.com> Cc: Jason Wang <jasowang@redhat.com> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Cindy Lu <lulu@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20211027130324.59791-1-david@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'hw/acpi/Kconfig')
0 files changed, 0 insertions, 0 deletions