qemu KVM kernel module no such file or directory

前端 未结 2 1376
小鲜肉
小鲜肉 2021-02-20 06:45

I am currently taking an operating systems class and I need to use qemu to run a small operating system that my professor provided. I am trying to use qemu within an ubuntu 12.0

相关标签:
2条回答
  • 2021-02-20 07:22

    In my case, the virtualization was disabled.

    So sudo modprobe kvm-intel kept giving me the following error

    could not insert 'kvm_intel': Operation not supported

    I just had to go in the BIOS and enable Virtualization.

    0 讨论(0)
  • 2021-02-20 07:40

    Try with sudo modprobe kvm-intel.

    In order to have the module automatically loaded at the startup of the virtual machine, do the following:

    1. Edit the corresponding file from the shell with sudo vim /etc/modules.conf
    2. Possibly enter your username password.
    3. Press the key G to go to the end of the document and then o to begin inserting.
    4. Write kvm-intel and press Enter, producing a new line.
    5. Press Esc to return to the Normal mode of vim. "--INSERT--" will disappear from the bottom.
    6. Save the file and exit vim by writing :wq.

    You are done. Try to reboot and load the nested virtual machine.

    0 讨论(0)
提交回复
热议问题