Home
last modified time | relevance | path

Searched hist:"2 ce16640b4cc9ab9e7e6bde9e4264b102e0eb73d" (Results 1 – 2 of 2) sorted by relevance

/qemu/include/exec/
H A Dcpu-common.h2ce16640b4cc9ab9e7e6bde9e4264b102e0eb73d Mon Mar 12 17:20:58 UTC 2018 Dr. David Alan Gilbert <dgilbert@redhat.com> postcopy: use UFFDIO_ZEROPAGE only when available

Use a flag on the RAMBlock to state whether it has the
UFFDIO_ZEROPAGE capability, use it when it's available.

This allows the use of postcopy on tmpfs as well as hugepage
backed files.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
/qemu/migration/
H A Dpostcopy-ram.c2ce16640b4cc9ab9e7e6bde9e4264b102e0eb73d Mon Mar 12 17:20:58 UTC 2018 Dr. David Alan Gilbert <dgilbert@redhat.com> postcopy: use UFFDIO_ZEROPAGE only when available

Use a flag on the RAMBlock to state whether it has the
UFFDIO_ZEROPAGE capability, use it when it's available.

This allows the use of postcopy on tmpfs as well as hugepage
backed files.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>