diff options
author | 2015-07-13 17:34:10 +0800 | |
---|---|---|
committer | 2015-07-15 12:21:28 +0200 | |
commit | 9f5f380b54d6ad80cf35d93c8cd71c8d7a1b52b7 (patch) | |
tree | 83f006700918d86365571f29873403fa3f9c04a0 /hw/misc/omap_clk.c | |
parent | migration: Register global state section before loadvm (diff) | |
download | qemu-9f5f380b54d6ad80cf35d93c8cd71c8d7a1b52b7.tar.xz qemu-9f5f380b54d6ad80cf35d93c8cd71c8d7a1b52b7.zip |
migration: reduce the count of strlen call
'strlen' is called three times in 'save_page_header', it's
inefficient.
Signed-off-by: Liang Li <liang.z.li@intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw/misc/omap_clk.c')
0 files changed, 0 insertions, 0 deletions