Il 16/04/2013 04:44, mrhi...@linux.vnet.ibm.com ha scritto:
> +} else if (flags & RAM_SAVE_FLAG_HOOK) {
> +ram_control_load_hook(f, RAM_CONTROL_HOOK);
> }
Please pass flags as the second parameter (and change the argument to
uint64_t).
Paolo
From: "Michael R. Hines"
This takes advantages of the previous patches:
1. use the new QEMUFileOps hook 'save_page'
2. call out to the right accessor methods to invoke
the iteration hooks defined in QEMUFileOps
Signed-off-by: Michael R. Hines
---
arch_init.c | 35 +++