On 04.07.16 at 18:09, <czuzu@xxxxxxxxxxxxxxx> wrote:
Now that I think about it, that's feasible too. So then, make
arch_vm_event be dynamically allocated as it was, but slightly change
its definition to:
struct arch_vm_event {
uint32_t emulate_flags;
struct vm_event_emul_read_data *emul_read_data;
struct monitor_write_data *write_data;
};
, allocate it when it was previously allocated along emul_read_data and
write_data but don't ever deallocate it entirely, instead only
deallocate and reallocate selectively (emul_read_data) as needed, correct?