unicorn/qemu/include
Paolo Bonzini e3d1cef8fb
memory: prepare for multiple bits in the dirty log mask
When the dirty log mask will also cover other bits than DIRTY_MEMORY_VGA,
some listeners may be interested in the overall zero/non-zero value of
the dirty log mask; others may be interested in the value of single bits.

For this reason, always call log_start/log_stop if bits have respectively
appeared or disappeared, and pass the old and new values of the dirty log
mask so that listeners can distinguish the kinds of change.

For example, KVM checks if dirty logging used to be completely disabled
(in log_start) or is now completely disabled (in log_stop). On the
other hand, Xen has to check manually if DIRTY_MEMORY_VGA changed,
since that is the only bit it cares about.

Backports commit b2dfd71c4843a762f2befe702adb249cf55baf66 from qemu
2018-02-13 08:52:23 -05:00
..
exec memory: prepare for multiple bits in the dirty log mask 2018-02-13 08:52:23 -05:00
fpu softfloat: expand out STATUS macro 2018-02-12 13:43:13 -05:00
hw target-i386: clear bsp bit when designating bsp 2018-02-12 16:40:35 -05:00
qapi platform.h move #3 2017-01-21 00:13:21 +11:00
qemu bitops.h: sextract64() return type should be int64_t, not uint64_t 2018-02-12 16:08:14 -05:00
qom exec: make iotlb RCU-friendly 2018-02-12 15:20:39 -05:00
sysemu ffs() is redundant 2017-01-21 11:11:22 +08:00
config.h import 2015-08-21 15:04:50 +08:00
elf.h fix merge conflicts 2017-03-10 21:04:33 +08:00
glib_compat.h platform.h move #3 2017-01-21 00:13:21 +11:00
qemu-common.h fix conflicts 2017-01-21 11:06:05 +08:00