commit | 632e3a5cd812d6bbd38fd2f3ffc189ff5ea51926 | [log] [tgz] |
---|---|---|
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | Thu Jun 11 18:17:23 2015 +0100 |
committer | Juan Quintela <quintela@redhat.com> | Tue Jul 07 14:54:48 2015 +0200 |
tree | 2a6c855e5db41e88b4df8e20524c33be4a8adeff | |
parent | b12f7777981953b7d939496283014740bdd6de64 [diff] |
Rework ram_control_load_hook to hook during block load We need the names of RAMBlocks as they're loaded for RDMA, reuse a slightly modified ram_control_load_hook: a) Pass a 'data' parameter to use for the name in the block-reg case b) Only some hook types now require the presence of a hook function. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>