Check the virtio driver
Last Updated:2020-09-24
Checking Virtio Driver in Linux System
- Run the command grep -i virtio /boot/config-$ (uname -r) to check whether the kernel of current operating system supports the Virtio driver.
Note:
- If the VIRTIO_BLK and VIRTIO_NET information is not found in the output information, it indicates this operating system is not installed with the Virtio driver. You need to recompile the Linux kernel on your server platform to install the Virtio driver.
- If the value of parameters CONFIG_VIRTIO_BLK and CONFIG_VIRTIO_NET is y, it indicates that the system contains the Virtio driver, which can be imported into the Baidu AI Cloud.
- If the value of the parameters CONFIG_VIRTIO_BLK and CONFIG_VIRTIO_NET is m, you need to further confirm that the Virtio driver is properly included in the initramfs or initrd file.
- Run the command Isinitrd /boot/initramfs-$ (uname -r).img.
Note:
If relevant Virtio information is not found in the initramfs or initrd file, you need to recreate the initramfs file.
Checking Virtio Driver in Windows System
Open the device manager, and locate 【Disk Drive】,【Network Adapter】, 【System Device】 to check whether the Virtio driver is used. If it is not the VirtIO driver, you need to install the virtIO driver.