On 04/12/2013 07:05 AM, Paolo Bonzini wrote:
Il 12/04/2013 07:52, mrhi...@linux.vnet.ibm.com ha scritto:
+void ram_control_load_hook(QEMUFile *f, uint32_t flags)
+{
+int ret = 0;
+
+if (f->ops->hook_ram_load) {
+qemu_fflush(f);
+ret = f->ops->hook_ram_load(f, f->opaque, f
Il 12/04/2013 07:52, mrhi...@linux.vnet.ibm.com ha scritto:
>
> +void ram_control_load_hook(QEMUFile *f, uint32_t flags)
> +{
> +int ret = 0;
> +
> +if (f->ops->hook_ram_load) {
> +qemu_fflush(f);
> +ret = f->ops->hook_ram_load(f, f->opaque, flags);
> +if (ret < 0)
From: "Michael R. Hines"
These are the actual definitions of the accessor methods
which call out to QEMUFileOps hooks during the RAM
iteration faces. These hooks are accessed by
arch_init.c, which comes later in the patch series.
Signed-off-by: Michael R. Hines
---
savevm.c | 81 +++