cloud-hypervisor/vmm/src
Markus Sütter 0e9513f2b7 vmm: Allow IP configuration on named TAP interfaces
This commit changes existing behavior of named TAP interfaces.
When booting a VM with configuration for a named TAP interface,
cloud-hypervisor will create the interface and apply a given
IP configuration to that interface. If the named interface
already exists on the system, the configuration is NOT overwritten.

Setting the ip and netmask fields in a tap interface configuration
for a named tap interface now works by handing this configuration
to the virtio_devices::Net object when it is created with a name.

This commit also touches net_util to make sure that the ip configuration
of existing TAP interfaces is not modified with ip or netmask handed to
open_tap.

Signed-off-by: Markus Sütter <markus.suetter@secunet.com>
2023-12-05 08:59:04 -08:00
..
api vmm: add add-user-device support in cloud-hypervisor.yaml 2023-11-21 09:13:22 +00:00
acpi.rs misc: Fix various spelling errors using typos 2023-09-09 10:46:21 +01:00
clone3.rs vmm: notify virtio-console of pty resizes 2021-09-14 15:43:25 +01:00
config.rs vmm: Allow simultaneously set serial and console as TTY mode 2023-11-02 11:06:30 -07:00
coredump.rs vmm: Automatically pause VM for coredump 2023-07-31 17:05:46 +01:00
cpu.rs arch, vmm: Clear AMX CPUID bits if the feature is not enabled 2023-10-18 11:13:12 -07:00
device_manager.rs vmm: Allow IP configuration on named TAP interfaces 2023-12-05 08:59:04 -08:00
device_tree.rs vmm: reduce memory copy when BFT device tree 2023-05-15 17:19:48 +01:00
gdb.rs build: Bump gdbstub and gdbstub_arch 2023-12-05 10:50:06 +00:00
interrupt.rs vm-device: support batch update interrupt source group GSI 2023-08-03 15:58:36 +01:00
lib.rs misc: Stop using deprecated functions from vm-memory crate 2023-11-14 09:17:42 +00:00
memory_manager.rs vmm: assign each pci segment 32-bit mmio allocator 2023-11-20 15:33:50 -08:00
migration.rs vmm: speed up JSON load when reading snap files 2023-11-16 14:56:04 -08:00
pci_segment.rs vmm: assign each pci segment 32-bit mmio allocator 2023-11-20 15:33:50 -08:00
seccomp_filters.rs virtio-devices, vmm: Update seccomp list 2023-10-31 15:34:17 +00:00
serial_manager.rs serial_manager: Remove serial socket 2023-10-05 15:26:29 +01:00
sigwinch_listener.rs vmm: sigwinch_listener: Remove unncessary mut from reference 2023-08-22 12:01:54 +01:00
vm_config.rs block: add aio disk backend 2023-10-25 10:19:23 -07:00
vm.rs vmm: assign each pci segment 32-bit mmio allocator 2023-11-20 15:33:50 -08:00