Skip to content

Commit ae82f62

Browse files
committed
Minor updates to storage example
1 parent 0947035 commit ae82f62

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/storage.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ int main(int argc, char** argv)
5858
const tinykvm::MachineOptions options {
5959
.max_mem = GUEST_MEMORY,
6060
.max_cow_mem = GUEST_WORK_MEM,
61-
.reset_free_work_mem = 0,
62-
.verbose_loader = false,
63-
.hugepages = (getenv("HUGE") != nullptr),
61+
.verbose_loader = false
6462
};
6563
tinykvm::Machine master_vm {guest_binary, options};
6664
master_vm.setup_linux(
@@ -71,9 +69,9 @@ int main(int argc, char** argv)
7169
/* Create storage VM */
7270
const tinykvm::MachineOptions storage_options {
7371
.max_mem = 256ULL << 20, // MB
72+
.dylink_address_hint = 0x44000000, // 1GB + 64MB
7473
.vmem_base_address = 1ULL << 30, // 1GB
7574
.verbose_loader = false,
76-
.hugepages = (getenv("HUGE") != nullptr),
7775
};
7876
tinykvm::Machine storage_vm{storage_binary, storage_options};
7977
storage_vm.setup_linux(

0 commit comments

Comments
 (0)