aboutsummaryrefslogtreecommitdiff
path: root/include/hw/rtc/mc146818rtc.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-09-13 21:53:41 +0200
committerMarkus Armbruster <armbru@redhat.com>2020-09-29 15:41:35 +0200
commit8dc007d3d9f79d0c60c750055a79ce8b21bfb494 (patch)
tree6976d1dfce41d752ad2acb408517f77dd39fbe5d /include/hw/rtc/mc146818rtc.h
parentb150cb8f67bf491a49a1cb1c7da151eeacbdbcc9 (diff)
qapi: Restrict LostTickPolicy enum to machine code
Restricting LostTickPolicy to machine.json pulls slightly less QAPI-generated code into user-mode. Acked-by: Markus Armbruster <armbru@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200913195348.1064154-2-philmd@redhat.com> [Add rationale to commit message] Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/hw/rtc/mc146818rtc.h')
-rw-r--r--include/hw/rtc/mc146818rtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/rtc/mc146818rtc.h b/include/hw/rtc/mc146818rtc.h
index 6224b5276a..5b45b22924 100644
--- a/include/hw/rtc/mc146818rtc.h
+++ b/include/hw/rtc/mc146818rtc.h
@@ -9,7 +9,7 @@
#ifndef HW_RTC_MC146818RTC_H
#define HW_RTC_MC146818RTC_H
-#include "qapi/qapi-types-misc.h"
+#include "qapi/qapi-types-machine.h"
#include "qemu/queue.h"
#include "qemu/timer.h"
#include "hw/isa/isa.h"