mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
QMP: Introduce RTC_CHANGE event
Emitted whenever the RTC time changes. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
d74c7dfd1b
commit
80cd34787f
6 changed files with 32 additions and 0 deletions
|
@ -423,6 +423,9 @@ void monitor_protocol_event(MonitorEvent event, QObject *data)
|
|||
case QEVENT_BLOCK_IO_ERROR:
|
||||
event_name = "BLOCK_IO_ERROR";
|
||||
break;
|
||||
case QEVENT_RTC_CHANGE:
|
||||
event_name = "RTC_CHANGE";
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue