diff options
Diffstat (limited to 'tests/libqos/malloc-pc.c')
-rw-r--r-- | tests/libqos/malloc-pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libqos/malloc-pc.c b/tests/libqos/malloc-pc.c index 6a5fdf360a..6e253b6877 100644 --- a/tests/libqos/malloc-pc.c +++ b/tests/libqos/malloc-pc.c @@ -38,7 +38,7 @@ QGuestAllocator *pc_alloc_init_flags(QAllocOpts flags) ram_size = qfw_cfg_get_u64(fw_cfg, FW_CFG_RAM_SIZE); s = alloc_init_flags(flags, 1 << 20, MIN(ram_size, 0xE0000000)); - s->page_size = PAGE_SIZE; + alloc_set_page_size(s, PAGE_SIZE); /* clean-up */ g_free(fw_cfg); |