qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 2/2] hw/ide: add ich6 ide controller device emulation


From: Gerd Hoffmann
Subject: Re: [PATCH v2 2/2] hw/ide: add ich6 ide controller device emulation
Date: Mon, 21 Feb 2022 12:33:58 +0100

  Hi,

> > ICH6 and ICH7 IDE controllers are quite the same as far as I know. I
> > could change it, but then one could argue that the name ich6-ide seems
> > like "ich9-ide", so not sure if we can really go on this path.
> 
> I think we don't actually have ich9-ide, we only have piix3, piix4 and ahci,
> the latter is used by ich9. I just said that calling this new device
> ich7-ide instead of ich6-ide would make it more clear it has nothing to do
> with ich9.

Well, there actually is ich9-ide in physical hardware.  And it's quite
simliar for all ich6 -> ich9 (and possibly more) physical hardware.

The hardware implements both ide and sata.  Typically the bios setup
offers to pick ide or sata mode for the storage controller, and on boot
the chipset is configured accordingly by the firmware.

qemu never bothered to implement ide mode for q35/ich9.  When a guest OS
is so old that it doesn't come with a sata driver there is the option to
just use the 'pc' machine type.  And usually that's the better choice
anyway because these old guests tend to have problems with other q35
components too.

So I'm wondering why you implement ich{6,7,9}-ide in the first place?
What is the use case / benefit?

take care,
  Gerd




reply via email to

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