We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b45b363 commit 4e7d3b2Copy full SHA for 4e7d3b2
1 file changed
src/hyperlight_common/src/arch/i686/layout.rs
@@ -18,7 +18,9 @@ limitations under the License.
18
// allow compiling the guest for real mode boot scenarios.
19
20
pub const MAX_GVA: usize = 0xffff_ffff;
21
-pub const MAX_GPA: usize = 0xffff_ffff;
+/// Set below the KVM APIC access page at 0xFEE00000 to avoid EEXIST when scratch
22
+/// regions are large enough to reach that address.
23
+pub const MAX_GPA: usize = 0xFEDF_FFFF;
24
25
pub fn min_scratch_size(_input_data_size: usize, _output_data_size: usize) -> usize {
26
crate::vmem::PAGE_SIZE
0 commit comments