ram: Use page number instead of an address for the bitmap operations
commit06b106889a09277617fc8c542397a9f595ee605a
authorJuan Quintela <quintela@redhat.com>
Tue, 21 Mar 2017 14:18:05 +0000 (21 15:18 +0100)
committerJuan Quintela <quintela@redhat.com>
Fri, 21 Apr 2017 10:25:39 +0000 (21 12:25 +0200)
tree86bf4200ea9d130f215a3b662a15d8e774dc5f1b
parent247956946651ae0280f7b1ea88bb6237dd01c231
ram: Use page number instead of an address for the bitmap operations

We use an unsigned long for the page number.  Notice that our bitmaps
already got that for the index, so we have that limit.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
--

rename page to page_abs everywhere.
fix trace types for pages
migration/ram.c
migration/trace-events