Question about QEMU/KVM is very slow

Discussion in 'Linux Beginners' started by Milly, Sep 19, 2021.

  1. Milly

    Milly Member

    Hi, I have been a few days trying to install with QEMU/KVM, but for some reason it works very slow during installation and use, but with Gnome-Boxes it works fine.

    I tried with virt-manager, but it is slow.

    I tried the following way, but it is still slow:
    Code:
    qemu-img create -f qcow2 ~/QEMU/W10.img 50G
    
    qemu-system-x86_64 -m 4096 -boot d -smp 2 -net nic -net user -hda ~/QEMU/W10.img -cdrom /home/milly/W10.iso -enable-kvm
    Can you recommend me the correct way to install QEMU/KVMin debian and how to start the installation correctly with the terminal?

    Thank you very much
     
  2. iamsteve03

    iamsteve03 New Member

    KVM installation
    Install the necessary packages
    I am assuming that you are deploying KVM on a server and therefore do not have an X server on the machine.

    You need to install a few packages first:

    Cosmic (18.10) or later

    $ sudo apt-get install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils
    Lucid (10.04) or later

    $ sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
    Karmic (9.10) or earlier

    $ sudo aptitude install kvm libvirt-bin ubuntu-vm-builder bridge-utils
    libvirt-bin provides libvirtd which you need to administer qemu and kvm instances using libvirt

    qemu-kvm (kvm in Karmic and earlier versions) is the backend

    ubuntu-vm-builder powerful command-line tool for creating virtual machines

    bridge-utils provides a bridge between your network and virtual machines

    You can also install virt-viewer to view instances.
     

Share This Page