Stack Exchange Network

Stack Exchange network consists of 175 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-virtualization]

KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko. KVM also requires a modified QEMU although work is underway to get the required changes upstream.

0
votes
0answers
9 views

KVM bridge networking: First ARP packet gets answered by wrong host

I have a host (192.168.1.106) Linux server with KVM and one Linux server as virtualized guest (192.168.1.105). The guest uses a network bridge and both host and guest are reachable over the same ...
0
votes
1answer
29 views

Enagble Supermicro Virtualization in Bios

my motherboard is a Supermicro x9dri-ln4f+, and I am using dual xeon e5 2690 CPUs. I have been trying to enable Virtualization in order to load VMs in qemu and virtualbox. The motherboard claims to ...
0
votes
0answers
24 views

KVM Host halts for several seconds. How can I monitor and find the cause using libvirtd/virsh?

I have a KVM Host with 4 vms running 24/7h. All VMs runs smoothly but at a given time, all 4 VMs stops to ping and after 10 minutes, it continues to run. I knew that they are not pinging because I ...
-1
votes
0answers
16 views

OpenStack on Bare Metal best practices [on hold]

We have two bare metal physcial hosts with large capacity - 1TB RAM, 56 cpu and 1 TB HDD on each. We are starting to adopt OpenStack for private cloud setup and bit confused with all the samples, ...
0
votes
1answer
1k views

Ubuntu 17.04 virt-clone ERROR missing source information for device sdx

I am on Ubuntu 17.04 server using KVM I tried to clone a vm after stopping it... I actually could not do a shutdown, so I did a destroy. visrh destroy origVM Then I tried cloning using: virt-clone -...
0
votes
0answers
24 views

Cloning LVM raw volume

I have to clone and manage some LVM RAW volumes that were created without making filesystem ext4. So I tried to mount this volume and linux didn't find any filesystem to mount. Inside this volumes I ...
0
votes
1answer
993 views

Remote Desktop to KVM Virtual Machine on Centos 7

I have a virtual machine created on centos7. I want to remote connect to it via another computer besides the host. I can not seem find how to access it. I have it set up with a username and password. ...
8
votes
3answers
7k views

WARNING KVM acceleration not available, using 'qemu'

Running debian (Linux Rick 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux) Looking at my cpuinfo I can see I have vmx support: flags: fpu vme de pse tsc msr pae mce ...
0
votes
0answers
19 views

KVM machines crashing in proxmox

I'm have a domestic proxmox installation which was running fine for a month or two. Recently, I started to have issues with two of the Debian-based virtual machines: the one that I use as router and ...
0
votes
0answers
10 views

Slow performance with nested bridged interface

On my HP Proliant microserver gen 8 box I have Ubuntu 18.04 running as host OS. Initially I was planning to setup one production VM (vm-prod) with multiple services inside lxd containers (vm-prod-lxd-...
0
votes
0answers
38 views

Unable to get KVM VM with with NAT interface and Public IP address at once

I have a dedicated Hetzner server running Centos7 minimal install and a /27 range of IP addresses. I wish to run several vms (with Centos7 on them) - web, database, etc. with only the ones that need ...
0
votes
0answers
26 views

KVM host with GNS3 LAB

This is for SDN LAB in the GNS3 with Asterisk. I have KVM physical host in Germany (everyone knows where I guess). I have a GNS3 lab running on Debian VM with some more VMs inside Vbox there. I'm ...
1
vote
1answer
1k views

What would cause KSMD to use CPU on a machine with no VMs?

I have a CentOS 6 machine that is used as a database (mysql) and application server. Recently I've noticed that KSMD is waking up and using exactly a half a core for anywhere from a couple of minutes ...
0
votes
2answers
1k views

Why don't the symbolic links in kvm autostart not work

I've deployed 2 kvm guests( db and app) on a Debian7 host. I can set them autostart by root@mhost:~# virsh autostart db root@mhost:~# virsh autostart app This actually creates 2 symbolic links at ...
0
votes
0answers
7 views

Trim qcow2 disk

vps disk size does not updates on server when you delete files within vps. For example one vps had 1TB usage, I deleted 800GB in that vps but vps disk size is still 1TB on server.
0
votes
1answer
24 views

(libvirt + oVirt) Migrating libvirt server to oVirt

I have two centOS 7 servers using the same network. One with libvirt, with some machines connected on it, and another one with oVIRT 4.2. I'd like to export the libvirt machines to the oVirst 4.2 ...
0
votes
1answer
35 views

Block port 25 for a Kvm VM on server

I need to know how to block port 25 for a VM on a KVM server using ebtables or firewalld service . VM has interface name viifv3035 on the server and brctl shows this: # brctl show bridge name ...
0
votes
0answers
28 views

KVM + netplan: disable DHCP default gateways on multi-NIC guest (cloud-init/netplan)

I'd want to setup a very "simple" configuration in a guest Ubuntu Server 18.04 LTS under KVM: a lan NIC interface, handled by DHCP, able to receive some static routing rules from DHCP and some local ...
0
votes
0answers
21 views

No internet connection on the VPSs created using Virtualizor (KVM)

I installed Virtualizor and KVM virtualization to be able to host multiple VPS servers on my dedicated server. My server provider said that my IP information are: Netmask: 255.255.255.255 Gateway: ...
0
votes
0answers
116 views

Changing MAC address of SR-IOV from VM in [spoofchk off,trusted on]

I have RHEL 7.4 + KVM with Intel i40e drivers with SRIOV enabled NIC[Intel X710] as host and Centos 7.5 as guest with i40evf driver. When i try to change MAC address of VF from the VM i get Operation ...
0
votes
2answers
1k views

kvm error: Cannot find suitable CPU model for given data

I'm getting the error when trying to create a VM in my Debian Jessie install. It's new, suggesting a bug, but would like to see if there is a fix first. Some info: cpuinfo: processor : 7 ...
1
vote
2answers
4k views

KVM - disk performance

I have VM and attach physical disk to it: <pool type='disk'> <name>X</name> <uuid>0119698d-d28a-fbc8-6ca3-40c485957e49</uuid> <capacity>2000396321280</...
0
votes
1answer
1k views

EL6/KVM guest dies with “pthread_create failed: Resource temporarily unavailable”

I've got a CentOS 6.5 x86-64 KVM server with a bunch of guest VMs of different breeds, mostly EL5 and EL6. However one and only one of them keeps crashing every couple of days with: pthread_create ...
0
votes
0answers
21 views

Is that possible to get thin provisionning output using dd over ssh?

From : https://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE dd if=/dev/sda | ssh root@proxmox dd of=/var/lib/vz/images/101/vm-101-disk-1.raw produce a raw image from original server and ...
0
votes
1answer
3k views

the file-system of kvm virtual machine went to read-only after live migration

I setup my kvm virtualization environment with GlusterFS, the topology as follows: KVM1 ---------- KVM2 --------------KVM3 |----------------------|-------------------------| -----------------------|...
0
votes
1answer
88 views

Why Windows 10 Virtual Machine show high CPU load on KVM hyprvisor

On KVM (Centos 7) Hypervisors Windows 10 Virtual Machines show High cpu usage. Around 30%. While other Linux, Windows 2k16, Windows 2k12 and Windows 7 Virtual machines just use from 1%to 7% CPU. By ...
0
votes
1answer
1k views

ping latency using vhost_net, macvtap and virtio

I have been testing network throughput and latency and I was wondering if my measurements are as expected. For the test, I used Fedora 17 for both host and guest, using kernel 3.5.2-3.fc17.86_64. ...
24
votes
3answers
64k views

KVM/libvirt: How to configure static guest IP addresses on the virtualisation host

What I'd like to do is to set the guests' network configuration (IP address, subnet, gateway, broadcast address) from the host system. The used network setup is in bridge mode. How can I configure the ...
0
votes
1answer
1k views

add a cgroup controller into libvirt

libvirt by default has cgroup controllers of ["cpu", "devices", "memory", "blkio", "cpuacct"] as shown in qemu.conf. I want to add one more controller of net_cls. I tried to modify the config file to ...
4
votes
3answers
2k views

How to forward a port from guest to host in qemu (kvm)

Is it possible, and how, to forward a port from guest to host in qemu/kvm? Note do I mean (out of) from guest to host, and not from host into guest (that's widely documented). I think I'm looking ...
1
vote
3answers
4k views

virsh console hangs whenever I connect to Virtual Machine

Whenever I try to connect to VM using virsh console <vm name> my screen hangs and displays: Connected to domain <vm name> Escape character is ^] I have found many solutions on the ...
2
votes
1answer
1k views

Windows NT from vmware to kvm

I'm trying to convert a couple of old Windows NT virtual servers from vmware to KVM. I tried almost all guidelines and how to I found around the web but with no luck. I have the vmware virtual disk: ...
1
vote
1answer
405 views

KVM guest broken after taking snapshot

I needed to do some work on a KVM guest. To be able to go back to it's previous state, I took a snapshot: virsh snapshot-create vph-share After this, I tried to SSH into the VM: ssh vph-share.hexvm ...
0
votes
1answer
1k views

Give a VM access to a whole disk with the least overhead with qemu-kvm

I'm moving a Windows 10 install from dedicated hardware to a KVM VM. The disk (SSD) is being physically moved from the current machine to the VM host machine. Is there a way to just pass the entire ...
-1
votes
1answer
27 views

KVM guest cant fetch packages thus it's reachable from ssh

I am a bit lost regarding my kvm setup. I rented a root server at hetzner.de and now wanted to setup virtualization using libvirt & kvm. I created a bridge br0 which now holds the static server ...
2
votes
2answers
1k views

How to measure boot time of a VM from host machine?

On both Guest machine and host machine, I am using Ubuntu 12.04. As a hypervisor I am using KVM. I want to perform some experiments related to boot-storm and I have created all other scripts to ...
0
votes
1answer
45 views

Centos 7, Qemu virtualization: Win10 guest VM very slow after Windows Update

We use qemu virtualization for many years now! It's a great tool! We use it both for Linux VM’s and Windows VM’s! It's the first time we have any issues and I have no clue on where to find the ...
0
votes
0answers
59 views

Centos 7, Qemu virtualization: Win10 guest VM or Win Server 2016 very slow I/O on small files

We use qemu virtualization with Linux hosts for many years now! It's a great tool! We use it both for Linux VM’s and Windows VM’s! But we have a strange unsolved performance issue with all the VM’s ...
0
votes
1answer
1k views

unable to open KVM when trying to VNC

I am trying to open a KVM session after connecting to the remote host through VNC Scenario: Server: 192.184.148.52 having a VNC server running at 192.184.148.52:2 with XYZ username and has a KVM ...
1
vote
1answer
1k views

Ghost “vlan 0” tags added to ethernet frames in CentOS guest under OpenStack

I'm trying to debug an issue involving a KVM virtual machine instance where the instance doesn't respond to network requests when the source is on another physical machine, which is on the same subnet ...
0
votes
2answers
108 views

Afer upgrading qemu, “unsupported machine type 'pc-i440fx-3.1”

I recently installed the latest version (3.1.0) of QEMU, and I have been having trouble getting virt-manager to work correctly, presumably because it isn't connected to the right dependencies. Some of ...
0
votes
0answers
12 views

kvm (debian) save state and restore with host shutdown/boot

As I saw that a host shutdown and boot powers off and on an autosart guest, how can I configure it to save and resume its state after a host reboot process?
2
votes
1answer
7k views

How to enable DHCP for “br0” device for qemu?

I've created a Windows XP image and I'm booting it with qemu. I'm using qemu-bridge-helper to to setup networking. Following qemu totorials, I've configured /etc/qemu/bridge.conf to allow br0 bridge ...
0
votes
1answer
32 views

Can't install additional VM with virt-install

Installing an additional VM with the virt-install command results in the following error: ERROR internal error: process exited while connecting to monitor: 2019-02-20T08:21:45.534416Z qemu-system-...
0
votes
2answers
36 views

Lost connection to main interface after brctl addif

I was setting up a server recently, and I was supposed to assign one of the public IP available for the server to a KVM guest. The server have the following setup: eno1 - main internet connection of ...
0
votes
0answers
14 views

KVM configuration for a Windows VM with Software MD Raid

Under Fedora Server I created a MD Raid 10. I also installed KVM.I will create a Windows VM and I need that this VM uses all the space in the MD Raid 10 formatted by Windows under NTFS with the best ...
1
vote
1answer
1k views

KVM: pass-through SATA hot-swap drive?

I have a SATA hot-swap cage in my Linux box. Is it possible to pass-through the SATA disk which is injected in that cage to a KVM guest? I have multiple disks however the SATA port will be always the ...
0
votes
1answer
58 views

qemu process memory usage greater than guest memory usage

I have a physical machine with 24 GB RAM hosting a few VMs using libvirt-qemu. When creating VMs, I assign a lot of memory and no swap, so that the total of assigned memory can be greater than the ...
3
votes
3answers
3k views

Cpu pinning strategy for kvm / centos7

I am migrating from Xen to Kvm. In Xen I was able to easily pin host cpus to guest vms, and also to pin host cpus to the "dom0" . In Kvm I can also easily pin host cpus to guests vms, but, as far as ...
0
votes
1answer
1k views

Exporting a snapshot in KVM to create a clone ala Hyper-V 2008

Hyper-V has a nice feature of allowing a snapshot of a VM to be exported, meaning a new VM is created with the state of that snapshot. How can the same be accomplished in KVM ? Qcow2 images on ...