sh7750: convert memory controller/ioport to memory API
Signed-off-by: Benoit Canet <benoit.canet@gmail.com>Signed-off-by: Avi Kivity <avi@redhat.com>
sh7750: convert cache and tlb to memory API
sh_timer: convert to memory API
sh_intc: convert interrupt controller to memory API
sh_serial: convert to memory API
lm32_timer: convert to memory API
Signed-off-by: Avi Kivity <avi@redhat.com>
ppc4xx_pci: convert to memory API
slavio_misc: convert diagnostic to memory API
slavio_misc: convert modem to memory API
slavio_misc: convert leds to memory API
slavio_misc: convert system control to memory API
slavio_misc: convert aux1 to memory API
slavio_misc: convert aux2 to memory API
slavio_intctl: convert master interrupt controller to memory API
slavio_intctl: convert slaves interrupt controllers to memory API
slavio_timer: convert to memory API
musicpal: avoid call to sysbus_init_mmio()
Instead of calling sysbus_init_mmio() with a null region,create a dummy region using the memory API.
grlib_apbuart: convert to memory API
grlib_gptimer: convert to memory API
grlib_irqmp: convert to memory API
sun4m_iommu: convert to memory API
sun4c_intctl: convert to memory API
xilinx_axidma: convert to memory API
xilinx_axienet: convert to memory API
slavio_misc: convert apc to memory API
slavio_misc: convert configuration to memory API
esp: convert to memory API
[benoit: fix]
fw_cfg: convert to memory API
Because the new API doesn't allow overlapping regions with just differentaccess sizes, we have to create a new "combined" region for both controland data, when the two share an ioport offset.
mpc8544_guts: convert to memory API
empty_slot: convert to memory API
eccmemctl: convert to memory API
axis_dev88: convert to memory API
pxa2xx_dma: convert to memory API
sparc32_dma: convert to memory API
bitbang_i2c: avoid call to sysbus_init_mmio()
pxa2xx_mmci: convert to memory API
Convert mechanicaly; the access size of the old_mmio fieldsseems odd.
pxa2xx_lcd: convert to memory API
rc4030: convert to memory API
hpet: convert to memory API
ide/mmio: convert to memory API
cs4321: convert to memory API
dp8393x: convert to memory API
Fixes address space leak on hotunplug.
ds1225y: convert to memory API
m48t59: convert to memory API
syborg_virtio: convert to memory API
pxa2xx_gpio: convert to memory API
pxa2xx_pcmcia.c: convert common memory space to memory API
pxa2xx_pcmcia.c: convert attribute memory space to memory API
pxa2xx_pcmcia.c: convert io memory space to memory API
pxa2xx_keypad: convert to memory API
pxa2xx_timer: convert to memory API
pxa2xx_pic: convert to memory API
The ARM documentation say transfers between the cpu and thecoprocessor are 32 bits wide.Use 4 as size for coprocessor read and writes.
stellaris: convert gptm to memory API
Signed-off-by: Benoit Canet <benoit.canet@gmail.com>Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Avi Kivity <avi@redhat.com>
marvell_88x8618_audio: convert to memory API
mst_fpga: convert to memory API
syborg_fb: convert to memory API
syborg_interrupt: convert to memory API
syborg_keyboard: convert to memory API
syborg_pointer: convert to memory API
syborg_rtc: convert to memory API
syborg_serial: convert to memory API
syborg_timer: convert to memory API
fdc: convert to memory API
FIXME: instance ID for migration
sbi: convert to memory API
ioapic: Reject non-dword accesses to IOWIN register
Aligns the model with the spec.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Avi Kivity <avi@redhat.com>
ioapic: Convert to memory API
This maintains the old imprecise access size handling.
integratorcp: convert core to memory API
integratorcp: convert icp pic to memory API
integratorcp: convert control to memory API
stellaris: convert sys to memory API
stellaris: convert i2c to memory API
stellaris: convert adc to memory API
pl011: convert to memory API
pl022: convert to memory API
pl031: convert to memory API
pl050: convert to memory API
pl061: convert to memory API
pl080: convert to memory API
pl110: convert to memory API
pl181: convert to memory API
pl190: convert to memory API
tosa: convert to memory API
versatilepb: convert to memory API
vexpress: convert to memory API
virtex_ml507: convert to memory API
shix: convert to memory API
RAM wasn't actually allocated, only used, so fix that as well.
jazz_led: convert to memory API
parallel: convert to memory API
zaurus: convert to memory API
msix: track function masked in pci device state
Only go over the table when function is masked.This is not really important for qemu.git but helpsfix a bug in qemu-kvm.git.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
msix: Prevent bogus mask updates on MMIO accesses
From: Jan Kiszka <jan.kiszka@siemens.com>
Only accesses to the MSI-X table must trigger a call tomsix_handle_mask_update, otherwise the vectorvalue might be out of range.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>...
msix: avoid mask updates if mask is unchanged
Check pending bit only if vector mask status changed.This is not really important for qemu.git but helpsfix a bug in qemu-kvm.git.
ivshmem: fix PCI BAR2 registration during initialization
Ivshmem cannot work, and the command lspci cannot show ivshmem BAR2 in the guest.As for pci_register_bar(), parameter MemoryRegion should be s->bar instead of s->ivshmem.
Reviewed-by: Avi Kivity <avi@redhat.com>...
9p: pass dotl flags to the unlinkat method
AT_REMOVEDIR is not defined on all systems. Pass the raw flags from the9p protocol, which are always there.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
9p: allow compiling the dummy virtio-9p-handle.c code on Linux
Avoid a conflict on the definition of struct file_handle byusing a replacement name.
ivshmem: use migration blockers to prevent live migration in peer mode (v2)
Now when you try to migrate with ivshmem, you get a proper QMP error:
(qemu) migrate tcp:localhost:1025Migration is disabled when using feature 'peer mode' in device 'ivshmem'(qemu)...
Merge remote-tracking branch 'kraxel/usb.31' into staging
Merge remote-tracking branch 'origin/master' into staging
usb-storage: don't try to send the status early.
Until recently all scsi commands sent to scsi-disk did either transferdata or finished instantly. The correct implementation ofSYNCRONIZE_CACHE changed the picture though, and usb-storage needsa fix to handle that case correctly.
ehci: add assert
Coverity thinks q could be NULL there and warns.I believe it can't be NULL there.Add assert to prove it.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>