Paolo Bonzini 2d1a35bef0 memory: differentiate memory_region_is_logging and memory_region_get_dirty_log_mask
For now memory regions only track DIRTY_MEMORY_VGA individually, but
this will change soon.  To support this, split memory_region_is_logging
in two functions: one that returns a given bit from dirty_log_mask,
and one that returns the entire mask.  memory_region_is_logging gets an
extra parameter so that the compiler flags misuse.

While VGA-specific users (including the Xen listener!) will want to keep
checking that bit, KVM and vhost check for "any bit except migration"
(because migration is handled via the global start/stop listener
callbacks).

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-06-05 17:09:58 +02:00
..
2015-05-29 12:53:12 +02:00
2015-02-06 16:11:38 +00:00
2015-06-04 18:33:24 +01:00
2015-05-11 14:49:03 +01:00
2015-05-11 08:59:07 -04:00
2015-06-04 18:33:24 +01:00
2015-05-29 11:43:29 +02:00
2015-05-27 17:52:03 +02:00
2015-02-16 15:07:19 +00:00
2015-02-05 17:16:14 +01:00