aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-10 12:18:00 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-04 11:53:43 +0200
commit6ece1df96629de8e2381f06b876ceeb5fade758a (patch)
tree1f11fd214e5ad7cafbf22d0acba7f727d9fc4dc8 /include
parentd76795ea3dd412e7f4e293672170e3292ef0f7a5 (diff)
downloadqemu-6ece1df96629de8e2381f06b876ceeb5fade758a.zip
qemu-6ece1df96629de8e2381f06b876ceeb5fade758a.tar.gz
qemu-6ece1df96629de8e2381f06b876ceeb5fade758a.tar.bz2
hw/xen: Register framebuffer backend via xen_backend_init()
Align the framebuffer backend with the other legacy ones, register it via xen_backend_init() when '-vga xenfb' is used. It is safe because MODULE_INIT_XEN_BACKEND is called in xen_bus_realize(), long after CLI processing initialized the vga_interface_type variable. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Paul Durrant <paul@xen.org> Message-Id: <20240510104908.76908-8-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/xen/xen-legacy-backend.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/xen/xen-legacy-backend.h b/include/hw/xen/xen-legacy-backend.h
index e55a140..943732b 100644
--- a/include/hw/xen/xen-legacy-backend.h
+++ b/include/hw/xen/xen-legacy-backend.h
@@ -66,9 +66,6 @@ static inline void xen_be_unmap_grant_ref(struct XenLegacyDevice *xendev,
return xen_be_unmap_grant_refs(xendev, ptr, &ref, 1);
}
-/* backend drivers not included in all machines */
-extern const struct XenDevOps xen_framebuffer_ops; /* xenfb.c */
-
/* configuration (aka xenbus setup) */
void xen_config_cleanup(void);
int xen_config_dev_vfb(int vdev, const char *type);