Add qemu 2.4.0
[kvmfornfv.git] / qemu / docs / q35-chipset.cfg
1 ################################################################
2 #
3 # qemu -M q35 creates a bare machine with just the very essential
4 # chipset devices being present:
5 #
6 #     00.0 - Host bridge
7 #     1f.0 - ISA bridge / LPC
8 #     1f.2 - SATA (AHCI) controller
9 #     1f.3 - SMBus controller
10 #
11 # This config file documents the other devices and how they are
12 # created.  You can simply use "-readconfig $thisfile" to create
13 # them all.  Here is a overview:
14 #
15 #     19.0 - Ethernet controller (not created, our e1000 emulation
16 #                                 doesn't emulate the ich9 device).
17 #     1a.* - USB Controller #2 (ehci + uhci companions)
18 #     1b.0 - HD Audio Controller
19 #     1c.* - PCI Express Ports
20 #     1d.* - USB Controller #1 (ehci + uhci companions,
21 #                               "qemu -M q35 -usb" creates these too)
22 #     1e.0 - PCI Bridge
23 #
24
25 [device "ich9-ehci-2"]
26   driver = "ich9-usb-ehci2"
27   multifunction = "on"
28   bus = "pcie.0"
29   addr = "1a.7"
30
31 [device "ich9-uhci-4"]
32   driver = "ich9-usb-uhci4"
33   multifunction = "on"
34   bus = "pcie.0"
35   addr = "1a.0"
36   masterbus = "ich9-ehci-2.0"
37   firstport = "0"
38
39 [device "ich9-uhci-5"]
40   driver = "ich9-usb-uhci5"
41   multifunction = "on"
42   bus = "pcie.0"
43   addr = "1a.1"
44   masterbus = "ich9-ehci-2.0"
45   firstport = "2"
46
47 [device "ich9-uhci-6"]
48   driver = "ich9-usb-uhci6"
49   multifunction = "on"
50   bus = "pcie.0"
51   addr = "1a.2"
52   masterbus = "ich9-ehci-2.0"
53   firstport = "4"
54
55
56 [device "ich9-hda-audio"]
57   driver = "ich9-intel-hda"
58   bus = "pcie.0"
59   addr = "1b.0"
60
61
62 [device "ich9-pcie-port-1"]
63   driver = "ioh3420"
64   multifunction = "on"
65   bus = "pcie.0"
66   addr = "1c.0"
67   port = "1"
68   chassis = "1"
69
70 [device "ich9-pcie-port-2"]
71   driver = "ioh3420"
72   multifunction = "on"
73   bus = "pcie.0"
74   addr = "1c.1"
75   port = "2"
76   chassis = "2"
77
78 [device "ich9-pcie-port-3"]
79   driver = "ioh3420"
80   multifunction = "on"
81   bus = "pcie.0"
82   addr = "1c.2"
83   port = "3"
84   chassis = "3"
85
86 [device "ich9-pcie-port-4"]
87   driver = "ioh3420"
88   multifunction = "on"
89   bus = "pcie.0"
90   addr = "1c.3"
91   port = "4"
92   chassis = "4"
93
94 ##
95 # Example PCIe switch with two downstream ports
96 #
97 #[device "pcie-switch-upstream-port-1"]
98 #  driver = "x3130-upstream"
99 #  bus = "ich9-pcie-port-4"
100 #  addr = "00.0"
101 #
102 #[device "pcie-switch-downstream-port-1-1"]
103 #  driver = "xio3130-downstream"
104 #  multifunction = "on"
105 #  bus = "pcie-switch-upstream-port-1"
106 #  addr = "00.0"
107 #  port = "1"
108 #  chassis = "5"
109 #
110 #[device "pcie-switch-downstream-port-1-2"]
111 #  driver = "xio3130-downstream"
112 #  multifunction = "on"
113 #  bus = "pcie-switch-upstream-port-1"
114 #  addr = "00.1"
115 #  port = "1"
116 #  chassis = "6"
117
118 [device "ich9-ehci-1"]
119   driver = "ich9-usb-ehci1"
120   multifunction = "on"
121   bus = "pcie.0"
122   addr = "1d.7"
123
124 [device "ich9-uhci-1"]
125   driver = "ich9-usb-uhci1"
126   multifunction = "on"
127   bus = "pcie.0"
128   addr = "1d.0"
129   masterbus = "ich9-ehci-1.0"
130   firstport = "0"
131
132 [device "ich9-uhci-2"]
133   driver = "ich9-usb-uhci2"
134   multifunction = "on"
135   bus = "pcie.0"
136   addr = "1d.1"
137   masterbus = "ich9-ehci-1.0"
138   firstport = "2"
139
140 [device "ich9-uhci-3"]
141   driver = "ich9-usb-uhci3"
142   multifunction = "on"
143   bus = "pcie.0"
144   addr = "1d.2"
145   masterbus = "ich9-ehci-1.0"
146   firstport = "4"
147
148
149 [device "ich9-pci-bridge"]
150   driver = "i82801b11-bridge"
151   bus = "pcie.0"
152   addr = "1e.0"