qemu/stubs
zhanghailiang d89e666e06 COLO: Add 'x-colo-lost-heartbeat' command to trigger failover
We leave users to choose whatever heartbeat solution they want,
if the heartbeat is lost, or other errors they detect, they can use
experimental command 'x_colo_lost_heartbeat' to tell COLO to do failover,
COLO will do operations accordingly.

For example, if the command is sent to the Primary side,
the Primary side will exit COLO mode, does cleanup work,
and then, PVM will take over the service work. If sent to the Secondary side,
the Secondary side will run failover work, then takes over PVM's service work.

Cc: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Amit Shah <amit@amitshah.net>
2016-10-30 15:17:39 +05:30
..
arch-query-cpu-def.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
arch-query-cpu-model-baseline.c qmp: add QMP interface "query-cpu-model-baseline" 2016-09-06 17:06:51 +02:00
arch-query-cpu-model-comparison.c qmp: add QMP interface "query-cpu-model-comparison" 2016-09-06 17:06:51 +02:00
arch-query-cpu-model-expansion.c qmp: add QMP interface "query-cpu-model-expansion" 2016-09-06 17:06:51 +02:00
bdrv-next-monitor-owned.c block: Add bdrv_next_monitor_owned() 2016-03-17 15:47:56 +01:00
blk-commit-all.c block: Move some bdrv_*_all() functions to BB 2016-03-17 15:47:56 +01:00
blockdev-close-all-bdrv-states.c all: Clean up includes 2016-02-16 14:29:28 +00:00
clock-warp.c icount: decouple warp calls 2016-03-15 18:23:45 +01:00
cpu-get-clock.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
cpu-get-icount.c include: move CPU-related definitions out of qemu-common.h 2016-05-19 13:08:04 +02:00
cpus.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
dump.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fd-register.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-add-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-find-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-get-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-remove-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
gdbstub.c Clean up includes some more 2016-03-22 22:20:16 +01:00
get-fd.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
get-next-serial.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
get-vm-name.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
iohandler.c iohandler: Introduce iohandler_get_aio_context 2016-04-22 16:43:42 +02:00
iothread-lock.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
ipmi.c acpi: Add IPMI table entries 2016-06-24 05:13:57 +03:00
is-daemonized.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
kvm.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
machine-init-done.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
Makefile.objs migration: Introduce capability 'x-colo' to migration 2016-10-30 15:17:39 +05:30
migr-blocker.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
migration-colo.c COLO: Add 'x-colo-lost-heartbeat' command to trigger failover 2016-10-30 15:17:39 +05:30
mon-is-qmp.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
mon-printf.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
monitor-init.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
notify-event.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
pc_madt_cpu_entry.c pc: acpi: introduce AcpiDeviceIfClass.madt_cpu hook 2016-06-24 05:21:16 +03:00
qmp_pc_dimm_device_list.c move get_current_ram_size to virtio-balloon.c 2016-02-23 12:55:16 +02:00
qtest.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
replay-user.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
replay.c replay: allow replay stopping and restarting 2016-09-27 11:57:30 +02:00
reset.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
runstate-check.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
set-fd-handler.c event-notifier: Add "is_external" parameter 2016-04-22 16:43:56 +02:00
slirp.c qemu-common: stop including qemu/host-utils.h from qemu-common.h 2016-05-19 16:42:28 +02:00
smbios_type_38.c ipmi: Add SMBIOS table entry 2016-06-24 05:13:57 +03:00
sysbus.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
target-get-monitor-def.c Clean up includes some more 2016-03-22 22:20:16 +01:00
target-monitor-defs.c Clean up includes some more 2016-03-22 22:20:16 +01:00
trace-control.c trace: remove global 'uint16 dstate[]' array 2016-10-12 09:35:54 +02:00
uuid.c util: Add UUID API 2016-09-23 11:42:52 +08:00
vhost.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
vm-stop.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
vmstate.c tests: cleanup ptimer-test 2016-10-17 19:22:17 +01:00