On 9/1/21 8:58 AM, Thomas Huth wrote:
The PAGE_SIZE macro is causing trouble on Alpine Linux since it
clashes with a macro from a system header there. We already have
the TARGET_PAGE_SIZE, TARGET_PAGE_MASK and TARGET_PAGE_BITS macros
in QEMU anyway, so let's simply replace the PAGE_SIZE, PAGE_MASK
and PAGE_SHIFT macro with their TARGET_* counterparts.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/572
Signed-off-by: Thomas Huth <th...@redhat.com>

Code looks good, also took it for a quick sanity test with s390x kvm host against vfio-pci and virtio-pci, works as expected. Thanks Thomas!

Reviewed-by: Matthew Rosato <mjros...@linux.ibm.com>

Reply via email to