diff options
| author | Thomas Huth <thuth@redhat.com> | 2023-01-10 10:53:49 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-01-13 16:22:57 +0100 |
| commit | aae167211fb326784b323b87a0e4c0fa832940b3 (patch) | |
| tree | ad33755a3faab6ab80f9c1b78d29633a200ec8d8 /scripts/signrom.py | |
| parent | 2b85e0cda4b066010efda63a2d2359872ba07a04 (diff) | |
| download | focaccia-qemu-aae167211fb326784b323b87a0e4c0fa832940b3.tar.gz focaccia-qemu-aae167211fb326784b323b87a0e4c0fa832940b3.zip | |
hw/core/qdev-properties-system: Allow the 'slew' policy only on x86
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-system.c seems to be a good place, so let's add a check here. Suggested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Bernhard Beschow <shentey@gmail.com> Message-Id: <20230110095351.611724-3-thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'scripts/signrom.py')
0 files changed, 0 insertions, 0 deletions