On 9 November 2011 11:06, Pawel Moll <pawel.moll@xxxxxxx> wrote: > On Wed, 2011-11-09 at 10:55 +0000, Sasha Levin wrote: >> On Wed, 2011-11-09 at 10:47 +0000, Pawel Moll wrote: >> > Yep, it's actually already in 3.2-rc1 (drivers/virtio/virtio_mmio.c) and >> > in the spec (see Appendix X). And actually the control registers layout >> > I used was originally based on the PCI "legacy" headers (slightly >> > simplified), but evolved a bit since. My understanding is that the >> > changes Michael is proposing affect the PCI device interface only so >> > they shouldn't affect "my" interface. >> >> I didn't know it's in already, might be interesting adding support to it >> to x86 userspace tools. > > Do you mean the qemu or the (non-qemu) KVM tools I know nothing > about? ;-) > > If qemu, Peter got it already running with virtio_mmio on ARM models > (not upstream yet as far as I know), but I presume the code would we > mostly non-ARM specific. The QEMU code is completely non-ARM-specific (apart from the line in the relevant ARM board models where we instantiate the devices). I haven't submitted it upstream yet though because really the virtio transport layer in QEMU needs to be refactored as a qdev bus first. -- PMM -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html