Re: plugin interface function qemu_plugin_mem_size_shift

2020-04-03 Thread Richard Henderson
On 4/3/20 11:55 AM, Alex Bennée wrote: > + * The size_shift is the scale of access, e.g. << 3 is a 64 bit wide > + * access. Maybe better as "e.g. 1 << 3 is an 8-byte access."? r~

Re: plugin interface function qemu_plugin_mem_size_shift

2020-04-03 Thread Alex Bennée
Robert Henry writes: > 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. It's the size as a power of 2,

plugin interface function qemu_plugin_mem_size_shift

2020-01-21 Thread Robert Henry
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.