Re: [PATCH 02/10] ch_monitor: Update virCHMonitorGet to handle accept a response

2021-07-12 Thread Douglas, William
On Mon, 2021-07-12 at 14:05 +0200, Michal Prívozník wrote: > On 6/30/21 1:05 AM, William Douglas wrote: > > > +    memcpy(data->content, contents, content_size); > > +    data->content[content_size] = 0; > > +    data->size = content_size; > > + > > +    return content_size; > > .. are we sure

Re: [PATCH 02/10] ch_monitor: Update virCHMonitorGet to handle accept a response

2021-07-12 Thread Michal Prívozník
On 6/30/21 1:05 AM, William Douglas wrote: > The virCHMonitorGet function needed to be able to return data from the > hypervisor. This functionality is needed in order for the driver to > support PTY enablement and getting details about the VM state. > > Signed-off-by: William Douglas > --- >

[PATCH 02/10] ch_monitor: Update virCHMonitorGet to handle accept a response

2021-06-29 Thread William Douglas
The virCHMonitorGet function needed to be able to return data from the hypervisor. This functionality is needed in order for the driver to support PTY enablement and getting details about the VM state. Signed-off-by: William Douglas --- src/ch/ch_monitor.c | 37