<div dir="ltr">I am trying to achieve only host->guest communication and so I've created a virtio driver for the guest kernel which calls virtio_add_buf_gfp with one inbuf and 0 outbufs.<div><br></div><div>Whenever I boot the system, lguest crashes complaining of a kernel BUG. At the line specified in virtio_ring.c, I see the following:</div>

<div><br></div><div>BUG_ON(out + in > vq->vring.num);<br></div><div><br></div><div>From this, it seems to me that I need more vrings than buffers.</div><div><br></div><div>So, how do I have a channel from the host launcher to the guest kernel with only one queue which is used to send data exclusively into the guest?</div>

<div><br></div><div>I've been following virtio_balloon as an example.</div><div><br></div><div>-Earlence</div></div>