From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 2 Dec 2014 07:47:58 +0100 From: David du Colombier <0intro@gmail.com> To: 9fans@9fans.net Message-ID: <20141202074758.796e8383@zinc.9fans.fr> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] ethervirtio Topicbox-Message-UUID: 31dab214-ead9-11e9-9d60-3106f5b1d025 > 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