Currently, we make many redundant memory copies when transferring data in and out of the guest. While we're using flatbuffers for serialization, we're not leveraging its full benefits. APIs such as call_guest_func should accept parameters by reference instead of by value, since the data needs to be serialized anyway.
Created from #433