[PATCH 5/9] ch_monitor: Add pty json builder function

2021-09-08 Thread William Douglas
Add function to build the the json structure to configure a PTY in cloud-hypervisor. The devices themselves still aren't allowed in configurations yet though. Signed-off-by: William Douglas --- src/ch/ch_monitor.c | 27 +++ 1 file changed, 27 insertions(+) diff --git

[PATCH 5/9] ch_monitor: Add pty json builder function

2021-07-14 Thread William Douglas
Add function to build the the json structure to configure a PTY in cloud-hypervisor. The configuration only supports a single serial or console device. The devices themselves still aren't allowed in configurations yet though. Signed-off-by: William Douglas --- src/ch/ch_monitor.c | 56