summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorAlex Bennée2020-06-05 17:49:25 +0200
committerAlex Bennée2020-06-08 18:04:19 +0200
commit083b9bd7a1c526d57ec17b23dd6eca414e808886 (patch)
tree42f2a6bce5b47f9ca47b392015202716f491b853 /include/exec/exec-all.h
parentdocker: update Ubuntu to 20.04 (diff)
downloadqemu-083b9bd7a1c526d57ec17b23dd6eca414e808886.tar.gz
qemu-083b9bd7a1c526d57ec17b23dd6eca414e808886.tar.xz
qemu-083b9bd7a1c526d57ec17b23dd6eca414e808886.zip
hw/virtio/vhost: re-factor vhost-section and allow DIRTY_MEMORY_CODE
The purpose of vhost_section is to identify RAM regions that need to be made available to a vhost client. However when running under TCG all RAM sections have DIRTY_MEMORY_CODE set which leads to problems down the line. Re-factor the code so: - steps are clearer to follow - reason for rejection is recorded in the trace point - we allow DIRTY_MEMORY_CODE We expand the comment to explain that kernel based vhost has specific support for migration tracking. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Tested-by: Fabiano Rosas <farosas@linux.ibm.com> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Dr. David Alan Gilbert <dgilbert@redhat.com> Cc: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20200605154929.26910-11-alex.bennee@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions