qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 08/10] ahci: add ahci emulation


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 08/10] ahci: add ahci emulation
Date: Wed, 17 Nov 2010 14:56:51 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat/3.1.3-1.el6 Thunderbird/3.1.3

  Hi,

Hmm, no bus registered anywhere.  Dunno whenever it makes sense to
register ide bus(es) here or whenever we should create a new sata
bus.

I'm not sure I understand this comment :).

The ahci controller should register one or more busses where you can hook up devices to via -device. Right now the code seems to use one ide bus per sata port, with ide drives being attached to the master channel only. The ide bus isn't registered though, so it isn't visible via qdev. Thus you can't construct a machine with ahci using -device.

Also a ide bus as it works currently isn't exactly a good fit, there is no such thing as master/slave in sata. Dunno whenever it is better to create a new sata bus or to extend the current ide bus code so it can handle both pata and sata.

Hope it is more clear now ;)

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]