diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-05-10 10:22:42 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-04 11:53:43 +0200 |
| commit | 61d993d4babf3b8bce3b01f69be10f470a006d08 (patch) | |
| tree | 1ba0f18e3e5dd1d6926cf898bb9e19b53ff416db /include/hw/xen/xen_pvdev.h | |
| parent | a5bdc451c7d10056acd9b49f6028895451b37df5 (diff) | |
| download | focaccia-qemu-61d993d4babf3b8bce3b01f69be10f470a006d08.tar.gz focaccia-qemu-61d993d4babf3b8bce3b01f69be10f470a006d08.zip | |
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/hw/xen/xen_pvdev.h')
| -rw-r--r-- | include/hw/xen/xen_pvdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/xen/xen_pvdev.h b/include/hw/xen/xen_pvdev.h index fdf84f47af..0c98444047 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; }; |