# 3.5.1 Instalar acelerador kvm

Instalar KVM

Fuente:

{% embed url="<https://ubunlog.com/kvm-acelera-android-studio/>" %}

{% embed url="<https://www.linuxtechi.com/install-configure-kvm-ubuntu-18-04-server/>" %}

### Esta guia es tomada del enlace que colocamos como fuente

### PASOS PARA USAR  KVM

Verificar si soporta KVM

```bash
egrep -c "(vmx|svm)" /proc/cpuinfo
```

Si soporta debe generar un numero mayor que cero (0)

Instalar CPU Checker

```bash
sudo apt install cpu-checker
```

Verificar si podemos usar kvm

```bash
sudo kvm-ok

```

![](/files/-LmKc4jo-IvRebZmN34K)

Instalar qemu-kvm

```bash
sudo apt install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
```

Agregar el usuario

```bash
sudo adduser avbravo kvm && sudo adduser avbravo libvirtd
```

cambia avbravo por el nombre de tu usuario.

Iniciar los servicios

```bash
sudo service libvirtd start
sudo update-rc.d libvirtd enable
```

![](/files/-LmKdY9kyuxNOmWMxGma)

Verificar el estatus

```bash
service libvirtd status
```

![](/files/-LmKdj7IFjmDqdGa4mAZ)

Reiniciar al computador &#x20;

Al ingresar ejecutar

```bash
sudo virsh -c qemu:///system list
```

![](/files/-LmKe1wHkKX289FvOI2j)

\ <br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://avbravo-2.gitbook.io/developmentcookbook/android/configurar-dispositivo-android/emulador-android-studio/virtualizacion-para-el-emulador-de-android-studio/activar-virtualizacion-en-ubuntu/instalar-acelerador-kvm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
