Re: [PATCH v6 2/4] hw/core/qdev-properties-system: Allow the 'slew' policy only on x86

2023-01-11 Thread Bernhard Beschow
Am 10. Januar 2023 09:53:49 UTC schrieb Thomas Huth : >The 'slew' tick policy is currently enforced to be only available on >x86 via some "#ifdef TARGET_I386" statements in mc146818rtc.c. We >want to get rid of those #ifdefs, so we need a different way of >checking whether the policy is allowed

[PATCH v6 2/4] hw/core/qdev-properties-system: Allow the 'slew' policy only on x86

2023-01-10 Thread Thomas Huth
The 'slew' tick policy is currently enforced to be only available on x86 via some "#ifdef TARGET_I386" statements in mc146818rtc.c. We want to get rid of those #ifdefs, so we need a different way of checking whether the policy is allowed or not. Using the setter function in hw/core/qdev-properties-