diff options
| author | Borislav Petkov | 2015-02-08 13:14:38 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2015-03-10 06:15:33 +0100 |
| commit | 0dc9daf0be2a4ebb3c6529d1c458d8ccf26cd412 (patch) | |
| tree | ecb6729cd553f7ff572efb7938bbbcb18c393a5e /scripts | |
| parent | xilinx_ethlite: Clean up after commit 2f991ad (diff) | |
| download | qemu-0dc9daf0be2a4ebb3c6529d1c458d8ccf26cd412.tar.gz qemu-0dc9daf0be2a4ebb3c6529d1c458d8ccf26cd412.tar.xz qemu-0dc9daf0be2a4ebb3c6529d1c458d8ccf26cd412.zip | |
memsave: Improve and disambiguate error message
When requesting a size which cannot be read, the error message shows
a different address which is misleading to the user and it looks like
something's wrong with the address parsing. This is because the input
@addr variable is incremented in the memory dumping loop:
(qemu) memsave 0xffffffff8418069c 0xb00000 mem
Invalid addr 0xffffffff849ffe9c specified
Fix that by saving the original address and size and use them in the
error message:
(qemu) memsave 0xffffffff8418069c 0xb00000 mem
Invalid addr 0xffffffff8418069c/size 11534336 specified
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
