vfio: cpu: Use "real" page size API
commitf7ceed190d7dcd907afe4b46b23809aaad09a619
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Mon, 6 Jul 2015 18:15:12 +0000 (6 12:15 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 6 Jul 2015 18:15:12 +0000 (6 12:15 -0600)
tree105c52cde67f31e6fb87ac5c76eb21b3ccf6b832
parent4e51361d79289aee2985dfed472f8d87bd53a8df
vfio: cpu: Use "real" page size API

This is system level code, and should only depend on the host page
size, not the target page size.

Note that HOST_PAGE_SIZE is misleadingly lead and is really aligning
to both host and target page size. Hence it's replacement with
REAL_HOST_PAGE_SIZE.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c