David Gibson 2b10808539 Add host_memory_backend_pagesize() helper
There are a couple places (one generic, one target specific) where we need
to get the host page size associated with a particular memory backend.  I
have some upcoming code which will add another place which wants this.  So,
for convenience, add a helper function to calculate this.

host_memory_backend_pagesize() returns the host pagesize for a given
HostMemoryBackend object.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
2018-04-27 18:05:22 +10:00
..
2018-04-26 16:29:50 +01:00
2018-03-07 08:30:28 +13:00
2018-03-02 13:45:50 -06:00
2018-03-01 18:26:17 +02:00
2018-03-02 13:45:50 -06:00
2018-02-09 05:05:11 +01:00
2018-03-08 17:38:51 +00:00
2018-03-13 12:04:03 +01:00
2016-02-23 12:43:05 +00:00
2016-03-08 12:54:14 +05:30
2018-03-13 12:04:03 +01:00
2018-04-26 13:58:29 +01:00
2018-02-07 14:09:26 +01:00