[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 2/3] docs/memory: Explicitly state that MemoryReg
From: |
Marcel Apfelbaum |
Subject: |
[Qemu-devel] [PATCH v4 2/3] docs/memory: Explicitly state that MemoryRegion priority is signed |
Date: |
Sun, 15 Sep 2013 19:16:40 +0300 |
Priority was used to make visible some subregions by obscuring
the parent MemoryRegion addresses overlapping with the subregion.
By allowing the priority to be negative the opposite can be done:
Allow a subregion to be visible on all the addresses not covered
by other subregions.
Signed-off-by: Marcel Apfelbaum <address@hidden>
---
docs/memory.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/memory.txt b/docs/memory.txt
index feb9fe9..174c0d7 100644
--- a/docs/memory.txt
+++ b/docs/memory.txt
@@ -80,6 +80,10 @@ guest. This is done with
memory_region_add_subregion_overlap(), which
allows the region to overlap any other region in the same container, and
specifies a priority that allows the core to decide which of two regions at
the same address are visible (highest wins).
+Priority values are signed, and the default value is zero. This means that
+you can use memory_region_add_subregion_overlap() both to specify a region
+that must sit 'above' any others (with a positive priority) and also a
+background region that sits 'below' others (with a negative priority).
Visibility
----------
--
1.8.3.1
- [Qemu-devel] [PATCH v4 0/3] pci: implement upstream master abort protocol, Marcel Apfelbaum, 2013/09/15
- [Qemu-devel] [PATCH v4 1/3] memory: allow MemoryRegion's priority field to accept negative values, Marcel Apfelbaum, 2013/09/15
- [Qemu-devel] [PATCH v4 2/3] docs/memory: Explicitly state that MemoryRegion priority is signed,
Marcel Apfelbaum <=
- [Qemu-devel] [PATCH v4 3/3] hw/pci: handle downstream pci master abort, Marcel Apfelbaum, 2013/09/15
- Re: [Qemu-devel] [PATCH v4 3/3] hw/pci: handle downstream pci master abort, Michael S. Tsirkin, 2013/09/15
- Re: [Qemu-devel] [PATCH v4 3/3] hw/pci: handle downstream pci master abort, Peter Maydell, 2013/09/15
- Re: [Qemu-devel] [PATCH v4 3/3] hw/pci: handle downstream pci master abort, Marcel Apfelbaum, 2013/09/15
- Re: [Qemu-devel] [PATCH v4 3/3] hw/pci: handle downstream pci master abort, Michael S. Tsirkin, 2013/09/15
- Re: [Qemu-devel] [PATCH v4 3/3] hw/pci: handle downstream pci master abort, Peter Maydell, 2013/09/15
- Re: [Qemu-devel] [PATCH v4 3/3] hw/pci: handle downstream pci master abort, Michael S. Tsirkin, 2013/09/15
- Re: [Qemu-devel] [PATCH v4 3/3] hw/pci: handle downstream pci master abort, Peter Maydell, 2013/09/15
- Re: [Qemu-devel] [PATCH v4 3/3] hw/pci: handle downstream pci master abort, Michael S. Tsirkin, 2013/09/16