hmp: use cpu_get_phys_page_debug() in hmp_gva2gpa()
authorDavid Hildenbrand <david@redhat.com>
Mon, 10 Feb 2025 08:46:47 +0000 (09:46 +0100)
committerPeter Xu <peterx@redhat.com>
Wed, 12 Feb 2025 16:33:13 +0000 (11:33 -0500)
commit425ce9b37b98799b46cd0bed0df3dc3af25ba57a
treedb27c48fcf884672d1d700216e154fb6a654404f
parentd732b5a4ac3e8222e9527654f067bb766fdaecb6
hmp: use cpu_get_phys_page_debug() in hmp_gva2gpa()

We don't need the MemTxAttrs, so let's simply use the simpler function
variant.

Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20250210084648.33798-7-david@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
monitor/hmp-cmds-target.c