Statistics
| Branch: | Revision:

root / hw / ide @ 1c66869a

Name Size
Makefile.objs 487 Bytes
ahci.c 38.7 kB
ahci.h 13.4 kB
atapi.c 34.6 kB
cmd646.c 10.2 kB
core.c 71.1 kB
ich.c 6.2 kB
internal.h 20.8 kB
isa.c 3.9 kB
macio.c 9.3 kB
microdrive.c 17.5 kB
mmio.c 5.1 kB
pci.c 14.9 kB
pci.h 1.5 kB
piix.c 8.7 kB
qdev.c 8.3 kB
via.c 7.1 kB

Latest revisions

# Date Author Comment
a0436e92 06/24/2013 11:25 am Kevin Wolf

ide: Add handler to ide_cmd_table

As a preparation for moving all IDE commands into their own function
like in the ATAPI code, introduce a 'handler' callback to ide_cmd_table.

Commands using this new infrastructure get some things handled
automatically:...

4286434c 06/24/2013 11:25 am Kevin Wolf

ide: Convert WIN_DSM to ide_cmd_table handler

Signed-off-by: Kevin Wolf <>
Signed-off-by: Stefan Hajnoczi <>

1c66869a 06/24/2013 11:25 am Kevin Wolf

ide: Convert WIN_IDENTIFY to ide_cmd_table handler

Signed-off-by: Kevin Wolf <>
Signed-off-by: Stefan Hajnoczi <>

df32fd1c 06/20/2013 05:39 pm Paolo Bonzini

dma: eliminate DMAContext

The DMAContext is a simple pointer to an AddressSpace that is now always
already available. Make everyone hold the address space directly,
and clean up the DMA API to use the AddressSpace directly.

Reviewed-by: Peter Maydell <>...

371a775d 06/15/2013 01:53 pm Blue Swirl

Merge branch 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu

  • 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu:
    qdev: Drop FROM_QBUS() macro
    isa: QOM'ify ISADevice
    isa: QOM'ify ISABus
    i8259: Convert PICCommonState to use QOM realizefn...
db895a1e 06/07/2013 01:14 pm Andreas Färber

isa: Use realizefn for ISADevice

Drop ISADeviceClass::init and the resulting no-op initfn and let
children implement their own realizefn. Adapt error handling.
Split off an instance_init where sensible.

Signed-off-by: Andreas Färber <>

f68ec837 06/06/2013 12:27 pm Andreas Färber

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....

b9b5df6f 05/20/2013 02:54 am Aurelien Jarno

ide/macio: fix wrong opaque with TRIM support

Commit 215e47b9 enabled TRIM by default, which revealed a bug in TRIM
support for the IDE macio emulation driver, introduced in d353fb72.

The call to dma_bdrv_io() is using a wrong opaque of type IDEState
instead of DBDMA_io. This patch fixes that....

0ee20e66 05/08/2013 04:28 pm Kevin Wolf

ahci: Don't allow creating slave drives

An IDE bus provided by AHCI can only take a single IDE drive. If you add
a drive as slave, qemu used to accept the command line but the device
wouldn't be actually usable. Catch the situation instead and error out....

b39f9612 05/08/2013 04:28 pm Kevin Wolf

ide: Reset BMIDEA bit when the bus master is stopped

The device is supposed to reset the Bus Master IDE Active bit in the
status register when 0 is written to the Start/Stop Bus Master bit in
the command register.

In the common cases this happens automatically because bdrv_drain_all()...

View revisions

Also available in: Atom