[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/6] [AHCI]resend all patches to add ahci support in
From: |
QiaoChong |
Subject: |
[Qemu-devel] [PATCH 0/6] [AHCI]resend all patches to add ahci support into qemu |
Date: |
Tue, 11 May 2010 07:19:01 +0800 |
When ahci init ,driver will send ATA_SRST command,ahci device report device
type through port's sig register.
Ahci disk lookup change from IF_SD to IF_SCSI now,because IF_SD does not
support cdrom media.
I just copy ide_atapi_cmd from hw/ide/core.c into hw/ahci.c,change a
little,then the cdrom can be identified,and read by os.
If qemu can change dma_buf_prepare,dma_buf_rw,dma_buf_commit to a function
pointer in BMDMAState,then I can rewrite three functions to support ahci's
prtd,because it is different from ide's.
test a sata disk like this:
./i386-softmmu/qemu -cdrom KNOPPIX_V6.0.1CD-2009-02-08-EN.iso -drive
if=scsi,file=/tmp/disk
test a sata cd like this:
./i386-softmmu/qemu -cdrom KNOPPIX_V6.0.1CD-2009-02-08-EN.iso -drive
if=scsi,media=cdrom,file=KNOPPIX_V6.0.1CD-2009-02-08-EN.iso
QiaoChong (5):
add ahci support into qemu,only support sata disk.
add ahci device into i386 pc just for test.
add WIN_STANDBYNOW1 process into ahci.
ahci pci ids into pci_ids.h,add warning messages.
add cdrom support for ahci.
Sebastian Herbszt (1):
fix port count,cap and version etc to ahci.
Makefile.target | 4 +
default-configs/i386-softmmu.mak | 2 +
hw/ahci.c | 1241 ++++++++++++++++++++++++++++++++++++++
hw/pc.c | 1 +
hw/pci_ids.h | 1 +
5 files changed, 1249 insertions(+), 0 deletions(-)
create mode 100644 hw/ahci.c
- [Qemu-devel] [PATCH 0/6] [AHCI]resend all patches to add ahci support into qemu,
QiaoChong <=
- [Qemu-devel] [PATCH 2/6] add ahci device into i386 pc just for test., QiaoChong, 2010/05/10
- [Qemu-devel] [PATCH 4/6] add WIN_STANDBYNOW1 process into ahci., QiaoChong, 2010/05/10
- [Qemu-devel] [PATCH 3/6] fix port count, cap and version etc to ahci., QiaoChong, 2010/05/10
- [Qemu-devel] [PATCH 1/6] add ahci support into qemu, only support sata disk., QiaoChong, 2010/05/10
- [Qemu-devel] [PATCH 5/6] ahci pci ids into pci_ids.h, add warning messages., QiaoChong, 2010/05/10
- [Qemu-devel] [PATCH 6/6] add cdrom support for ahci., QiaoChong, 2010/05/10
- [Qemu-devel] Re: [PATCH 0/6] [AHCI]resend all patches to add ahci support into qemu, Alexander Graf, 2010/05/10