summaryrefslogtreecommitdiff
path: root/migration
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-03-23 15:59:57 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2016-05-18 15:04:27 +0300
commitcb8d4c8f54b8271f642f02382eec29d468bb1c77 (patch)
tree93a1691d7a5d90ddbb77a3210299089fcede4947 /migration
parentd506dc87b97659f08c65d3bb470b1b7bfd789759 (diff)
downloadqemu-cb8d4c8f54b8271f642f02382eec29d468bb1c77.zip
Fix some typos found by codespell
Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'migration')
-rw-r--r--migration/migration.c2
-rw-r--r--migration/ram.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/migration/migration.c b/migration/migration.c
index 991313a862..c08d9a69b0 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -278,7 +278,7 @@ static void deferred_incoming_migration(Error **errp)
void migrate_send_rp_req_pages(MigrationIncomingState *mis, const char *rbname,
ram_addr_t start, size_t len)
{
- uint8_t bufc[12 + 1 + 255]; /* start (8), len (4), rbname upto 256 */
+ uint8_t bufc[12 + 1 + 255]; /* start (8), len (4), rbname up to 256 */
size_t msglen = 12; /* start + len */
*(uint64_t *)bufc = cpu_to_be64((uint64_t)start);
diff --git a/migration/ram.c b/migration/ram.c
index 3f057388cb..88fbffcce4 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -1272,7 +1272,7 @@ static int ram_save_target_page(MigrationState *ms, QEMUFile *f,
}
/**
- * ram_save_host_page: Starting at *offset send pages upto the end
+ * ram_save_host_page: Starting at *offset send pages up to the end
* of the current host page. It's valid for the initial
* offset to point into the middle of a host page
* in which case the remainder of the hostpage is sent.