Gentoo Archives: gentoo-user

From: Nicol TAO <nicol_tao@×××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] About gentoo linux PCI passthrough
Date: Sat, 02 Apr 2016 15:21:46
Message-Id: 56FFE36E.1080903@126.com
In Reply to: Re: [gentoo-user] logrotate: name of log file after it's rotated? by Alan McKinnon
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 Kernel configuration:
60
61
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 iQEcBAEBCAAGBQJW/+NpAAoJENLT+3bAzFJh3AEH/j4IJwXiIAhfuo1OwQVhpkGs
72 yXNMPyZZGg4mpCZNpymt2kijuTK234C6P4CUuUaU/ImvxvHKPQ7fv26brHxT2Uj2
73 Gz3/EOnuTKBBJynEi4cTk12Cyd4CPEMO2HW5BkvZbEtC3iPqC9pgwbpzjjBcwfWK
74 h9GQ7wWM/GvayTBlKta9Xc2v39Pda9mJoj9Ohd4DAi/Kh5zBdcJrFsrJPORc0jxK
75 2UT3d/1Sfq88gfsjA4w3T3mLKeTBrarRPsqiaYxdOCu9FWdwbsokb88pO1jfiZ5J
76 seL0MWtPWahP2qyNYJQqm68s+U9Hu7cGaUKAc2KtjGmROa6m3r/hOpUeJLrPpd0=
77 =Uws5
78 -----END PGP SIGNATURE-----

Attachments

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