Questions tagged [kvm-virtualization]

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

1119 questions
72
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,673
  • 1
  • 17
  • 20
16
votes
4 answers

virsh ssh into a guest vm

Is there anyway that I can ssh into a guest vm through virsh instead of find the ip address of the guest vm? e.g. what I want is ssh into a guest like this way : $virsh ssh_or_somwthing but not like this: $ #1) find the guest vm's IP…
gansteed
  • 161
12
votes
2 answers

How to convert qcow2 virtual disk to physical machine and reversely

I have a KVM Server and I am using qcow2 as vm image format I need to convert virtual machines into physical machines Any helpfull idea?
user91632
10
votes
1 answer

KVM Setting Issue (libvirt-sock not found) on Ubuntu 18.04.1 LTS

I have been following this link https://help.ubuntu.com/community/KVM/Installation to install KVM on Ubuntu 18.04.1 LTS. But I cannot start it properly and encounter the following errors. $ virsh list --all error: failed to connect to the…
K_inverse
  • 203
7
votes
2 answers

KVM vmbuilder fails

I have a fresh install of 16.04 and I have installed kvm. I'm trying to create a virtual machine using vmbuilder. sudo vmbuilder kvm ubuntu --suite xenial --flavour virtual --arch i386 -o --libvirt qemu:///system --ip 10.0.0.80 --hostname sabsickvm…
rp1783
  • 71
7
votes
3 answers

does KVM has the same tool like vmware tools?

VMWARE has vmtools to enhance VM performance. Does KVM has the same tool to enhance its VM? If so, how to install such tools? thanks for any input!
5
votes
1 answer

KVM Network Bridge to assign Static IP

I installed Ubuntu server 14.04. and assigned static IP to it... then installed KVM and Virtual machine manager... then created a test virtual machine and it worked fine also with local IP address over NAT. I have two LAN Card and only one is…
4
votes
2 answers

Create .img file for use with KVM

How do I create a .img file or any disk image to be used with KVM?
Oxwivi
  • 17,849
4
votes
2 answers

How do I create Ubuntu Virtual Machines using KVM?

I would like to create several Ubuntu Server Virtual Machines using KVM to test and use. How do I create Virtual Machines using KVM?
Marco Ceppi
  • 48,101
3
votes
0 answers

Trying to install KVM

hwr44ever@hwr44ever-Latitude-D630:~$ sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager Reading package lists... Done Building dependency tree Reading state information... Done Package bridge-utils is not available, but is…
3
votes
1 answer

How can I use vmbuilder to install the dev ubuntu release?

I'd like to try some packaging for oneric and vmbuilder seems like the easiest way to install it in kvm, but when I tell vmbuilder to install oneric it says it only knows through natty. jrwren@delays:{4}~ $ sudo vmbuilder kvm ubuntu --suite…
3
votes
2 answers

How to uninstall KVM

I need to completely remove KVM from my Ubuntu desktop, but even after removing the kvm packages, when I run the following command: virsh -c qemu:///system list it shows: Id Name State ------------------------- This indicates that KVM…
Nam
  • 31
  • 1
  • 1
  • 2
3
votes
2 answers

qemu-guest-agent fails at autoinstall

This is my first post here so please have patience :) I am trying to build a Ubuntu 20.04.5 image with Packer(1.8.4) on Proxmox(7.2-11). Everything seems to be working fine (get IP, reads cloud-init config via HTTP, starts the install, installs…
Andi M.
  • 31
2
votes
1 answer

Using OpenvSwitch with DPDK in Ubuntu 16.04

I am trying to setup openvswitch with DPDK in Ubuntu 16.04 using the openvswitch-switch-dpdk package. I am using an HP DL380 Gen-8 server with an Intel 82599ES Dual Port 10G card. I can bind the ports on the Intel card to the DPDK driver (have tried…
Roy_R
  • 21
2
votes
2 answers

Install only virsh command utility to manage KVM VMs (without GUI)

I want to only install the packages that provide virsh to create and manage KVM virtual machines. What do I need to install, what do I need not install to skip the GUI elements? For the record, I want to run them headless. KVM displays the VMs'…
Oxwivi
  • 17,849
1
2 3 4