qemu-irix/hw
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
..
9pfs
acpi opts-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
alpha
arm arm: virt: Parse cpu_model only once 2016-07-07 15:25:05 -03:00
audio pci: Convert msi_init() to Error and fix callers to check it 2016-07-05 13:14:41 +03:00
block hw/block/m25p80: fix resource leak 2016-07-07 13:47:01 +01:00
bt
char
core vl: Set errp to &error_abort on machine compat_props 2016-07-07 15:24:55 -03:00
cpu
cris
display aux: Rename aux.[ch] to auxbus.[ch] for the benefit of Windows 2016-07-07 13:47:01 +01:00
dma
gpio
i2c
i386 target-i386: Publish advised value of MSR_IA32_FEATURE_CONTROL via fw_cfg 2016-07-07 15:25:31 -03:00
ide pci: Convert msi_init() to Error and fix callers to check it 2016-07-05 13:14:41 +03:00
input
intc
ipack
ipmi
isa
lm32
m68k
mem hostmem: detect host backend memory is being used properly 2016-07-13 13:30:04 +02:00
microblaze m25p80: qdev-ify drive property 2016-07-04 13:15:22 +01:00
mips
misc hostmem: detect host backend memory is being used properly 2016-07-13 13:30:04 +02:00
moxie
net tap: vhost busy polling support 2016-07-07 14:29:04 +08:00
nvram
openrisc
pci qapi: Improve use of qmp/types.h 2016-07-06 10:52:03 +02:00
pci-bridge pci: Convert msi_init() to Error and fix callers to check it 2016-07-05 13:14:41 +03:00
pci-host range: Eliminate direct Range member access 2016-07-04 16:49:33 +03:00
pcmcia
ppc qapi: Add parameter to visit_end_* 2016-07-06 10:52:04 +02:00
s390x
scsi scsi-bus: Use longer sense buffer with scanners 2016-07-12 18:31:26 +02:00
sd
sh4
smbios
sparc
sparc64
ssi ast2400: add SPI flash slaves 2016-07-04 13:15:22 +01:00
timer i.MX: split the GPT timer implementation into per SOC definitions 2016-07-07 13:47:01 +01:00
tpm
tricore
unicore32
usb pci: Convert msi_init() to Error and fix callers to check it 2016-07-05 13:14:41 +03:00
vfio pc, pci, virtio: new features, cleanups, fixes 2016-07-05 16:48:24 +01:00
virtio tap: vhost busy polling support 2016-07-07 14:29:04 +08:00
watchdog
xen
xenpv
xtensa
Makefile.objs