[PATCH 07/10] ch_process: Update the domain with console path information

William Douglas william.douglas at intel.com
Tue Jun 29 23:05:50 UTC 2021


Add call to update the domain with console path information from
cloud-hypervisor as part of the last stages of initializing the
domain.

Signed-off-by: William Douglas <william.douglas at intel.com>
---
 src/ch/ch_process.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/ch/ch_process.c b/src/ch/ch_process.c
index 90344f14ea..f6ae1677fd 100644
--- a/src/ch/ch_process.c
+++ b/src/ch/ch_process.c
@@ -156,6 +156,9 @@ int virCHProcessStart(virCHDriver *driver,
 
     vm->pid = priv->monitor->pid;
     vm->def->id = vm->pid;
+
+    virCHProcessUpdateInfo(vm);
+
     virDomainObjSetState(vm, VIR_DOMAIN_RUNNING, reason);
 
     return 0;
-- 
2.31.1




More information about the libvir-list mailing list