|
@@ -927,7 +927,7 @@ static const VMStateDescription vmstate_xive_tctx = {
|
|
|
},
|
|
|
};
|
|
|
|
|
|
-static Property xive_tctx_properties[] = {
|
|
|
+static const Property xive_tctx_properties[] = {
|
|
|
DEFINE_PROP_LINK("cpu", XiveTCTX, cs, TYPE_CPU, CPUState *),
|
|
|
DEFINE_PROP_LINK("presenter", XiveTCTX, xptr, TYPE_XIVE_PRESENTER,
|
|
|
XivePresenter *),
|
|
@@ -1403,7 +1403,7 @@ static const VMStateDescription vmstate_xive_source = {
|
|
|
* The default XIVE interrupt source setting for the ESB MMIOs is two
|
|
|
* 64k pages without Store EOI, to be in sync with KVM.
|
|
|
*/
|
|
|
-static Property xive_source_properties[] = {
|
|
|
+static const Property xive_source_properties[] = {
|
|
|
DEFINE_PROP_UINT64("flags", XiveSource, esb_flags, 0),
|
|
|
DEFINE_PROP_UINT32("nr-irqs", XiveSource, nr_irqs, 0),
|
|
|
DEFINE_PROP_UINT32("shift", XiveSource, esb_shift, XIVE_ESB_64K_2PAGE),
|
|
@@ -2002,7 +2002,7 @@ void xive_router_notify(XiveNotifier *xn, uint32_t lisn, bool pq_checked)
|
|
|
xive_router_end_notify_handler(xrtr, &eas);
|
|
|
}
|
|
|
|
|
|
-static Property xive_router_properties[] = {
|
|
|
+static const Property xive_router_properties[] = {
|
|
|
DEFINE_PROP_LINK("xive-fabric", XiveRouter, xfb,
|
|
|
TYPE_XIVE_FABRIC, XiveFabric *),
|
|
|
DEFINE_PROP_END_OF_LIST(),
|
|
@@ -2170,7 +2170,7 @@ static void xive_end_source_realize(DeviceState *dev, Error **errp)
|
|
|
(1ull << (xsrc->esb_shift + 1)) * xsrc->nr_ends);
|
|
|
}
|
|
|
|
|
|
-static Property xive_end_source_properties[] = {
|
|
|
+static const Property xive_end_source_properties[] = {
|
|
|
DEFINE_PROP_UINT32("nr-ends", XiveENDSource, nr_ends, 0),
|
|
|
DEFINE_PROP_UINT32("shift", XiveENDSource, esb_shift, XIVE_ESB_64K),
|
|
|
DEFINE_PROP_LINK("xive", XiveENDSource, xrtr, TYPE_XIVE_ROUTER,
|