|
没配置的硬件(红色第一部分),自动支持了(红色第二部分),为什么?
内核硬件配置
Processor type and features --->
Paravirtualized guest support --->PARAVIRT_GUEST 半虚拟化客户支持
Xen guest support
VMI Guest support (DEPRECATED)
KVM paravirtualized clock KVM_CLOCK
KVM Guest support KVM_GUEST
Paravirtualization layer for spinlocks
Bus options (PCI etc.) --->
PCI support PCI
Networking support --->NET
Device Drivers --->
Block devices --->BLK_DEV
<*> Loopback device supportBLK_DEV_LOOP回送设备支持
<*> Xen virtual block device support
<*> Virtio block driver (EXPERIMENTAL)VIRTIO_BLK KVM虚拟块设备驱动
这部分没选!
< > Serial ATA and Parallel ATA drivers --->ATA
[ ] ATA SFF support ATA_SFF
[ ] ATA BMDMA support ATA_BMDMA
< > Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support ATA_PIIX QEMU虚拟机PCI总线
Network device support ---> NETDEVICES
<*> Virtio network driver (EXPERIMENTAL) VIRTIO_NET KVM虚拟网卡驱动
Virtualization --->VIRTUALIZATION 基于内核的虚拟机(KVM )支持
<*> PCI driver for virtio devices (EXPERIMENTAL) VIRTIO_PCI KVM虚拟设备的PCI 驱动
<*> Virtio balloon driver (EXPERIMENTAL) VIRTIO_BALLOON KVM气泡驱动,这个驱动支持增加和减少KVM客户机的内存
运行时:
(i686:1) /usr # lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
在虚拟机里凭空增加这些PCI卡
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
00:04.0 SCSI storage controller: Red Hat, Inc Virtio block device
请参见我的日志:http://user.qzone.qq.com/378235903/blog/1289553749 |
|