CONFIG_ETHERNET itself is not turned on but says 'y' in annotation. Here is a list of supported network devices in qemu v4.1.0:
Network devices: name "e1000", bus PCI, alias "e1000-82540em", desc "Intel Gigabit Ethernet" name "e1000-82544gc", bus PCI, desc "Intel Gigabit Ethernet" name "e1000-82545em", bus PCI, desc "Intel Gigabit Ethernet" name "e1000e", bus PCI, desc "Intel 82574L GbE Controller" name "i82550", bus PCI, desc "Intel i82550 Ethernet" name "i82551", bus PCI, desc "Intel i82551 Ethernet" name "i82557a", bus PCI, desc "Intel i82557A Ethernet" name "i82557b", bus PCI, desc "Intel i82557B Ethernet" name "i82557c", bus PCI, desc "Intel i82557C Ethernet" name "i82558a", bus PCI, desc "Intel i82558A Ethernet" name "i82558b", bus PCI, desc "Intel i82558B Ethernet" name "i82559a", bus PCI, desc "Intel i82559A Ethernet" name "i82559b", bus PCI, desc "Intel i82559B Ethernet" name "i82559c", bus PCI, desc "Intel i82559C Ethernet" name "i82559er", bus PCI, desc "Intel i82559ER Ethernet" name "i82562", bus PCI, desc "Intel i82562 Ethernet" name "i82801", bus PCI, desc "Intel i82801 Ethernet" name "ne2k_isa", bus ISA name "ne2k_pci", bus PCI name "pcnet", bus PCI name "pvrdma", bus PCI, desc "RDMA Device" name "rocker", bus PCI, desc "Rocker Switch" name "rtl8139", bus PCI name "usb-bt-dongle", bus usb-bus name "usb-net", bus usb-bus name "virtio-net-device", bus virtio-bus name "virtio-net-pci", bus PCI, alias "virtio-net" name "virtio-net-pci-non-transitional", bus PCI name "virtio-net-pci-transitional", bus PCI name "vmxnet3", bus PCI, desc "VMWare Paravirtualized Ethernet v3" So this would depend on following drivers (all set to 'm' in annotation): * CONFIG_E100 * CONFIG_E1000 * CONFIG_E1000E * CONFIG_ETHERNET * CONFIG_NE2K_PCI * CONFIG_NET_VENDOR_INTEL * CONFIG_PCNET32 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764618 Title: python-API test in ubuntu_lxc will fail on X-kvm kernel Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Bug description: Steps: 1. Deploy a KVM node with Xenial, install linux-kvm on it 2. Run the ubutnu_lxc test from autotest-client-tests Output: FAIL: python3: API --- Using image from local cache Unpacking the rootfs --- You just created an Ubuntu container (release=xenial, arch=amd64, variant=default) To enable sshd, run: apt-get install openssh-server For security reason, container images ship without user accounts and without a root password. Use lxc-attach or chroot directly into the rootfs to set a root password or create user accounts. Getting instance for '785bd96e-41ef-11e8-a707-5254004f0f0f' Creating rootfs using 'download', arch=amd64 Testing the configuration Testing the networking Starting the container Getting the interface names Traceback (most recent call last): File "/tmp/tmp.jDauiqznXt", line 109, in <module> assert(set(container.get_interfaces()) == set(('lo', 'eth0'))) AssertionError If you try to intercept the ontainer.get_interfaces() result, you'll see: ('eth0', 'lo', 'sit0') ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-1021-kvm 4.4.0-1021.26 ProcVersionSignature: User Name 4.4.0-1021.26-kvm 4.4.117 Uname: Linux 4.4.0-1021-kvm x86_64 ApportVersion: 2.20.1-0ubuntu2.16 Architecture: amd64 Date: Tue Apr 17 03:46:14 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: linux-kvm UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1764618/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

