aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-10 10:22:42 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-04 11:53:43 +0200
commit61d993d4babf3b8bce3b01f69be10f470a006d08 (patch)
tree1ba0f18e3e5dd1d6926cf898bb9e19b53ff416db /include
parenta5bdc451c7d10056acd9b49f6028895451b37df5 (diff)
downloadqemu-61d993d4babf3b8bce3b01f69be10f470a006d08.zip
qemu-61d993d4babf3b8bce3b01f69be10f470a006d08.tar.gz
qemu-61d993d4babf3b8bce3b01f69be10f470a006d08.tar.bz2
hw/xen: Constify XenLegacyDevice::XenDevOps
XenDevOps @ops is not updated, mark it const. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Paul Durrant <paul@xen.org> Message-Id: <20240510104908.76908-3-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/xen/xen_pvdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/xen/xen_pvdev.h b/include/hw/xen/xen_pvdev.h
index fdf84f4..0c98444 100644
--- a/include/hw/xen/xen_pvdev.h
+++ b/include/hw/xen/xen_pvdev.h
@@ -52,7 +52,7 @@ struct XenLegacyDevice {
xenevtchn_handle *evtchndev;
xengnttab_handle *gnttabdev;
- struct XenDevOps *ops;
+ const struct XenDevOps *ops;
QTAILQ_ENTRY(XenLegacyDevice) next;
};