diff options
| author | Marcelo Tosatti | 2014-06-24 23:55:11 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2014-06-29 17:59:35 +0200 |
| commit | f2ae8abf1fa003e7ec6ee22cc3871924422a01d0 (patch) | |
| tree | b7c7f3bd2345af11289f489b939f544924070de8 /qapi-schema.json | |
| parent | pc: Fix "prog_if" typo on PC_COMPAT_2_0 (diff) | |
| download | qemu-f2ae8abf1fa003e7ec6ee22cc3871924422a01d0.tar.gz qemu-f2ae8abf1fa003e7ec6ee22cc3871924422a01d0.tar.xz qemu-f2ae8abf1fa003e7ec6ee22cc3871924422a01d0.zip | |
mc146818rtc: add rtc-reset-reinjection QMP command
It is necessary to reset RTC interrupt reinjection backlog if
guest time is synchronized via a different mechanism, such as
QGA's guest-set-time command.
Failing to do so causes both corrections to be applied (summed),
resulting in an incorrect guest time.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qapi-schema.json')
| -rw-r--r-- | qapi-schema.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index a83befc05b..b11aad2068 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3468,3 +3468,15 @@ ## { 'enum': 'GuestPanicAction', 'data': [ 'pause' ] } + +## +# @rtc-reset-reinjection +# +# This command will reset the RTC interrupt reinjection backlog. +# Can be used if another mechanism to synchronize guest time +# is in effect, for example QEMU guest agent's guest-set-time +# command. +# +# Since: 2.1 +## +{ 'command': 'rtc-reset-reinjection' } |
