diff options
| author | Eduardo Habkost <ehabkost@redhat.com> | 2019-05-10 15:56:20 -0300 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-05-14 19:00:04 +0100 |
| commit | 9d3250d5ba8c4c5389530b861686e22e77fddcc7 (patch) | |
| tree | 80b616d06242e232762600f80b2d7745ea5015e2 /hw/net/vhost_net.c | |
| parent | a5f7b1a63ced35cc18fe8fa9e1679219fad9abde (diff) | |
| download | focaccia-qemu-9d3250d5ba8c4c5389530b861686e22e77fddcc7.tar.gz focaccia-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 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions