libvirt/include/libvirt
William Douglas 56fbabf1a1 Add basic driver for the Cloud-Hypervisor
Cloud-Hypervisor is a KVM virtualization using hypervisor. It
functions similarly to qemu and the libvirt Cloud-Hypervisor driver
uses a very similar structure to the libvirt driver.

The biggest difference from the libvirt perspective is that the
"monitor" socket is seperated into two sockets one that commands are
issued to and one that events are notified from. The current
implementation only uses the command socket (running over a REST API
with json encoded data) with future changes to add support for the
event socket (to better handle shutdowns from inside the VM).

This patch adds support for the following initial VM actions using the
Cloud-Hypervsior API:
 * vm.create
 * vm.delete
 * vm.boot
 * vm.shutdown
 * vm.reboot
 * vm.pause
 * vm.resume

To use the Cloud-Hypervisor driver, the v15.0 release of
Cloud-Hypervisor is required to be installed.

Some additional notes:
 * The curl handle is persistent but not useful to detect ch process
 shutdown/crash (a future patch will address this shortcoming)
 * On a 64-bit host Cloud-Hypervisor needs to support PVH and so can
 emulate 32-bit mode but it isn't fully tested (a 64-bit kernel and
 32-bit userspace is fine, a 32-bit kernel isn't validated)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: William Douglas <william.douglas@intel.com>
2021-06-04 10:56:06 +01:00
..
libvirt-admin.h admin: Introduce virAdmServerUpdateTlsFiles 2020-03-13 17:07:32 +00:00
libvirt-common.h.in Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
libvirt-domain-checkpoint.h Fix name prefix of VIR_DOMAIN_CHECKPOINT_REDEFINE_VALIDATE 2020-11-09 16:29:06 +00:00
libvirt-domain-snapshot.h snapshot: Add VIR_DOMAIN_SNAPSHOT_CREATE_VALIDATE flag 2019-07-10 17:34:58 -05:00
libvirt-domain.h lib: Add win-dmp crashdump format 2021-05-20 16:23:32 +02:00
libvirt-event.h util: add note about event file descriptors on Windows 2020-01-03 15:42:12 +00:00
libvirt-host.h cpu: Wire in XML validation 2020-10-07 11:26:27 +02:00
libvirt-interface.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt-lxc.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt-network.h network: add virNetworkPortRef API 2019-06-19 11:21:38 +01:00
libvirt-nodedev.h api: Add 'flags' param to virNodeDeviceCreate/Undefine() 2021-04-09 12:43:47 -05:00
libvirt-nwfilter.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt-qemu.h Add API to change qemu agent response timeout 2019-11-14 19:10:01 +01:00
libvirt-secret.h secret: Add support for usage type vTPM, extend schema and test case 2019-07-26 09:59:27 +01:00
libvirt-storage.h storage: Add iscsi-direct pool list type flag 2019-07-13 17:40:09 +02:00
libvirt-stream.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt.h backup: Introduce virDomainCheckpoint APIs 2019-07-26 16:48:58 -05:00
meson.build meson: Use @BASENAME@ more 2020-09-01 13:22:24 +02:00
virterror.h Add basic driver for the Cloud-Hypervisor 2021-06-04 10:56:06 +01:00