[Lguest] Communication between host and guest
Rusty Russell
rusty at rustcorp.com.au
Tue May 28 11:34:02 EST 2013
Earlence Fernandes <earlenceferns at 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.
More information about the Lguest
mailing list