On 09/09/14 20:04, Bryan Steele wrote:
Neat! :-)
It seems the GENERIC sparc64 kernel already has PCMCIA/CardBus ne(4), so
adding 'ne* at pci?' might "just work".
OpenBSD/sparc64 already supports sun4v LDOMS, so there's drivers implementing
the virtual protocols (..vnet(4)/vdsk(4)). Does QEMU support this?
Could the PCI virtio stuff be adapted to non-x86 architectures?
QEMU already has a virtio PCI device that can be plugged into
qemu-system-sparc64 (see Artyom's blog at
http://tyom.blogspot.co.uk/2013/03/debiansparc64-wheezy-under-qemu-how-to.html
for an example of how to do this with Linux).
This could be an amusing project; in theory it would be possible to work
on an x86 laptop to test/debug big-endian virtio support with the help
of QEMU's virtual hardware. You can do this by plugging in a standard
virtual cdrom/hd along with an additional virtio hd/nic, booting from
the standard devices and then testing the drivers accessing the extra
devices as required.
I should probably add that there may still be some CPU bugs lying
around, and also you'd need a power source since as I don't believe the
UIIi processor has any power-saving instructions (or at least QEMU
doesn't emulate them) which causes qemu-system-sparc64 to take a lot of
CPU...
ATB,
Mark.