Questions tagged [kvm-virtualization]

This tag refers to Kernel-based Virtual Machines; for questions about KVM switches, use the [kvm-switch] tag instead

1129 questions
124
votes
21 answers

virt-manager can't connect to libvirt

I'm running Ubuntu 12.04.2 32 bits. The error doesn't show up if I start gksudo virt-manager. libvirt-bin is installed. I don't know how to check for the daemon. I am a member of libvirtd. Output of ps ax | grep libvirt: 9225 ? Sl 0:04…
85
votes
6 answers

What is the virbr0 interface used for?

virbr0 Link encap:Ethernet HWaddr a2:17:ea:e3:47:7e inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 …
83
votes
7 answers

KVM is not installed on this machine (/dev/kvm is missing)

I'm using Ubuntu 14.04. I recently installed Android Studio, but whenever I try to run a Hello World app, I get this error: /home/praveen/Android/Sdk/tools/emulator -avd Nexus_6_API_21 -netspeed full -netdelay none emulator: ERROR: x86 emulation…
77
votes
5 answers

How can I copy&paste from the host to a KVM guest?

I have a QEMU/KVM virtual machine created with Virtual Machine Manager. I would like to be able to copy text on the host and paste it into the guest, and the other way around too. How can I share the clipboard between the host and the guest?
elopio
  • 2,763
  • 1
  • 19
  • 20
40
votes
3 answers

Why do we need an IP address for a bridge?

A bridge is a layer 2 network device. On physical bridges we only have an IP address for operation and maintenance. I'm a little bit confused why we need in KVM an IP address for the bridge. I understand that the VM's interface get's an IP address…
fgeld
  • 425
37
votes
4 answers

How can I get rid of the message "kvm: disabled by BIOS"?

I'm getting a message: kvm:disabled by bios after upgrading my kernel to 3.8.x. I've never installed the KVM package. Neither I can enable virtualization from my BIOS, because of a BIOS bug. I just want to get rid of this weird message. Tried…
35
votes
1 answer

E: Package 'libvirt-bin' has no installation candidate

I'm trying to install KVM\qemu on Ubuntu 18.10. According to this page I'm running the command: apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils and get an error about the packge "libvirt-bin" and "ubuntu-vm-builder": E: Package…
Gozalito
  • 463
32
votes
5 answers

Ubuntu 14 Android Studio 3 xrdp /dev/kvm permission denied

I'm running an Ubuntu Server VPS with 4 dedicated cores and 4GB or ram lsb_release -a says I'm running Description: Ubuntu 14.04.5 LTS Codename: trusty I've installed Android Studio 3.0.1 I more or less followed this Tutorial just got the…
Jpsh
  • 421
  • 1
  • 4
  • 7
31
votes
1 answer

Can't start KVM guest: "network 'default' is not active"

I use Virtual Machine Manager (virt-manager). Host: Ubuntu 18.04. Guest: Windows. After first shutdown I can't start it. I get this error message: Error starting domain: Requested operation is not valid: network 'default' is not active Traceback…
R S
  • 2,649
26
votes
4 answers

KVM Bridged Network Not Working

I just installed KVM on my Ubuntu Server according to this guide : https://help.ubuntu.com/community/KVM/Installation Then prepared a bridged network as shown in here : https://help.ubuntu.com/community/KVM/Networking Then, I created a virtual…
THpubs
  • 2,815
26
votes
5 answers

How to resize virtual machine disk?

Is there anyway to resize a virtual machine's disk? Say increasing the disk size from 32GB to 64GB. I am running KVM/Qemu on Ubuntu server 11.10 64bit. Thanks.
Tong Wang
  • 443
24
votes
2 answers

How to share a folder between KVM host and guest using virt-manager?

For some time now, I've been using virt-manager to manage my virtual machines. When I want to copy a file from the host to the vm, I have been using scp to copy via ssh over the network. This is kind of tedious, and there must be a way to share a…
22
votes
3 answers

Failed to connect socket to '/var/run/libvirt/libvirt-sock'

I have problem with libvirtd, the service is inactive even though I run systemctl start libvirtd.service. I am member of libvirt and kvm The output of systemctl status libvirtd is libvirtd.service - Virtualization daemon Loaded: loaded…
Susan
  • 321
22
votes
3 answers

How to resize / enlarge / grow a non-LVM ext4 partition

I have already searched the forums, but couldnt find a good suitable answer: I have an Ubuntu Server 10.04 as KVM Host and a guest system, that also runs 10.04. The host system uses LVM and there are three logical volumes, which are provided to the…
Mischa
  • 325
22
votes
5 answers

KVM is required to run this AVD

I am on Ubuntu 18.04 LTS and I am trying to set up Android Studio for the first time. When I run my simple "Hello World" app, it gives me a pop-up that says KVM is required to run this AVD. Unknown Error Please file a bug against Android…
Nomi Shaw
  • 455
1
2 3
75 76