qemu/include
David Gibson be85537d65 spapr: Validate capabilities on migration
Now that the "pseries" machine type implements optional capabilities (well,
one so far) there's the possibility of having different capabilities
available at either end of a migration.  Although arguably a user error,
it would be nice to catch this situation and fail as gracefully as we can.

This adds code to migrate the capabilities flags.  These aren't pulled
directly into the destination's configuration since what the user has
specified on the destination command line should take precedence.  However,
they are checked against the destination capabilities.

If the source was using a capability which is absent on the destination,
we fail the migration, since that could easily cause a guest crash or other
bad behaviour.  If the source lacked a capability which is present on the
destination we warn, but allow the migration to proceed.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
2018-01-17 09:35:24 +11:00
..
block nbd: rename nbd_option and nbd_opt_reply 2018-01-10 12:11:23 -06:00
chardev chardev: introduce qemu_chr_timeout_add_ms() 2018-01-12 13:22:02 +01:00
crypto
disas target/xtensa: implement disassembler 2018-01-09 09:55:39 -08:00
exec cpu_physical_memory_sync_dirty_bitmap: Another alignment fix 2018-01-16 14:54:52 +01:00
fpu
hw spapr: Validate capabilities on migration 2018-01-17 09:35:24 +11:00
io io: introduce a network socket listener API 2017-12-15 15:07:26 +00:00
libdecnumber
migration migration: finalize current_migration object 2018-01-15 12:48:05 +01:00
monitor
net net: Remove the legacy "-net channel" parameter 2017-12-22 10:05:26 +08:00
qapi
qemu util/qemu-thread-*: add qemu_lock, locked and unlock trace events 2018-01-16 14:54:52 +01:00
qom i386: hvf: add code base from Google's QEMU repository 2017-12-22 15:01:20 +01:00
scsi scsi: provide general-purpose functions to manage sense data 2017-12-21 09:30:32 +01:00
standard-headers
sysemu i386: hvf: implement vga dirty page tracking 2017-12-22 15:01:48 +01:00
ui sdl2: Ignore UI hotkeys after a focus change when GUI modifier is held 2018-01-12 15:51:18 +01:00
elf.h
glib-compat.h
qemu-common.h
qemu-io.h
trace-tcg.h