diff options
| author | Cornelia Huck <cohuck@redhat.com> | 2017-09-13 16:20:35 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2017-09-14 15:52:10 +0100 |
| commit | d1e6994abcd12c7f54aa73ff848fb6215c783898 (patch) | |
| tree | 1cc2ee843f45f28b4847c8dbf85c1369484d85fb /include/qemu/typedefs.h | |
| parent | 6dba634097d54db60017f10c160a052e46bdf60d (diff) | |
| download | focaccia-qemu-d1e6994abcd12c7f54aa73ff848fb6215c783898.tar.gz focaccia-qemu-d1e6994abcd12c7f54aa73ff848fb6215c783898.zip | |
dump: do not dump non-existent guest memory
It does not really make sense to dump memory that is not there. Moreover, that fixes a segmentation fault when calling dump-guest-memory with no filter for a machine with no memory defined. New behaviour is: (qemu) dump-guest-memory /dev/null dump: no guest memory to dump (qemu) dump-guest-memory /dev/null 0 4096 dump: no guest memory to dump Signed-off-by: Cornelia Huck <cohuck@redhat.com> Tested-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Peter Xu <peterx@redhat.com> Message-Id: <20170913142036.2469-4-lvivier@redhat.com> Signed-off-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'include/qemu/typedefs.h')
0 files changed, 0 insertions, 0 deletions