[Pkg-libvirt-maintainers] Bug#950995: [arm64] virNetDevGetPhysicalFunction:1391 : internal error: The PF device for VF eth1 has no network device name

Marcin Juszkiewicz marcin.juszkiewicz at linaro.org
Sun Feb 9 13:46:28 GMT 2020


Source: libvirt
Version: 5.0.0-4
Severity: normal

On AArch64 systems with Cavium ThunderX cpus libvirt refuses to handle
on board network cards:

2018-04-30 15:50:09.053+0000: 5069: info : hostname: uk-dc-cavium-01
2018-04-30 15:50:09.249+0000: 5069: error : virNetDevGetPhysicalFunction:1391 : internal error: The PF device for VF eth0 has no network device name

https://bugs.linaro.org/show_bug.cgi?id=3778 has more details.

Fixes were merged into 5.1.0 upstream release:

>From 6452e2f5e1837bd753ee465e6607ed3c4f62b815 Mon Sep 17 00:00:00 2001
From: Radoslaw Biernacki <radoslaw.biernacki at linaro.org>
Date: Tue, 22 Jan 2019 12:26:12 -0700
Subject: [PATCH 1/4] util: fixing wrong assumption that PF has to have netdev assigned


>From 10bca495e040ef834760a244a31f8b87391c2378 Mon Sep 17 00:00:00 2001
From: Radoslaw Biernacki <radoslaw.biernacki at linaro.org>
Date: Tue, 22 Jan 2019 12:26:13 -0700
Subject: [PATCH 2/4] util: Code simplification


>From 8fac64db5e7941efb820626f0043f5e0a31c79ee Mon Sep 17 00:00:00 2001
From: Radoslaw Biernacki <radoslaw.biernacki at linaro.org>
Date: Tue, 22 Jan 2019 12:26:14 -0700
Subject: [PATCH 3/4] util: Fix for NULL dereference


>From 04983c3c6a821f67994b1c65d4d6175f3ac49d69 Mon Sep 17 00:00:00 2001
From: Radoslaw Biernacki <radoslaw.biernacki at linaro.org>
Date: Tue, 22 Jan 2019 12:26:15 -0700
Subject: [PATCH 4/4] util: Fixing invalid error checking from virPCIGetNetname()


Those patches apply to 5.0.0-4 Debian package without any problems. 
I have patched version in my repository [1].

1. http://obs.linaro.org/home:/marcin.juszkiewicz/debian-buster/


-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.4.0-1-arm64 (SMP w/46 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-util-fixing-wrong-assumption-that-PF-has-to-have-net.patch
Type: text/x-patch
Size: 2061 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20200209/075ef299/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-util-Code-simplification.patch
Type: text/x-patch
Size: 2683 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20200209/075ef299/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-util-Fix-for-NULL-dereference.patch
Type: text/x-patch
Size: 2390 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20200209/075ef299/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-util-Fixing-invalid-error-checking-from-virPCIGetNet.patch
Type: text/x-patch
Size: 1124 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20200209/075ef299/attachment-0003.bin>


More information about the Pkg-libvirt-maintainers mailing list