]> git.ipfire.org Git - thirdparty/qemu.git/commit
monitor/hmp-cmds-target: Append a space in error message in gpa2hva()
authorYao Xingtao <yaoxt.fnst@fujitsu.com>
Tue, 19 Mar 2024 02:16:10 +0000 (10:16 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 27 Mar 2024 06:49:20 +0000 (09:49 +0300)
commit0041b5a0140a9ed3984e66919fc4227ac4e23f75
tree3165fe29dbedbd1d2c4cfcb044caf64d3dc35afd
parent783b2fc0a93953be2dd115aeb7bf0333d1eb704a
monitor/hmp-cmds-target: Append a space in error message in gpa2hva()

In qemu monitor mode, when we use gpa2hva command to print the host
virtual address corresponding to a guest physical address, if the gpa is
not in RAM, the error message is below:

  (qemu) gpa2hva 0x750000000
  Memory at address 0x750000000is not RAM

A space is missed between '0x750000000' and 'is'.

Signed-off-by: Yao Xingtao <yaoxt.fnst@fujitsu.com>
Fixes: e9628441df ("hmp: gpa2hva and gpa2hpa hostaddr command")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Dr. David Alan Gilbert <dave@treblig.org>
Message-ID: <20240319021610.2423844-1-ruansy.fnst@fujitsu.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit a158c63b3ba120f1656e4dd815d186c623fb5ef6)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
monitor/hmp-cmds-target.c