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-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-...

0
votes
0answers
6 views

In Debian Using Android TV x86 Emulator Image with QEMU/KVM [on hold]

If I am correct, Android Emulator uses KVM/QEMU for virtualization. Since there is no standalone Android TV x86 installer floating around I need to use these images to create myself a virtual Android ...
0
votes
0answers
8 views

IO wait under low usage NVMe system

We experience IO wait issue that we don't understand in case of a NVMe based system, however further settings may be necessary. Node system: Debian Stretch soft RAID 1 with two NVMe tools KVM Qemu 2....
-1
votes
0answers
22 views

kvm guest console blank — virt-manager [on hold]

I am running virt-manager on debian stretch, I can connect remotely to the kvm host (Fedora 29). When I create a guest vm, when the guest vm starts (install) all I get is a blank console.
1
vote
1answer
30 views

Enabling KVM nested virtualization for one guest without halting/rebooting all of them

I'd like to enable nested virtualization on KVM for at least one of my guests. I believe that this requires reloading the kvm_intel module passing it a nested=1 option. I cannot halt/reboot some ...
0
votes
0answers
9 views

QEMU crashed while trying to boot up i.MX6q device kernel

When tried to boot up Kernel uImage of an i.MX6q based embedded device, it seems that QEMU crashes with "Unable to handle kernel NULL pointer dereference at virtual address 00000044". Before crashing ...
0
votes
2answers
77 views

Linux Two network adapters with static IP addresses on GCE Linux instance

I want to make a VM hosted on Google Compute Engine to have 2 static IP addresses. For the purpose I created the VM having two network adapters (NICs) each of them allowing me to "pick" 1 static IP ...
1
vote
1answer
47 views

Prevent VM clock running faster than it should

I have a unRAID 6.6.5 server with perfectly correct time and multiple Linux VMs which used to be perfectly synced too. I rebooted one of my VM and suddenly the clock goes twice as fast as the hwclock. ...
0
votes
0answers
25 views

redirect all web trafic from network through proxy server to a specific URL

I have a network env, which has outgoing traffic using proxy only. I want to create some sort of "unproxying GW" for my specific internal network. I am okey to use any Linux based solution for this, ...
1
vote
1answer
17 views

Systemd - running custom VM shutdown script before the standard libvirt-guests.service

On a KVM host I have a few VMs with legacy OSes that do not listen to ACPI shutdown event. As it happens on Debian 9.5 host, on shutdown the libvirt-guests.service waits for 5 minutes for each such VM ...
2
votes
0answers
32 views

XP KVM stuck at “Booting from Hard Disk”

Just to see if it could be done (and if so, move other physical XP machines to VM environments), I took the hard drive out of a decommissioned laptop, captured a WIM of it, and applied it to a QCOW2 ...
1
vote
0answers
31 views

Q: Unable to create 'live' snapshot of running KVM using virsh

I was kindly directed to here, Serverfault from Stackoverflow to pose my question. I'm running the following command on a RHEL7 hypervisor to create a live backup (disc image) of a running kvm, ...
0
votes
1answer
20 views

different firewalld rich rule behavior in kvm host compared to kvm guests

I have a CentOS 7 KVM host with a single public IPv4, which is housing multiple guest OS's and acting as a firewall / gateway for guest network 192.168.1.0/24 / nat. I want to run a webserver of 1 ...
0
votes
0answers
31 views

How to migrate a Xen Project PV gentoo machine to a HVM and than to KVM?

I've some dozens of VM's that run all in a PV mode under an old Xen Project 4.7 server. Now the time comes to use something else (KVM). But actually I struggle to migrate them...I know so far that I ...
1
vote
0answers
34 views

KVM guest gets into paused state shortly after being started

I have two very similar x86_64 machines running the same kernel (4.7.8), and the same version of libvirt. The only difference between the two machines is the amount of memory they have, machine A has ...
1
vote
0answers
32 views

Confused about whether my iSCSI share is available/how to make it so

I am attempting to set up iSCSI with a virtual machine as the initiator and the host as the target. I was looking at these instructions, among others: https://www.tecmint.com/setup-iscsi-target-and-...
0
votes
1answer
27 views

Include cloudinit config to new VM

On my KVM hypervisor I would like to add a new VM with CentOS-7-x86_64-GenericCloud.qcow2 disk but with my custom cloudinit config to make sure that the new VM will start up with all users, correct ...
2
votes
0answers
53 views

Kernel panic when booting qemu virtual machine

I usually install template virtual machines on a dedicated server and then copy the disk to other production servers. It has worked for years and still works today in all cases but one. I have ...
-2
votes
1answer
50 views

Live migration without stopping source VM after migration

Is there any possible way to perform live migration using KVM/QEMU/libvirt without stopping source VM after migration? I want to make full consistent backup of VM under KVM hypervisor without stopping ...
-1
votes
1answer
28 views

In Public IaaS cloud, if my VM is given any available pCPU core, how sure am I that I get all the cores I pay for?

I am a new comer to virtualization! At least from what I know, in virtualization if I have a VM, the scheduler will give it any core available for processing in the physical CPU (pCPU) and it is also ...
1
vote
0answers
25 views

KVM VIrtual Network only allow ports 22

I have a KVM host with some VMs The Host has a SMB Share in it All the guest VMs need to connect to this SMB FileShare And i need it to be via virtual network (preverably KVM's 'default' virtual ...
0
votes
1answer
51 views

KVM: guest with FQDN DNS resolution / no bridge

I have a (Hetzner) server with a public IP of eg. 123.123.123.123, and an additional IP of eg. 456.456.456.456. I want to serve some private webspace apps on 123.123.123.123, including a hidden ...
0
votes
0answers
55 views

Certain network request errors only inside VMs

I have Proxmox 5.2 installed on NUC for over a month and everything work fine. In the recent days, I decided to create a new workstation VM machine, and noticed something strange. Certain network ...
0
votes
1answer
28 views

Disable or change port of dnsmasq service in libvirt

I'm using libvirt to manage my VMs, but I don't need the dnsmasq DNS server that gets automatically started with the service as it conflicts with my acme-dns setup. Is there a way to change disable ...
0
votes
0answers
24 views

No write permissions in shared folders KVM

I shared a folder from my host to guest using this guide https://www.linux-kvm.org/page/9p_virtio In example they are using old GUI version and now you cant set Type Passthrough and Squash. You need ...
0
votes
0answers
39 views

Configure public ipv6 address to kvm guest in macvtap network mode

Host(ubuntu16.04) has /64 ipv6 assigned to it and one ipv4 address. Trying to create a ubuntu virtual machine in macvtap network mode and assign a public ipv6. So I Created 'macvtap' network using ...
0
votes
0answers
60 views

Apparantly successful virt-install of Clear Linux cannot boot

First, I create a clear linux vm with virt-install virt-install \ --name CLEAR \ --ram 65536 \ --disk path=/guest_images/Linux_main/CLEAR.img,bus=virtio,size=450 \ --vcpus 8 \ --os-type linux \ --os-...
1
vote
0answers
21 views

KVM: Is it possible to detect guest disk was mounted RW?

Let's assume I have a KVM-based virtual machine. There is a volume that contains the operating system and the data. I know it is possible to access from host at least READ-ONLY the filesystem which ...
2
votes
1answer
20 views

Linux KVM if guest is rebooted it will not start, must be manually started

Have an Ubuntu server running KVM: Linux hyperv 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux It is running a few VMs which are linux, and one windows ...
-1
votes
1answer
60 views

Cannot create VPS virtualizer

I have installed Virtualizor (KVM) on a CentOS server and I'm trying to create a VPS I have added storage and an IP pool for my VMs for creating storage I followed this guide https://www.virtualizor....
0
votes
0answers
17 views

configured cpu count is not reflected in libvirt/KVM Windows10 guest

I have a libvirt domain configuration, where the cpu-related settings for a Windows 10 guest are configured as follows <domain> <!-- ... --> <vcpu placement='static'>3</vcpu&...
2
votes
0answers
52 views

Is it possible to capture traffic on host when using KVM passthrough?

I have a KVM guest which uses PCI passthrough for its network interfaces: <hostdev mode='subsystem' type='pci' managed='yes'> <source> <address domain='0x0000' bus='0x05' slot='...
2
votes
1answer
35 views

xfs_db reports high file fragmentation where VM is located, but VM shows almost no fragmentation

I have several libvirt VMs stored on xfs partitions and am using gluster to replicate the storage. The VMs use qcow2 for storage. Some of the partitions where the VMs are located indicate high file ...
1
vote
2answers
91 views

KVM: Hosts with private and public IPs

We have a small block of static IPs (e.g. 203.0.113.0/29). We currently only use 203.0.113.2 for a mail server. We'd like to add some other public servers, and if possible would like to have them ...
1
vote
1answer
31 views

xfs_fsr reports insufficient freespace on large VM images

I have several systems using glusterfs and xfs partitions. Some of these systems are hosts for VMs (using libvirt and with qcow2 for storage). I noticed that there was some substantial fragmentation ...
0
votes
2answers
160 views

Why does arp_ignore=1 break ARP on POINTOPOINT interfaces? (kvm guest)

If I add the following settings on a kvm guest: net.ipv4.conf.all.arp_ignore=1 Networking of the guest stops (highly intermittent). The kvm host uses bridge-networking: auto lo iface lo inet ...
7
votes
5answers
162 views

KVM+DRBD replicated between two active-passive servers with manual switching

I need to build 2-node cluster(-like?) solution in active-passive mode, that is, one server is active while the other is passive (standby) that continuously gets the data replicated from active. KVM-...
0
votes
0answers
46 views

How to run a script/command at only the “first” boot once on Windows Server 2016?

I've been looking around everywhere but couldn't find anything relevant. I have a pre-configured Windows image that I would like to deploy on a huge number of VMs and I want a specific script to run ...
1
vote
1answer
121 views

How I increase GPU video RAM in virt-manager?

I have this text in my XML <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' ...
0
votes
0answers
181 views

Setting up Bridge for KVM on Ubuntu 18.04.1 Server

I'm trying to setup KVM on Ubuntu 18.04.1 Server. I tried following the instructions here, however I got stuck at the part which has me configure the bridge. I don't have a 50-cloud-init.yaml file, ...
0
votes
0answers
17 views

How to configure internet gateway for NAT'd VM on KVM?

I'm running the Redhat 7 hypervisor, running KVM. The RHEL hypervisor has internet access. The VM is configured with NAT, not as Bridged, and does not have internet access. How would I configure the ...
2
votes
1answer
46 views

LVM or not for KVM storage?

Is there any issue with using LVM for your host server's storage pools or raw devices that are used by KVM guest? Eg. say I want to add storage to the /home directory on my KVM guest. I have a Volume ...
0
votes
2answers
57 views

Lightweight way to graphically connect to guest VMs on “headless” hypervisor

Running a Fedora Server 28 hypervisor (QEMU/KVM with libvirt tools) with Windows- and Fedora-based guest VMs. Normally, the hypervisor runs headless with minimal packages installed, and guest VMs are ...
1
vote
1answer
35 views

Missing file in / taking up all of the root space [duplicate]

I was copying a large VM disk file to a separate larger separate disk array to work on it and during a benchmark I did previously before I started the copy job I didn't realize that the benchmark had ...
1
vote
0answers
23 views

CentOS in dracut emergency mode booted over pxe won't access my http/nfs servers

So I am doing a small project on my KVM-based virtual machines, now I am trying to set up automated OS installations over PXE. Server1 provides TFTP for PXE, HTTP and NFS. The client gets the kernel ...
0
votes
0answers
39 views

Is there a way to make VM snapshots in PROXMOX LVM storage

Acording to official docs https://pve.proxmox.com/wiki/Storage:_LVM the LVM storage option does not support VM snapshots. You need to setup Thin LVM for snapshots to work. My question is if there's a ...
0
votes
0answers
24 views

cannot shutdown virtual domain until connected to it

I have a rather weird problem. I'm going to try and present facts but the truth is that my problem seems so awkward that I don't really know what is happening. I run a Debian 8.11 host with libvirt-1....
0
votes
1answer
48 views

oVirt qemu-kvm listening on wrong IP

I'm new to oVirt but managed to configure it and take over the console on an IPv4 network, using VNC instead of spice. However, I've noticed that the qemu-kvm process only binds to the IPv4 interface ...
0
votes
1answer
26 views

Wrong keymap in KVM guest

I connect to a KVM host (CentOS 7) by VNC. The keymap on the host is de-ch. While connected to the host i open a guest server (any OS) by the virt-manager and try to login to the guest, but the keymap ...
1
vote
0answers
102 views

libvirt connection as non-root user

I'm trying to configure a libvirt compute resource in Foreman and have both KVM and Foreman installed on the same Centos 7 host. Adding the compute resource with qemu+ssh://root@hypervisor.example....
-1
votes
1answer
215 views

How to set up pfSense/OPNSense on virtual host?

I'm a little confused as how to to host a *Sense box as a VM and have it provide routing for the host. Internet -> Modem/Router (bridge mode) -> en1 on Dell r710 -> OPNSense in a VM Then ...