I don't understand what unsigned int qemu_plugin_mem_size_shift(qemu_plugin_meminfo_t info); does. The documentation in qemu-plugin.h is silent on this matter. It appears to expose more of the guts of qemu that I don't yet know.