diff options
| author | Zhou Jie <zhoujie2011@cn.fujitsu.com> | 2016-04-25 11:36:06 -0400 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2016-05-27 09:40:23 +1000 |
| commit | 8afc22a20fba6aa078e4e7a625d16d78da768323 (patch) | |
| tree | 8cf698f4f8ec81a66c0299617989aa39637997b2 /scripts/dump-guest-memory.py | |
| parent | 5c29dd8c28c3c7718cc37b38c5171b3caf629928 (diff) | |
| download | focaccia-qemu-8afc22a20fba6aa078e4e7a625d16d78da768323.tar.gz focaccia-qemu-8afc22a20fba6aa078e4e7a625d16d78da768323.zip | |
Added negative check for get_image_size()
This patch adds check for negative return value from get_image_size(), where it is missing. It avoids unnecessary two function calls. Signed-off-by: Zhou Jie <zhoujie2011@cn.fujitsu.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/dump-guest-memory.py')
0 files changed, 0 insertions, 0 deletions