A Virtual Machine Monitor for modern Cloud workloads.
Go to file
Sebastien Boeuf 5934f30fde vmm: Add support for letting the VMM create the TAP interface
Until now, the only way to get some networking with cloud-hypervisor
was to let the user create a TAP interface first, and then to provide
the name of this interface to the VMM.

This patch extend the previous behavior by adding the support for the
creation of a brand new TAP interface from the VMM itself. In case no
interface name is provided through "tap=<if_name>", we will assume
the user wants the VMM to create and set the interface on its behalf,
no matter the value of other parameters (ip, mask, and mac).
In this same scenario, because the user expects the VMM to create the
TAP interface, he can also provide the associated IP address and subnet
mask associated with it. In case those values are not provided, some
default ones will be picked.

No matter the value of "tap", the MAC address will always be set, and
if no value is provided, the VMM will come up with a default value for
it.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-05-10 16:32:39 +02:00
arch cloud-hypervisor: Add proper licensing 2019-05-09 15:44:17 +02:00
arch_gen cloud-hypervisor: Add proper licensing 2019-05-09 15:44:17 +02:00
devices cloud-hypervisor: Switch to the vmm-sys-util pending PR branch 2019-05-10 16:32:39 +02:00
net_gen cloud-hypervisor: Switch to the vmm-sys-util pending PR branch 2019-05-10 16:32:39 +02:00
net_util cloud-hypervisor: Switch to the vmm-sys-util pending PR branch 2019-05-10 16:32:39 +02:00
pci cloud-hypervisor: Switch to the vmm-sys-util pending PR branch 2019-05-10 16:32:39 +02:00
qcow cloud-hypervisor: Switch to the vmm-sys-util pending PR branch 2019-05-10 16:32:39 +02:00
resources resources: Add a 5.0 kernel config 2019-05-10 16:32:22 +02:00
src vmm: Add support for letting the VMM create the TAP interface 2019-05-10 16:32:39 +02:00
virtio-bindings cloud-hypervisor: Add proper licensing 2019-05-09 15:44:17 +02:00
vm-allocator cloud-hypervisor: Add proper licensing 2019-05-09 15:44:17 +02:00
vm-virtio cloud-hypervisor: Switch to the vmm-sys-util pending PR branch 2019-05-10 16:32:39 +02:00
vmm vmm: Add support for letting the VMM create the TAP interface 2019-05-10 16:32:39 +02:00
.gitignore gitignore: Don't track Cargo.lock files 2019-05-10 16:32:39 +02:00
.travis.yml cloud-hypervisor: Recursively run rustfmt 2019-05-10 16:32:39 +02:00
Cargo.lock cloud-hypervisor: Switch to the linux-loader pending PR branch 2019-05-10 16:32:39 +02:00
Cargo.toml cloud-hypervisor: Call into the test_vm() routine 2019-05-07 16:06:21 +02:00
LICENSE-APACHE cloud-hypervisor: Add proper licensing 2019-05-09 15:44:17 +02:00
LICENSE-BSD-3-Clause cloud-hypervisor: Add proper licensing 2019-05-09 15:44:17 +02:00
README.md README: Placeholder to create a usable initial repo 2019-05-06 17:08:29 +02:00

Cloud Hypervisor