> + if (size >= PREFERRED_RAM_ALIGN) > + new_block->host = qemu_memalign(PREFERRED_RAM_ALIGN, size); >
Is this deliberately bigger-than rather than multiple-of? Having the size not be a multiple of alignment seems somewhat strange, it's always going to be wrong at one end... Paul