From: Jan Kiszka <[email protected]>

It's a bit wasteful, but the alternative can be that the guest moves the
region close to a physical one, and then we need to start configuring
sub-page dispatching. That is first of all a source for mistakes
(specifically in combination with generated configs), and it may even be
suboptimal in case exceeding, full-page access on that physical region
would have been safe.

Signed-off-by: Jan Kiszka <[email protected]>
---
 include/jailhouse/cell-config.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/jailhouse/cell-config.h b/include/jailhouse/cell-config.h
index fcc58cfb..472cb4bb 100644
--- a/include/jailhouse/cell-config.h
+++ b/include/jailhouse/cell-config.h
@@ -223,7 +223,7 @@ struct jailhouse_pci_device {

 #define JAILHOUSE_IVSHMEM_BAR_MASK_MSIX                        \
        {                                               \
-               0xfffff000, 0xfffffe00, 0x00000000,     \
+               0xfffff000, 0xfffff000, 0x00000000,     \
                0x00000000, 0x00000000, 0x00000000,     \
        }

@@ -235,7 +235,7 @@ struct jailhouse_pci_device {

 #define JAILHOUSE_IVSHMEM_BAR_MASK_MSIX_64K            \
        {                                               \
-               0xffff0000, 0xfffffe00, 0x00000000,     \
+               0xffff0000, 0xffff0000, 0x00000000,     \
                0x00000000, 0x00000000, 0x00000000,     \
        }

--
2.26.2

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/0c815f56-edee-86dd-7b91-19a8b6206f3e%40web.de.

Reply via email to