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

2020-06-30 Thread Stefan Hajnoczi
On Sat, Jun 27, 2020 at 10:09:28AM -0700, elena.ufimts...@oracle.com wrote: > +void mpqemu_msg_send(MPQemuMsg *msg, QIOChannel *ioc) > +{ > +Error *local_err = NULL; > +struct iovec send[2]; > +int *fds = NULL; > +size_t nfds = 0; > + > +send[0].iov_base = msg; > +send[0].io

[PATCH v7 06/21] multi-process: define MPQemuMsg format and transmission functions

2020-06-27 Thread elena . ufimtseva
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