Hi,
Right now the GetVMInfo API returns the VM info stored in firecracker-containerd runtime, but we want to check if the VM is responsive by invoking DescribeInstance (also cut another issue for implementing this) firecracker API, we could invoke firecracker API directly given that GetVMInfo returns firecracker socket, but I think it's probably better to invoke DescribeInstance in GetVMInfo API, and add the VM state in the response of GetVMInfo API. What do you think?
Thanks,
Haikuo
Hi,
Right now the
GetVMInfoAPI returns the VM info stored in firecracker-containerd runtime, but we want to check if the VM is responsive by invokingDescribeInstance(also cut another issue for implementing this) firecracker API, we could invoke firecracker API directly given thatGetVMInforeturns firecracker socket, but I think it's probably better to invokeDescribeInstanceinGetVMInfoAPI, and add the VM state in the response ofGetVMInfoAPI. What do you think?Thanks,
Haikuo