> david (0intro) tested the driver on GCE a few months ago, and
> reported that it did *not* work. i don't recall what exactly
> happened, but the virtio device in GCE seems to differ from qemu's.

I haven't tried for a while, since the debugging process is
a bit time consuming.

As far I remember, the virtqueue sizes read from the Virtio
common configuration structure were not correct (as reported
by the "legacy interface").

Rx/Tx/Control were something like 16384/81920/131136, while
the maximum queue size is 32768 according to the specification.

http://docs.oasis-open.org/virtio/virtio/v1.0/virtio-v1.0.html

Setting Tx and Control queue size to more realistic values
seems to work, but then I couldn't get the interruptions to
work properly.

Something seems to be missing during the device initialization.

The original discussion thread was:

https://groups.google.com/forum/#!topic/golang-dev/Vb4fcGwg-dE

It includes links to the code and everything that's needed
to run Plan 9 on GCE (last email).

-- 
David du Colombier

Reply via email to