]> git.proxmox.com Git - mirror_qemu.git/commit - migration/savevm.c
postcopy: ram_enable_notify to switch on userfault
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 5 Nov 2015 18:11:04 +0000 (18:11 +0000)
committerJuan Quintela <quintela@redhat.com>
Tue, 10 Nov 2015 14:00:27 +0000 (15:00 +0100)
commitf0a227ade4b0331c9e12fc01f8b74e2531fd496d
tree23a8a5aa128c2ebb7410146c3c40aacbbe244765
parent1caddf8a819d83027d897997c0af10c426f88633
postcopy: ram_enable_notify to switch on userfault

Mark the area of RAM as 'userfault'
Start up a fault-thread to handle any userfaults we might receive
from it (to be filled in later)

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/migration.h
include/migration/postcopy-ram.h
migration/postcopy-ram.c
migration/savevm.c