Statistics
| Branch: | Revision:

root / hw / ide @ 6b2578d6

Name Size
Makefile.objs 399 Bytes
ahci.c 38.8 kB
ahci.h 13.4 kB
atapi.c 34.6 kB
cmd646.c 10.2 kB
core.c 70 kB
ich.c 6.2 kB
internal.h 20.8 kB
isa.c 3.8 kB
macio.c 9.3 kB
microdrive.c 17.4 kB
mmio.c 5.1 kB
pci.c 14.9 kB
pci.h 1.5 kB
piix.c 8.7 kB
qdev.c 7.9 kB
via.c 7.1 kB

Latest revisions

# Date Author Comment
6b2578d6 02/01/2013 01:13 am Andreas Färber

ide/mmio: QOM'ify MMIO IDE for R2D

It was not qdev'ified before, so turn it into a SysBusDevice.
Keep mmio_ide_init_drives() around to attach the hard drive.

Signed-off-by: Andreas Färberr <>
Cc: Markus Armbruster <>
Signed-off-by: Aurelien Jarno <>

503cb22e 01/28/2013 10:46 pm Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  1. By Paolo Bonzini (14) and others
  2. Via Kevin Wolf
    • kwolf/for-anthony: (24 commits)
      ide: Add fall through annotations
      block: Create proper size file for disk mirror
      ahci: Add migration support...
07a7484e 01/25/2013 11:02 pm Andreas Färber

ide/macio: QOM'ify MacIO IDE

It was not qdev'ified before. Turn it into a SysBusDevice.
Embed them into the MacIO devices.

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

baec1910 01/25/2013 11:02 pm Andreas Färber

ppc: Move Mac machines to hw/ppc/

Signed-off-by: Andreas Färber <>
[agraf: squash in MAINTAINERS fix]
Signed-off-by: Alexander Graf <>

67bec53d 01/25/2013 07:27 pm Kevin Wolf

ide: Add fall through annotations

Add comments to help static analysers detect that these cases are
intentional, and clean up some whitespace in the environment of these
comments.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Markus Armbruster <>

1147bb15 01/25/2013 07:18 pm Jason Baron

ahci: Remove unused AHCIDevice fields

'dma_status' and 'dma_cb' are written to, but never read.
Remove these fields in preparation for AHCI migration bits.

Signed-off-by: Jason Baron <>
Reviewed-by: Juan Quintela <>
Signed-off-by: Kevin Wolf <>

4ac557c8 01/25/2013 07:18 pm Kevin Wolf

ahci: Change data types in preparation for migration

The size of an int depends on the host, so in order to be able to
migrate these fields, make them either int32_t or bool, depending on the
use.

Signed-off-by: Kevin Wolf <>

a2623021 01/25/2013 07:18 pm Jason Baron

ahci: Add migration support

Jason tested these patches by migrating Windows 7 and Fedora 17 guests
(while under I/O) on both piix with ahci attached and on q35 (which has
a built-in AHCI controller).

Signed-off-by: Andreas Färber <>
Signed-off-by: Jason Baron <>...

6bf3ee07 01/17/2013 11:51 am Kevin Wolf

ide: Remove wrong assertion

The Bus Master IDE Active bit (BM_STATUS_DMAING) is not only set when
the request is still in flight, but also when it has completed and the
size of the physical memory regions in the PRDT was larger than the
transfer size.

Signed-off-by: Kevin Wolf <>...

501378c3 01/15/2013 11:03 am Paolo Bonzini

ide: issue discard asynchronously but serialize the pieces

Now that discard can take a long time, make it asynchronous.
Each LBA range entry is processed separately because discard
can be an expensive operation.

Signed-off-by: Paolo Bonzini <>...

View revisions

Also available in: Atom