Re: [PATCH v8 06/20] multi-process: define MPQemuMsg format and transmission functions

2020-08-04 Thread Stefan Hajnoczi
On Fri, Jul 31, 2020 at 02:20:13PM -0400, Jagannathan Raman wrote: > +static int mpqemu_readv(QIOChannel *ioc, struct iovec *iov, int **fds, > +size_t *nfds, Error **errp) readv(2) and similar functions take an int iovcnt argument while mpqemu_readv() takes just a single st

[PATCH v8 06/20] multi-process: define MPQemuMsg format and transmission functions

2020-07-31 Thread Jagannathan Raman
From: Elena Ufimtseva Defines MPQemuMsg, which is the message that is sent to the remote process. This message is sent over QIOChannel and is used to command the remote process to perform various tasks. Also defined the helper functions to send and receive messages over the QIOChannel Signed-of