qemu/include
Xiao Guangrong 2aece63c8a hostmem: detect host backend memory is being used properly
Currently, we use memory_region_is_mapped() to detect if the host
backend memory is being used. This works if the memory is directly
mapped into guest's address space, however, it is not true for
nvdimm as it uses aliased memory region to map the memory. This is
why this bug can happen:
   https://bugzilla.redhat.com/show_bug.cgi?id=1352769

Fix it by introduce a new filed, is_mapped, to HostMemoryBackend,
we set/clear this filed accordingly when the device link/unlink to
host backend memory

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-07-13 13:30:04 +02:00
..
block scsi-bus: Add SCSI scanner support 2016-07-12 18:31:26 +02:00
crypto crypto: add support for TLS priority string override 2016-07-04 15:52:43 +01:00
disas disas: avoid including everything in headers compiled from C++ 2016-07-12 18:31:27 +02:00
exec tcg: Improve the alignment check infrastructure 2016-07-05 20:50:13 -07:00
fpu softfloat: Implement run-time-configurable meaning of signaling NaN bit 2016-06-24 13:40:37 +01:00
hw scsi-bus: Use longer sense buffer with scanners 2016-07-12 18:31:26 +02:00
io sockets: Use new QAPI cloning 2016-07-06 10:52:04 +02:00
libdecnumber include: Clean up includes 2016-02-23 12:43:05 +00:00
migration scsi: esp: fix migration 2016-06-29 14:03:47 +02:00
monitor Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
net tap: vhost busy polling support 2016-07-07 14:29:04 +08:00
qapi sockets: Use new QAPI cloning 2016-07-06 10:52:04 +02:00
qemu util: Fix MIN_NON_ZERO 2016-07-13 12:55:11 +02:00
qom cpu: Use CPUClass->parse_features() as convertor to global properties 2016-07-07 15:25:01 -03:00
standard-headers linux-headers: update 2016-06-14 13:34:50 +02:00
sysemu hostmem: detect host backend memory is being used properly 2016-07-13 13:30:04 +02:00
ui gtk: fix build 2016-07-11 10:40:29 +01:00
elf.h linux-user: Update preprocessor constants for Mips-specific e_flags bits 2016-06-24 13:41:45 +01:00
glib-compat.h vhost-user-test: fix g_cond_wait_until compat implementation 2016-06-29 16:49:40 +02:00
qemu-common.h qemu-common.h: Drop WORDS_ALIGNED define 2016-06-07 18:19:24 +03:00
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
trace-tcg.h trace: [tcg] Generate TCG tracing routines 2014-08-12 14:26:12 +01:00
trace.h trace: [tcg] Include event definitions in "trace.h" 2014-08-12 14:26:12 +01:00