Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [kvm]

Questions about the Kernel-based Virtual Machine, an open source virtualization infrastructure to use the Linux kernel as a hypervisor.

0
votes
0answers
17 views

netplan: Enable WiFi with no IP address on 18.04 LTS Server

I intend to run a KVM host. The Host should enable a wireless interface but assign no IP address to it. Like a Hyper-V Server with the WLAN Service enabled and set to "Automatically connect", but with ...
0
votes
1answer
19 views

Unable to start VM using libvirt-terraform

I am using the terraform libvirt provider and I am failing to start a VM. I have a drive mounted at a folder within /home/dude/vmPool/, and I have tried setting acl from looking at this issue which ...
0
votes
0answers
12 views

is it possible to be using a kvm instance managed by MaaS as a juju bootstrap node?

background: in the end i want to run kubernetes on a bunch of virtual machines. to have some automation im trying to leverage the pxe-setup of maas. it looks like juju is a good way to setup ...
0
votes
0answers
31 views

Kvm Installation missing dependencies 18.10

I am trying to install KVM/Qemu using the guide on the Wiki. But i am getting error due to unmet dependencies for qemu-system-x86. Is there a work around or should i file a bug. $ sudo apt-get ...
0
votes
0answers
32 views

Would Dual Booting Ubuntu with Windows effect Android Studio Emulator?

My Development machine is dual boot Windows 10 and Ubuntu 18.10. I'm trying to use Flutter on Ubuntu 18.10 and everything seems to be working fine except for Android Studio AVD (Android Virtual ...
0
votes
1answer
12 views

How to proceed further in Ubuntu Core after configuration?

I have installed Ubuntu Core on KVM using This link And I have also added the SSH keys on my Ubuntu SSO account. And now this screen is shown: The screenshot after the configuration But how do I ...
2
votes
1answer
73 views

How to enable virtualization in Ubuntu 16.04 LTS on HP notebook

I am creating a cross platform mobile application using cordova. i am running the command cordova run android and getting below error. The screen just hangs also. CPU acceleration status: /dev/...
1
vote
1answer
34 views

Virt-Manager Error

I've installed QEMU-KVM and Virt-manager according to this guide: https://linuxconfig.org/install-and-set-up-kvm-on-ubuntu-18-04-bionic-beaver-linux. I can get pretty far until I reach step 4 of 5 ...
0
votes
2answers
65 views

how to use ubuntu minimal images with kvm

I'm straggling to use ubuntu minimal images to create libvirt/KVM VMs. I launched VM-Manager wizard, chose "import existing disk image", pointed it to the downloaded image and made sure that network ...
0
votes
0answers
26 views

Network service restart failed

I set up an Ubuntu 16.04 server as guest in kvm. Server uses 2 interfaces: Host and Bridge ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/...
0
votes
0answers
139 views

QEMU doesn't support spice OpenGL

I'm trying to use KVM on my machine (threadripepr 2950 CPU and AMD WX7100 GPU) running ubuntu 18.04. I have followed KVM and virtual machine manager and bridge networking procedure and first step was ...
1
vote
0answers
97 views

Netplan - Bridging over a bond on Ubuntu 18.04 KVM host

Sorry in advance for the long post, this has been rattling me days. I've got a server with 4 NIC (eno1, eno2, eno3, eno4). I'm trying to establish the following setup: Host - Ubuntu Server 18.04 ...
0
votes
2answers
52 views

Cannot start server with wrong /etc/network/interfaces config

I removed the last 3 lines bellows: BEFORE: auto lo iface lo inet loopback auto enp4s0 iface enp4s0 inet static address __IP___ netmask 255.255.255.248 gateway __IP___ AFTER:...
0
votes
0answers
90 views

Keyboard keys not working properly via KVM/QEMU

My hosting provider enables me to access my VPS via their website using KVM/QEMU. I have yet to figure out how this is possible, as I've not installed anything at my end for this to work. I find this ...
5
votes
0answers
93 views

configuraing VM acceleration Issue on Ubuntu 18.10 [duplicate]

I just switched to Ubuntu and I'm following the instructions on Configuring VM acceleration on Linux I typed this command sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils ...
4
votes
1answer
400 views

KVM\qemu installation issue (18.10)

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 ...
1
vote
1answer
34 views

Migrate OpenVPN from Ubuntu 16 to Ubuntu 18

I have a physical machine running OpenVPN on Ubuntu 16. I'm creating a VM to run OpenVPN on Ubuntu 18. Is it possible to migrate the server and client certificates, config, etc. from the physical ...
0
votes
1answer
81 views

bridging KVM on Ubuntu 18.04

So I've been trying to set up KVM on Ubuntu 18.04, with the goal being of having the vms have unique IPs on the local network (so that I can easily open up ports for them). On OpenSUSE it did this ...
0
votes
0answers
66 views

KVM Visualization on ubuntu 18.04

I have ubuntu 18.04 desktop as my host, I wanted to use KVM to install virtual machines, the laptop has only one ethernet card eth0. Now when I use VirtualBox I can install a virtual machine, bridge ...
0
votes
0answers
12 views

check if kvm is being used by android studio

I have installed kvm on ubuntu 18.04 by following the instructions given on the official ubuntu page and I also verified the results. However when I started android sutdio it showed kvm can be used. ...
0
votes
1answer
31 views

iptables rules applied multiple times

I had a very simple set of iptables rules on a newly installed system: $ sudo iptables -L Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- ...
0
votes
1answer
73 views

Config bridge network in order to using KVM

I want to install and configure KVM and I need to create some virtual machines, As I researched I should create a bridge network and select it in KVM. I installed bridle-utils before anything This is ...
0
votes
0answers
36 views

MAAS KVM Pods and VMs: stuck at commissioning machine

I have been dealing with this issue for a while now, and none of the FAQ's I've gone through provides useful insight. Feeling Zen now, so I'm kindly asking you for a hand. I have installed MaaS 2.5 ...
0
votes
0answers
80 views

add user to the libvirtd

I installed java 11 and I am trying to install kvm. I followed the instructions as given on the official ubuntu website. https://help.ubuntu.com/community/KVM/Installation I finished up installing ...
0
votes
0answers
63 views

invalid compressed data--crc error invalid compressed data--length error

I gzipped a 8.7GB kvm qcow2 image but I forgot to add the -k parameter so the original image is lost. So in order to get it back i tried to "gunzip" and the resulting file blew up past 400GB... ...
0
votes
0answers
43 views

Suddenly none of my services are starting on bootup

I can't connect to my server using ssh, so I'm using OVH'S KVM. root@vps556019:~# nmap -p 22 127.0.0.1 Starting Nmap 7.01 ( https://nmap.org ) at 2018-10-14 18:09 CEST Nmap scan report for localhost ...
0
votes
0answers
11 views

Windows server as a Desktop enviroment for Ubuntu server

i have set up and ubuntu 16.04.5 server. and i have managed to install windows server 2012 r2 on top of it via KVM. Autostart is also enabled. for convenience i did the configuration via the unity ...
1
vote
0answers
94 views

Nested virtualization with KVM is not working in Ubuntu16.04

[If there is a more suitable place to ask this question, let me know !] 1 What am I trying to do ? I want to use libvirt KVM with nested virtualization like described in [1] and [2]. But it does not ...
1
vote
1answer
33 views

Emulate NUMA machine with virt-manager

I need to develop a C program which uses libnuma library. But I don't have a NUMA machine at home, and the function numa_avaiable() returns 0. I would like to emulate a NUMA machine. So, I have ...
2
votes
1answer
139 views

Ubuntu desktop as a cloud service?

I'm new to linux and to servers. I set up ubuntu 18.04 server on an old macbook to play with. I set up a website on it and then I decided to start again... on a real server. This time I want to ...
0
votes
0answers
70 views

KVM server upgrade

Firstly I am not an Ubuntu expert and therfore not a KVM wiz either. I have inherited a standalone physical server that is running Ubuntu 16.10 (EOL) that runs KVM with a few Virtual machines running ...
0
votes
0answers
91 views

libguestfs virt-customize install is not working - Ubuntu 18.04

I was trying to use virt-customize to install a package in a disk image before attaching the disk to a VM. $ virt-customize --hostname atotest --uninstall cloud-init --install ifupdown --network -a ...
0
votes
0answers
160 views

upgrade of ubuntu server fails on hooks/kmod

I got a HP proliant server in a rack (second hand) 16 cores, 2x 1Tb HD and had happily installed ubuntu 16.04 server, used KVM to set up a few VM's running a kubernetes cluster. Also installed ...
1
vote
1answer
111 views

virsh shows VM running, but it either doesn't start, or has no network access

I am having a HECK of a time getting virtual machines running on 18.04 (server) LTS. I say running, because it FEELS like virsh REPORTS it running, but that it never starts up. This is a very basic ...
1
vote
1answer
112 views

Unable to ping from host to guest in KVM

I have a Windows guest setup using KVM on an Ubuntu host. The problem is that I am able to connect to the internet and ping the host from the guest, but can't seem to ping the guest from the host or ...
2
votes
1answer
338 views

Virtual Machine best practices, and RAW vs QCOW2 [closed]

Tl/Dr: rebuilding VMs after OS SSD crash. Looking for best practice tips to see if I am missing anything, and to confirm if RAW vs QCOW2 has performance differences, and if they can be set up with the ...
1
vote
0answers
62 views

SRIOV + ubuntu bonding in KVM

I have a KVM with Intel SRIOV card. 5: enp4s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 00:0c:bd:05:d9:82 brd ff:ff:ff:...
0
votes
1answer
81 views

Docker breaks network bridging to virtual machines

After installing docker I can no longer access my VMs running on my Linux machine. The VMs are up and running but other hosts can no longer access them at all. Has anybody already encountered this ...
0
votes
0answers
82 views

qemu windows guest with access to host samba share but blocking external network access?

I am running my qemu virtual windows machine with the command: qemu-system-x86_64 -enable-kvm -m 2048 -boot d disk.qcow2 -net user,smb=/share/ -net nic,model=rtl8139 -localtime -vga std which ...
0
votes
1answer
119 views

Traceback error virt-manager : 'module' object has no attribute 'SSL_ST_INIT'

I'm not able to run virt-manager or virt-install on Ubuntu 16.04. Every time I try it a python error occur : ➜ / $ virt-manager Traceback (most recent call last): File "/usr/...
0
votes
2answers
182 views

/dev/kvm/ does not exist in ubuntu 16.04

I have installed kvm in ubuntu16.04 OS. WHen I am executing following command: kvm-ok I am getting following error: INFO: /dev/kvm does not exist HINT: sudo modprobe kvm_intel INFO: Your CPU ...
1
vote
1answer
1k views

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 ...
1
vote
0answers
53 views

Package 'bridge-utils' has no installation candidate [duplicate]

I am trying to install KVM in ubuntu 16.04 using following command: sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils and getting following error: Reading package lists... ...
4
votes
2answers
413 views

Why doesn't “osinfo-query os” detect Ubuntu 18.04?

OS: Kubuntu 18.04.1 (and Ubuntu 18.04.1 in a virtual machine) When I run osinfo-query os after installing libosinfo-bin, the output doesn't include Ubuntu 18.04: $ osinfo-query os | grep -i ubuntu | ...
0
votes
0answers
78 views

Unable to bridge network to qemu (libvirt) guest

I am running a virtual machine with virt-manager on my Ubuntu 16.04 server and am trying to get the guest into the same network as the host. I have attempted to follow these directions however I ...
0
votes
0answers
59 views

Configure Netplan for Apache CloudStack

I am following this tutorial on setting up CloudStack on Ubuntu 18.04 LTS: https://rohityadav.cloud/blog/cloudstack-kvm/ there it says to configure your network like so: network: version: 2 ...
0
votes
1answer
88 views

Fails to boot Kernels newer than 4.15: LSB: QEMU KVM module loading script

I currently cannot boot any kernels newer than 4.15 because my PC hangs on boot with the following message: https://i.imgur.com/G45PiAO.jpg If I purge QEMU per the instructions found here: Ubuntu 16....
0
votes
2answers
67 views

Creating an KVM Virtual Network

I'm new to Ubuntu and I'm a bit confused. I wanted to create a virtual network for one of my virtual machines, so I opened virt-manager and went to edit -> Connection Detail and stopped the default ...
0
votes
0answers
29 views

Defining network interfaces on Ubuntu KVM Kickstart files

I already asked this question on Server Fault but I haven’t gotten any traction. I hope moving it here is not wrong? How does one define static network interfaces in a kickstart file, for Ubuntu KVM ...
3
votes
0answers
585 views

How to reset netplan to default in 18.04?

I tried creating a network bridge through Virtual Machine Manager for KVM. Now my Ubuntu network connection depends on my Windows KVM being booted. Since creating this bridge when Ubuntu is booted ...