mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
e6dba04813
Add a QMP command to allow for the behaviors specified by the -no-reboot and -no-shutdown command line option to be set at runtime. The new command is named set-action and takes optional arguments, named after an event, that provide a corresponding action to take. Example: -> { "execute": "set-action", "arguments": { "reboot": "none", "shutdown": "poweroff", "watchdog": "debug" } } <- { "return": {} } Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com> Message-Id: <1607705564-26264-4-git-send-email-alejandro.j.jimenez@oracle.com> [Split the series differently, with -action based on the QMP command. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
33 lines
714 B
Meson
33 lines
714 B
Meson
specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
|
|
'arch_init.c',
|
|
'balloon.c',
|
|
'cpus.c',
|
|
'cpu-throttle.c',
|
|
'datadir.c',
|
|
'globals.c',
|
|
'physmem.c',
|
|
'ioport.c',
|
|
'rtc.c',
|
|
'runstate.c',
|
|
'memory.c',
|
|
'memory_mapping.c',
|
|
'qtest.c',
|
|
'vl.c',
|
|
'cpu-timers.c',
|
|
'runstate-action.c',
|
|
)])
|
|
|
|
specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files(
|
|
'icount.c'
|
|
)])
|
|
|
|
softmmu_ss.add(files(
|
|
'bootdevice.c',
|
|
'dma-helpers.c',
|
|
'qdev-monitor.c',
|
|
), sdl, libpmem, libdaxctl)
|
|
|
|
softmmu_ss.add(when: 'CONFIG_TPM', if_true: files('tpm.c'))
|
|
softmmu_ss.add(when: 'CONFIG_SECCOMP', if_true: [files('qemu-seccomp.c'), seccomp])
|
|
softmmu_ss.add(when: fdt, if_true: files('device_tree.c'))
|