On Mon, 2013-02-11 at 19:41 -0500, Kevin O'Connor wrote:
On Mon, Feb 11, 2013 at 05:28:11PM +0000, David Woodhouse wrote:
Does QEMU_HARDWARE mean hardware "defined" (so to speak) by QEMU (e.g. virtio type stuff) or does it include regular hardware emulated by QEMU (e.g. real IDE disks etc). Xen uses the latter but not the former. The use of the symbol in both the CONFIG_VIRTIO_FOO and scsi_drive_setup() suggests it covers both?
I think it's supposed to be the former, and would argue (and submit patches) that it *should* be the case even if Kevin's patch series doesn't quite do that.
The intent was to implement the former (QEMU_HARDWARE encapsulate virtual hardware and hardware we only trust in virtual environments - virtio, lsi, esp, debug io, etc). Did the patch get something wrong?
I don't think so, although my Xen patch may have screwed it up if they do indeed use the fw_cfg stuff. I meant to ask about that; thanks for catching it.