From e83dd50a361191b464eabdb3b2c14d33c76cfc09 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 16 Jul 2021 19:09:57 +0200 Subject: [PATCH] nic: support e1000e That bit of code seems to be enough here, tested with qm set VMID --net1 e1000e=EA:93:42:22:10:D8,bridge=vmbr0 on a Alpine Linux and a Windows Server 2016 VM. Signed-off-by: Thomas Lamprecht --- PVE/QemuServer.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 4afdd5ca..3c3da593 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -837,6 +837,7 @@ my $nic_model_list = [ 'e1000-82540em', 'e1000-82544gc', 'e1000-82545em', + 'e1000e', 'i82551', 'i82557b', 'i82559er', @@ -1719,6 +1720,8 @@ sub print_netdevice_full { $romfile = 'pxe-virtio.rom'; } elsif ($device eq 'e1000') { $romfile = 'pxe-e1000.rom'; + } elsif ($device eq 'e1000e') { + $romfile = 'pxe-e1000e.rom'; } elsif ($device eq 'ne2k') { $romfile = 'pxe-ne2k_pci.rom'; } elsif ($device eq 'pcnet') {