Todo Secure Migration

Not all hypervisors have built in support for secure migration, and even those that do will have varying capabilities for encryption and authentication, and different configuration requirements. It is desirable to provide some form of secure migration capability directly using the libvirtd daemon as a proxy. The libvirtd daemon already has support for a range of auth options (x509 certs, kerberos, username/password, SSH public key), and encryption options (TLS, kerberos, SASL, SSH). Furthermore the libvirtd daemon will already have a well-known port available, avoiding the need to open more TCP ports in firewalls

The general idea would be along the lines of:

So, the underlying hypervisors only need to be able to migrate insecurely to/from 127.0.0.1/::1. All the traffic over the 'public' network is handled by libvirtd.

The libvirtd daemon is currently single threaded. This isn't neccessarily a problem. It merely has to spawn a worker thread for each migration data channel.