summary refs log tree commit diff stats
path: root/include/hw/xen/xen_pvdev.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@amd.com>2024-05-03 03:44:46 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-04 11:53:41 +0200
commita5bdc451c7d10056acd9b49f6028895451b37df5 (patch)
treeeeadafa81161eb90060735f1c08be786b421c50e /include/hw/xen/xen_pvdev.h
parent5d1c26029e54bbdcef081cf3a016abf890f2da54 (diff)
downloadfocaccia-qemu-a5bdc451c7d10056acd9b49f6028895451b37df5.tar.gz
focaccia-qemu-a5bdc451c7d10056acd9b49f6028895451b37df5.zip
physmem: Replace check for RAMBlock offset 0 with xen_mr_is_memory
For xen, when checking for the first RAM (xen_memory), use
xen_mr_is_memory() rather than checking for a RAMBlock with
offset 0.

All Xen machines create xen_memory first so this has no
functional change for existing machines.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <20240529140739.1387692-6-edgar.iglesias@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/hw/xen/xen_pvdev.h')
0 files changed, 0 insertions, 0 deletions