summaryrefslogtreecommitdiff
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-02-08 13:14:38 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2015-03-10 08:15:33 +0300
commit0dc9daf0be2a4ebb3c6529d1c458d8ccf26cd412 (patch)
treeecb6729cd553f7ff572efb7938bbbcb18c393a5e /qemu-options.hx
parent31da45ce04c5e886369bf88bf727cef5ccb3b12b (diff)
downloadqemu-0dc9daf0be2a4ebb3c6529d1c458d8ccf26cd412.tar.gz
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 'qemu-options.hx')
0 files changed, 0 insertions, 0 deletions