]> git.proxmox.com Git - mirror_qemu.git/commit
postcopy: Add extra check for COPY function
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 24 Feb 2017 18:28:44 +0000 (18:28 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 28 Feb 2017 11:30:24 +0000 (11:30 +0000)
commit665414ad06aa1bc92e615db9641e58fb13d07de1
tree3eb2c360c674a94203e08f9b110c9a1eba6137ba
parent0c1f4036db0a166fb74885c377a3691edb9ad659
postcopy: Add extra check for COPY function

As an extra sanity check, make sure the region we're registering
can perform UFFDIO_COPY;  the COPY will fail later but this
gives a cleaner failure.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20170224182844.32452-17-dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/postcopy-ram.c