| 21 | = 【2.相關的 Kernel Options】 = |
| 22 | {{{ |
| 23 | #!sh |
| 24 | General setup ---> Choose SLAB allocator (SLUB (Unqueued Allocator)) ---> (X) SLAB |
| 25 | |
| 26 | Processor type and features ---> Subarchitecture Type (PC-compatible) ---> (X) Enable Xen compatible kernel |
| 27 | |
| 28 | Bus options (PCI etc.) ---> [*] PCI support |
| 29 | [*] Xen PCI Frontend |
| 30 | [ ] Xen PCI Frontend Debugging (NEW) |
| 31 | |
| 32 | Change <M> 802.1d Ethernet Bridging to <*> 802.1d Ethernet Bridging: |
| 33 | |
| 34 | Networking support ---> Networking options ---> <*> 802.1d Ethernet Bridging |
| 35 | |
| 36 | Disable 10000 Mbit Ethernet (otherwise the build process will most likely fail): |
| 37 | |
| 38 | Device Drivers ---> [*] Network device support ---> [ ] Ethernet (10000 Mbit) ---> |
| 39 | |
| 40 | Make the Xen section look as follows (make sure you select Xen version compatibility (3.0.4 and later) instead of Xen version compatibility (3.0.2 and later)): |
| 41 | |
| 42 | Device Drivers ---> XEN ---> [*] Privileged Guest (domain 0) |
| 43 | <*> Backend driver support (NEW) |
| 44 | <*> Block-device backend driver (NEW) |
| 45 | <*> Block-device tap backend driver (NEW) |
| 46 | <*> Network-device backend driver (NEW) |
| 47 | (8) Maximum simultaneous transmit requests (as a power of 2) (NEW) |
| 48 | [ ] Pipelined transmitter (DANGEROUS) (NEW) |
| 49 | < > Network-device loopback driver (NEW) |
| 50 | <*> PCI-device backend driver (NEW) |
| 51 | PCI Backend Mode (Virtual PCI) ---> |
| 52 | [ ] PCI Backend Debugging (NEW) |
| 53 | < > TPM-device backend driver (NEW) |
| 54 | <M> SCSI backend driver (NEW) |
| 55 | <M> Block-device frontend driver |
| 56 | <M> Network-device frontend driver |
| 57 | <M> Network-device frontend driver acceleration for Solarflare NICs (NEW) |
| 58 | <M> SCSI frontend driver (NEW) |
| 59 | <*> User-space granted page access driver (NEW) |
| 60 | <*> Framebuffer-device frontend driver (NEW) |
| 61 | <*> Keyboard-device frontend driver (NEW) |
| 62 | [*] Disable serial port drivers (NEW) |
| 63 | <*> Export Xen attributes in sysfs (NEW) |
| 64 | (256) Number of guest devices (NEW) |
| 65 | Xen version compatibility (3.0.4 and later) ---> |
| 66 | }}} |
| 67 | ---- |