]> git.proxmox.com Git - mirror_qemu.git/commit - hw/block/dataplane/xen-block.c
hw/xen: Use XEN_PAGE_SIZE in PV backend drivers
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 7 Jan 2023 16:47:43 +0000 (16:47 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 7 Mar 2023 17:04:30 +0000 (17:04 +0000)
commita9ae1418b36b20ab06fb760b1108f61f49a76164
tree28d3cb0092a9b7c3f90cb5c8b9571430ebaab71b
parent7a8a749da7d30b420291fa0b11e3eda7f72d9b83
hw/xen: Use XEN_PAGE_SIZE in PV backend drivers

XC_PAGE_SIZE comes from the actual Xen libraries, while XEN_PAGE_SIZE is
provided by QEMU itself in xen_backend_ops.h. For backends which may be
built for emulation mode, use the latter.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/block/dataplane/xen-block.c
hw/display/xenfb.c
hw/net/xen_nic.c
hw/usb/xen-usb.c