qemu-patch-raspberry4/hw
Andreas Färber f68ec8379e ide: Set BSY bit during FLUSH
The implementation of the ATA FLUSH command invokes a flush at the block
layer, which may on raw files on POSIX entail a synchronous fdatasync().
This may in some cases take so long that the SLES 11 SP1 guest driver
reports I/O errors and filesystems get corrupted or remounted read-only.

Avoid this by setting BUSY_STAT, so that the guest is made aware we are
in the middle of an operation and no ATA commands are attempted to be
processed concurrently.

Addresses BNC#637297.

Suggested-by: Gonglei (Arei) <arei.gonglei@huawei.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-06-06 11:27:27 +02:00
..
9pfs hw/9pfs: Be robust against paths without FS_IOC_GETVERSION 2013-05-28 15:23:12 +05:30
acpi refer to FWCfgState explicitly 2013-06-02 18:14:02 +03:00
alpha include: avoid useless includes of exec/ headers 2013-04-15 18:19:26 +02:00
arm exynos4210.c: register rom_mem for memory migration 2013-06-03 17:17:46 +01:00
audio remove some double-includes 2013-05-18 16:35:12 +04:00
block block: add block driver read only whitelist 2013-06-04 12:11:58 +02:00
bt sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
char debugcon: fix compiler warning when open DEBUG_DEBUGCON 2013-06-01 14:25:38 +04:00
core pci: misc cleanups 2013-06-04 09:26:29 -05:00
cpu target-i386: Move APIC to ICC bus 2013-05-01 13:06:07 +02:00
cris hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
display Merge remote-tracking branch 'mjt/trivial-patches' into staging 2013-06-03 08:37:44 -05:00
dma Rename hexdump to avoid FreeBSD libutil conflict 2013-05-20 08:20:08 -05:00
gpio Remove unneeded type casts 2013-04-19 11:36:33 +02:00
i2c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
i386 Merge remote-tracking branch 'sstabellini/xen_fixes_20130603' into staging 2013-06-04 14:58:58 -05:00
ide ide: Set BSY bit during FLUSH 2013-06-06 11:27:27 +02:00
input vmmouse: QOM'ify 2013-04-29 08:27:50 -05:00
intc apic: rename apic specific bitopts 2013-06-02 18:14:02 +03:00
isa ich9: kill cmos_s3 2013-04-24 11:50:18 -05:00
lm32 qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
m68k hw: move char devices to hw/char/, configure via default-configs/ 2013-04-08 18:13:14 +02:00
microblaze Remove unneeded type casts 2013-04-19 11:36:33 +02:00
mips remove some double-includes 2013-05-18 16:35:12 +04:00
misc pvpanic: use FWCfgState explicitly 2013-06-02 18:14:15 +03:00
moxie Trivial grammar and spelling fixes 2013-05-01 20:55:21 +04:00
net rtl8139: flush queued packets when RxBufPtr is written 2013-05-24 16:34:13 +02:00
nvram fw_cfg: fw_cfg is a singleton 2013-06-02 18:14:14 +03:00
openrisc hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pci pci: add VMSTATE_MSIX 2013-06-03 11:37:44 +02:00
pci-bridge dec.c - move to pci-bridge 2013-06-02 18:13:37 +03:00
pci-host dec.c - move to pci-bridge 2013-06-02 18:13:37 +03:00
ppc remove some double-includes 2013-05-18 16:35:12 +04:00
s390x virtio-net-x: forward the netclient name and type. 2013-05-15 08:48:25 -05:00
scsi exec: eliminate qemu_put_ram_ptr 2013-05-24 18:42:19 +02:00
sd sd/sd.c: Fix "inquiry" ACMD41 2013-06-03 17:17:45 +01:00
sh4 arm: fix location of some include files 2013-04-15 15:16:01 +02:00
sparc refer to FWCfgState explicitly 2013-06-02 18:14:02 +03:00
sparc64 refer to FWCfgState explicitly 2013-06-02 18:14:02 +03:00
ssi xilinx_spips: lqspi: Fix byte/misaligned access 2013-06-03 17:17:44 +01:00
timer i.MX: Improve EPIT timer code. 2013-06-03 17:17:46 +01:00
tpm Move TPM passthrough specific command line options to backend structure 2013-04-23 10:40:40 -05:00
unicore32 console: add device link to QemuConsoles 2013-04-25 14:45:46 -05:00
usb xhci: add live migration support 2013-06-03 11:38:03 +02:00
virtio qdev: fix get_fw_dev_path to support to add nothing to fw_dev_path 2013-05-30 11:44:27 -05:00
watchdog wdt_ib700: QOM'ify 2013-04-29 08:27:50 -05:00
xen target-i386: Replace MSI_SPACE_SIZE with APIC_SPACE_SIZE 2013-05-01 13:04:19 +02:00
xtensa sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
Makefile.objs virtio: simplify Makefile conditionals 2013-04-19 16:18:11 +02:00