Page MenuHomeFreeBSD
Feed Advanced Search

Aug 27 2017

iateaca updated the diff for D5473: ATA/ATAPI6 device emulation in bhyve.

remove sectors_per_block field from the ata channel
allow seccount to be set smaller than ATA_SECTORS_PER_BLOCK

Aug 27 2017, 1:51 PM

Aug 15 2017

iateaca updated the diff for D5473: ATA/ATAPI6 device emulation in bhyve.

add Copyright and license

Aug 15 2017, 9:48 AM

Mar 14 2017

iateaca added a comment to D7840: HD Audio Emulation For Bhyve.
In D7840#205182, @mav wrote:

I don't object committing this. I just want code style to be fixed according to style(9) first, for example, too long lines.

Mar 14 2017, 10:54 AM

Sep 9 2016

iateaca retitled D7840: HD Audio Emulation For Bhyve from to HD Audio Emulation For Bhyve.
Sep 9 2016, 7:02 AM

Jul 24 2016

iateaca added a comment to D5473: ATA/ATAPI6 device emulation in bhyve.

Support for FreeBSD 6 and older, even if for historical/academic purposes, is a topic that keeps coming up. Legacy systems come in all shapes and sizes and I can think of at least one point-of-sale vendor that spans generations of FreeBSD and other Unix systems.

Is this code in a usable state?

I think making it easy for the various interested parties to use it would better drive its direction.

FYI: You can also use my account 'dexter' on this system.

Jul 24 2016, 7:15 AM

Mar 2 2016

iateaca added a comment to D5473: ATA/ATAPI6 device emulation in bhyve.

Support for legacy o/s's has driven much of bhyve development. I'm all for this, though I agree there should be some consolidation of code that could be shared between ATA/ATAPI and AHCI.

Mar 2 2016, 8:53 AM

Mar 1 2016

iateaca added a comment to D5473: ATA/ATAPI6 device emulation in bhyve.
In D5473#117352, @mav wrote:

The motivation is to run older versions of operating systems such as FreeBSD 4 which does not have AHCI drivers.
What do you mean by code duplication ? I think only the ATAPI CDROM logic could be common but the current implementation from AHCI can not be used with the ATA data strcutures. If we want to achive this, I think a redesign of AHCI ATAPI is required too.

I personally see quite little sense in supporting so old legacy guests. I agree that there can be "some cases", but I am not sure they worth the time spent and code size growth. Other then legacy guests support this code does not give us anything useful -- legacy ATA will be by definition much slower and less functional then its AHCI counterpart. It will require dozens of emulated register accesses per I/O, comparing to only several for AHCI, and won't support command queuing.

Though obviously nice and clean unified implementation would look better. In your patch you are one more time reimplementing some subsets of ATA and ATAPI commands handling, already done much wider for AHCI. It would be much better to have single device emulation code, interfacing with different controller code parts. But it would also take much more time (you are rigth that it would require existing code redesign), for the same little reason, so I am not sure how good is that idea. It needs investigation.

Mar 1 2016, 12:39 PM
iateaca added a comment to D5473: ATA/ATAPI6 device emulation in bhyve.
In D5473#117324, @mav wrote:

It was definitely significant amount of work, but I am not sure what motivation was behind it. Why do we need it after already having much more featured AHCI-based ATA/ATAPI emulation? Are there any significant OS not supporting AHCI? There is significant amount of code duplication between implementations, plus this one obviously requires more work to be complete.

Mar 1 2016, 9:55 AM

Feb 27 2016

iateaca retitled D5473: ATA/ATAPI6 device emulation in bhyve from to ATA/ATAPI6 device emulation in bhyve.
Feb 27 2016, 1:12 PM