Earlence Fernandes <earlencefe...@gmail.com> writes: > Yep. I was grepping thru the sources. > > I think the best way would be to create a virtio device coupled with a > hypercall to return data (which is typically one value). > > Of course, I was thinking, what if I simply did a write() to lguest_fd and > pull that in the read loop in the guest...
That's going to be less efficient than just using a virtio ring with a writable part in the descriptor for the reply (this is what virtio-blk does for a write, for example). Cheers, Rusty. _______________________________________________ Lguest mailing list Lguest@lists.ozlabs.org https://lists.ozlabs.org/listinfo/lguest