@@ -145,8 +145,6 @@ pub(crate) struct SandboxMemoryManager<S: SharedMemory> {
145145 pub ( crate ) layout : SandboxMemoryLayout ,
146146 /// Offset for the execution entrypoint from `load_addr`
147147 pub ( crate ) entrypoint : NextAction ,
148- /// How many memory regions were mapped after sandbox creation
149- pub ( crate ) mapped_rgns : u64 ,
150148 /// Buffer for accumulating guest abort messages
151149 pub ( crate ) abort_buffer : Vec < u8 > ,
152150 /// Generation counter: how many snapshots have been taken from
@@ -287,7 +285,6 @@ where
287285 shared_mem,
288286 scratch_mem,
289287 entrypoint,
290- mapped_rgns : 0 ,
291288 abort_buffer : Vec :: new ( ) ,
292289 snapshot_count : 0 ,
293290 }
@@ -364,7 +361,6 @@ impl SandboxMemoryManager<ExclusiveSharedMemory> {
364361 scratch_mem : hscratch,
365362 layout : self . layout ,
366363 entrypoint : self . entrypoint ,
367- mapped_rgns : self . mapped_rgns ,
368364 abort_buffer : self . abort_buffer ,
369365 snapshot_count : self . snapshot_count ,
370366 } ;
@@ -373,7 +369,6 @@ impl SandboxMemoryManager<ExclusiveSharedMemory> {
373369 scratch_mem : gscratch,
374370 layout : self . layout ,
375371 entrypoint : self . entrypoint ,
376- mapped_rgns : self . mapped_rgns ,
377372 abort_buffer : Vec :: new ( ) , // Guest doesn't need abort buffer
378373 snapshot_count : self . snapshot_count ,
379374 } ;
0 commit comments