diff options
author | Eduardo Habkost | 2019-05-10 20:56:20 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2019-05-14 20:00:04 +0200 |
commit | 9d3250d5ba8c4c5389530b861686e22e77fddcc7 (patch) | |
tree | 80b616d06242e232762600f80b2d7745ea5015e2 /target/lm32/cpu.c | |
parent | migration/ram.c: fix typos in comments (diff) | |
download | qemu-9d3250d5ba8c4c5389530b861686e22e77fddcc7.tar.gz qemu-9d3250d5ba8c4c5389530b861686e22e77fddcc7.tar.xz qemu-9d3250d5ba8c4c5389530b861686e22e77fddcc7.zip |
monitor: Call mon_get_cpu() only once at hmp_gva2gpa()
hmp_gva2gpa() calls mon_get_cpu() twice, which is unnecessary.
Not an actual bug, but this is reported as a defect by Coverity
Scan (CID 1401346).
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190510185620.15757-1-ehabkost@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'target/lm32/cpu.c')
0 files changed, 0 insertions, 0 deletions