Questions tagged [kvm-virtualization]

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

1110 questions
103
votes
19 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…
That Brazilian Guy
  • 4,010
  • 7
  • 25
  • 43
82
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…
praveen kumar
  • 1,309
  • 2
  • 10
  • 6
82
votes
5 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 …
user125242
  • 839
  • 1
  • 6
  • 7
68
votes
4 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,553
  • 1
  • 17
  • 20
39
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
  • 415
  • 1
  • 6
  • 8
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…
Anam Ahmed
  • 670
  • 1
  • 7
  • 12
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
32
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
  • 433
  • 1
  • 4
  • 4
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
  • 2
  • 5
  • 9
25
votes
3 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,775
  • 10
  • 42
  • 55
23
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

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
  • 1
  • 2
  • 8
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
  • 425
  • 1
  • 3
  • 15
19
votes
2 answers

Is there something like "VirtualBox Guest Additions" for QEMU/KVM?

I run some Ubuntu VMs in QEMU/KVM with virt-manager as the GUI. The one thing I really miss from VirtualBox though is the ability to install "Guest Additions" which would allow a shared clipboard and the ability to drag and drop files from host to…
user364819
19
votes
2 answers

Add physical disk to KVM virtual machine

I'm setting up a file server (nas4free) as a KVM virtual machine on a Ubuntu Server 12.04 system. How do I add physical hard drives directly to the VM so they can be used by the guest (nas4free), but not the host? Specifically the hard drive I'd…
evan
  • 191
  • 1
  • 1
  • 4
1
2 3
73 74