On 04/15/2013 11:24 PM, Paolo Bonzini wrote:
Il 16/04/2013 04:44, 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) {
+ret = f->ops->hook_ram_load(f, f->opaque, flags);
+if (ret <
Il 16/04/2013 04:44, 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) {
> +ret = f->ops->hook_ram_load(f, f->opaque, flags);
> +if (ret < 0) {
> +qemu_file_set
From: "Michael R. Hines"
These are the prototypes and implementation of new hooks that
RDMA takes advantage of to perform dynamic page registration.
An optional hook is also introduced for a custom function
to be able to override the default save_page function.
Also included are the prototypes