diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2014-05-07 13:48:37 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2014-05-07 16:17:57 +0000 |
commit | 8b6bb0ad17ab776239ba2bfc99ff107ada01c506 (patch) | |
tree | 9307f53ede79dbf2680560d447f6ac4b03fa1fb4 | |
parent | 04b0de0ee83fe464487406064afe14de27decc24 (diff) |
pass an inclusive address range to xc_domain_pin_memory_cacheattr
xc_domain_pin_memory_cacheattr expects an inclusive address range:
adjust the parameters.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
-rw-r--r-- | xen-hvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -323,7 +323,7 @@ go_physmap: xc_domain_pin_memory_cacheattr(xen_xc, xen_domid, start_addr >> TARGET_PAGE_BITS, - (start_addr + size) >> TARGET_PAGE_BITS, + (start_addr + size - 1) >> TARGET_PAGE_BITS, XEN_DOMCTL_MEM_CACHEATTR_WB); snprintf(path, sizeof(path), |