]> www.infradead.org Git - users/dwmw2/qemu.git/commit
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>
Wed, 11 Jan 2023 08:07:53 +0000 (08:07 +0000)
commit3183bae5d28263f276818cfa4c8a90cade7e2cec
treef3e74e49d2d225693cbdfbec35e7cf6e967e1f98
parentf217a5de6839e92d59c038102a1520e7993f8003
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>
hw/block/dataplane/xen-block.c
hw/display/xenfb.c
hw/net/xen_nic.c
hw/usb/xen-usb.c