hw/xen/hvm: Get target page size at runtime
commit825f292d34a71e7f6d5cf592477ef28bde182758
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 14 Nov 2023 14:58:23 +0000 (14 15:58 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 9 Mar 2024 17:51:45 +0000 (9 18:51 +0100)
tree7ba69b9c92dd8125b3aeef290812f6af84958c7d
parent8ebb8682f6037f5373862d7ab2f72c2d3e387fbc
hw/xen/hvm: Get target page size at runtime

In order to build this file once for all targets, replace:

  TARGET_PAGE_BITS -> qemu_target_page_bits()
  TARGET_PAGE_SIZE -> qemu_target_page_size()
  TARGET_PAGE_MASK -> -qemu_target_page_size()

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-Id: <20231114163123.74888-4-philmd@linaro.org>
hw/i386/xen/xen-hvm.c