Skip to content

Commit

Permalink
exec-ram: reserve more space for the dirty bitmap
Browse files Browse the repository at this point in the history
This accommodates KVM clients that require more space for their
virtual devices. Unfortunately, this value cannot be easily
determined automatically.

Signed-off-by: Vitaly Chipounov <vitaly@cyberhaven.io>
  • Loading branch information
vitaly-cyberhaven committed Nov 7, 2018
1 parent 76d8b4e commit 22f71c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exec-ram.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ bool init_ram_size(int argc, char **argv) {
// Extra buffer for video ram and other devices.
// This is arbitrary, if it's not enough, execution will
// abort later.
length += 10 * 1024 * 1024;
length += 17 * 1024 * 1024;
length >>= TARGET_PAGE_BITS;

ram_list.phys_dirty_size = length;
Expand Down

0 comments on commit 22f71c2

Please sign in to comment.