diff options
author | Juan Quintela <quintela@redhat.com> | 2017-04-24 20:50:19 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-05-18 19:20:59 +0200 |
commit | 51180423a226adbd80d64bf75b8522256b1266f1 (patch) | |
tree | e7967c0784c46f80c5edd4535fd0c9516b690233 /migration | |
parent | 68ba3b07436396733f7313c81956410af6d17083 (diff) |
exec: Create include for target_page_size()
That is the only function that we need from exec.c, and having to
include the whole sysemu.h for this.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
---
/me leans to be less sloppy with copyright notices
thanks Dave
Diffstat (limited to 'migration')
-rw-r--r-- | migration/migration.c | 1 | ||||
-rw-r--r-- | migration/postcopy-ram.c | 1 | ||||
-rw-r--r-- | migration/savevm.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/migration/migration.c b/migration/migration.c index 9fe474b63b..ad29e53400 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -37,6 +37,7 @@ #include "qom/cpu.h" #include "exec/memory.h" #include "exec/address-spaces.h" +#include "exec/target_page.h" #include "io/channel-buffer.h" #include "io/channel-tls.h" #include "migration/colo.h" diff --git a/migration/postcopy-ram.c b/migration/postcopy-ram.c index 0e2a996168..a37620dac6 100644 --- a/migration/postcopy-ram.c +++ b/migration/postcopy-ram.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu-common.h" +#include "exec/target_page.h" #include "migration/migration.h" #include "migration/qemu-file.h" #include "postcopy-ram.h" diff --git a/migration/savevm.c b/migration/savevm.c index 85651030b4..8763700bd5 100644 --- a/migration/savevm.c +++ b/migration/savevm.c @@ -43,6 +43,7 @@ #include "qemu/queue.h" #include "sysemu/cpus.h" #include "exec/memory.h" +#include "exec/target_page.h" #include "qmp-commands.h" #include "trace.h" #include "qemu/bitops.h" |