百度智能云

All Product Document

          Cloud Compute Service

          Check the virtio driver

          Checking Virtio Driver in Linux System

          1. Run the command grep -i virtio /boot/config-$ (uname -r) to check whether the kernel of current operating system supports the Virtio driver.

          image.png

          Note:

          1. 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.
          2. 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.
          3. 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.
          4. Run the command Isinitrd /boot/initramfs-$ (uname -r).img.

          image.png

          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.

          Previous
          Image Import Limitation
          Next
          Install the virtio driver