Gentoo Archives: gentoo-user

From: Nicol TAO <nicol_tao@×××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] About gentoo PCI NIC passthrough problem.
Date: Sun, 03 Apr 2016 06:48:12
Message-Id: 5700BC90.40802@126.com
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 Hello, every gentooers!
5
6 I am running Gentoo with the latest Virt-Manager/Libvirtd/KVM windows
7 2003 as Guest OS. Because the Broadcom of under the host environment
8 works terrible of the performance and stability, so I want to pass it to
9 my Guest windows 2003 OS.
10
11 I followed the [tips](https://wiki.gentoo.org/wiki/QEMU/Options), and
12 added my PIC wireless NIC through virt-manager, but when I boot,
13 virt-manager complains as:
14
15 bvirtError: unsupported configuration :host doesn't support passthrough
16 of host PCI devices
17
18 Does anyone has this experience?
19 Here some of my info:
20
21
22 user@gentoo ~ % dmesg|grep -e DMAR -e IOMMU\
23
24 [ 0.000000] ACPI: DMAR 0x00000000D8FFF210 0000B8 (v01 INTEL SNB
25 00000001 INTL 00000001)
26 [ 0.000000] DMAR: IOMMU enabled
27 [ 0.022050] DMAR: Host address width 36
28 [ 0.022052] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
29 [ 0.022061] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap
30 c0000020e60262 ecap f0101a
31 [ 0.022062] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
32 [ 0.022067] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap
33 c9008020660262 ecap f0105a
34 [ 0.022068] DMAR: RMRR base: 0x000000dbd59000 end: 0x000000dbd78fff
35 [ 0.022070] DMAR: RMRR base: 0x000000dd800000 end: 0x000000df9fffff
36 [ 0.022072] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
37 [ 0.022073] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
38 [ 0.022468] DMAR-IR: Enabled IRQ remapping in xapic mode
39 [ 0.913782] DMAR: No ATSR found
40 [ 0.913899] DMAR: dmar0: Using Queued invalidation
41 [ 0.914149] DMAR: dmar1: Using Queued invalidation
42 [ 0.914158] DMAR: Setting RMRR:
43 [ 0.914179] DMAR: Setting identity map for device 0000:00:02.0
44 [0xdd800000 - 0xdf9fffff]
45 [ 0.914443] DMAR: Setting identity map for device 0000:00:14.0
46 [0xdbd59000 - 0xdbd78fff]
47 [ 0.914464] DMAR: Setting identity map for device 0000:00:1a.0
48 [0xdbd59000 - 0xdbd78fff]
49 [ 0.914485] DMAR: Setting identity map for device 0000:00:1d.0
50 [0xdbd59000 - 0xdbd78fff]
51 [ 0.914499] DMAR: Prepare 0-16MiB unity mapping for LPC
52 [ 0.914508] DMAR: Setting identity map for device 0000:00:1f.0 [0x0 -
53 0xffffff]
54 [ 0.914847] DMAR: Intel(R) Virtualization Technology for Directed I/O
55 [ 3.254954] [drm] DMAR active, disabling use of stolen memory
56 user@gentoo ~ %
57
58
59 My kernel config was attached.
60
61 Thanks in advance!
62
63 - --
64 Nicol TAO(taozhijiang)
65 https://freesign.net
66 GPG: A251 3E22 BE65 E709 B1DD 5BE5 D2D3 FB76 C0CC 5261
67 Thanks & Best Regards!
68 -----BEGIN PGP SIGNATURE-----
69 Version: GnuPG v2
70
71 iQEcBAEBCAAGBQJXALyKAAoJENLT+3bAzFJhss4H/Av6LnXmVejoL61lpDz1fFl9
72 8pwjG9P2Jfp/y6qBJdKurNFTVT2eZRfM8iWEJy/1LxqB8x+jFz6TyfiJJ38LE2eN
73 13hO6teP5qzaffvvRQDbQqdWxSyskj6WWCr+zlOTxktIQk27wSrYfVPxQfOAVKR3
74 mw4oWx2QElmBx3QbVHrBYqnsjBh60Z1q5AR1C74VChCWA6aQvUEvvNYl1Z/D4Tr+
75 F7Z9ClunEfvl2NQCzo2Z7isnFfYrcJ00Q9vKXArtLWgtZrR5gnzxNyDuLGmuJToH
76 fG/eBDaJ/0TdMfWr/Bw7MyaG3mazAS90QLVsxBSSqHHEl2tLYoShgxMXOA8Q5Xg=
77 =eiXi
78 -----END PGP SIGNATURE-----

Attachments

File name MIME type
config_S text/plain
config_S.sig application/pgp-signature