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
1answer
366 views

How to identify libvirt_volume id in terraform for reuse in split configuration files

Setup I am using a remote state files that are stored on external cloud storage and my terraform resources are split in different modules. I want to download the base images only once in an images ...
1
vote
1answer
260 views

splitting tagged and untagged traffic to bridges on KVM

I am using RHEL 7.3 KVM I have one interface that has both tagged and untagged traffic. I am looking to split the traffic to 2 bridges. so untagged traffic goes to br0 and tagged will go to br0:XX. ...
3
votes
1answer
1k views

Are CPU microcode updates always ignored by Hypervisors?

Question I know that Vmware hypervisors at least have a setting to ignore CPU microcode updates from within the guest OS (no surprise). CPU microcode update available. The guest OS tried to ...
1
vote
0answers
48 views

Docker on CoreOS VM behind Corp proxy

I have Docker on a CoreOS VM which runs on top of KVM. VM Networking: $ virsh net-edit libvirt <network ipv6='yes'> <name>libvirt</name> <uuid></uuid> <...
1
vote
1answer
38 views

iptables: Outgoing Traffic gets redirected to local Port

I am using following iptables script on my debian machine: #!/bin/sh IPT="/sbin/iptables" # Flush old rules, old custom tables $IPT --flush $IPT --delete-chain # Set default policies for all three ...
0
votes
1answer
443 views

Proxmox: Unidentified network on each reboot for Windows hosts

Since about 1 year I always have the same error with Windows guests: on each reboot, Windows says the network is unidentified. So the network card is named "Ethernet 8" then "Ethernet 9" then "...
0
votes
1answer
103 views

Cent OS 7 Re-partition of allocated disk

I was trying to install SolusVM KVM slave on centos 7, the Datacenter provided me operating system having partition as I explained below, for installing KVM Slave I need PE Size 32MB from default size ...
1
vote
0answers
192 views

MariaDB error: Can't start server: Bind on TCP/IP port. Got error: 12: Cannot allocate memory

I have KVM VDS on CentOS 7 with hhvm, nginx and MariaDB, with few static sites (pure html/css) and one php site with a DB (actually Wordpress). This night I received notifications from the uptime ...
0
votes
1answer
599 views

Using virt-builder to create image

I'm trying to automatically create cloud images using virt-builder. I am using the following command in Centos 7 and it keeps failing. Any idea behind the issue ? # virt-builder debian-9 -o /var/lib/...
2
votes
1answer
1k views

KVM image format convertion: raw thin provisioning to raw preallocated

I'd like to convert a KVM virtual machine disk image in raw file from a thin privisioning format to preallocated. In the first place I've got a preallocated 20Gb raw image file: image: /var/lib/...
0
votes
0answers
23 views

Start VM as main window on boot

How to make qemu-kvm to run VM on linux boot and open guest window fullscreen? So for user is like Guest OS is only OS that installed. Guest will be Windows, and host - Linux. Also will be good to to ...
0
votes
2answers
289 views

How to access guest virtual with CentOS using additional ip?

I have a dedicated server in Hetzner. In which I have installed CentOS 7.4, inside it I have KVM with another CentOS 7.4. I have requested an additional ip from Hetzner that has a Mac separated for ...
1
vote
0answers
153 views

KVM VM won't start after installation - Loading initial ramdisk

I installed my first KVM VM on a debian 9.3 host, with debian 9.3 client in the VM with virt-install. The host is a new and clean installation on a Dell Laptop. The only thing altered by me was the ...
1
vote
1answer
207 views

No traffic to the VM

TL;DR (1) Only the first 2 VFs are transferred to the VM and (2) No traffic to the VM. Setup Host is Ubuntu 16.04 Intel 82599 (supports SR-IOV) attached via PCIe Driver ixgbe Guest VM is Ubuntu ...
0
votes
0answers
657 views

How to set default permissions for libvirt VM files

When I create a new virtual machine using virt-manager, a qcow2 file is created with read permission for all: rw-r--r-- 1 libvirt-qemu libvirt-qemu 53695545344 Jan 12 16:24 vm.qcow2 I find it ...
1
vote
0answers
760 views

KVM Bridge Network: VM Missing IPv4

OS: Ubuntu 16.04.3 Configuring a KVM Bridge between my ethernet card (eno1), guest(s) (vnet0), and bridge (br0) I have my bridge working properly with my network card so that my machine has WAN ...
3
votes
1answer
95 views

Is slowdown caused by Meltdown/Spectre patches expected to happen when vm or the virtualisation host gets updated?

I have Ubuntu server vms running on Ubuntu server hosts with Kvm as hypervisor. I know that installing the kernel patches for Meltdown/Spectre may cause the systems to become slower. Is this ...
1
vote
1answer
430 views

Linux OOM: Trying to understand memory statistics / mismatch with expected values

I am trying to understand why the OOM killer has reaped a process on a KVM virtual machine running with 1 gigabyte of memory. While I do already know that running Linux machines without swap is not ...
1
vote
0answers
38 views

How to set RAM limit inside OpenVZ container

I had VPS on OpenVZ (Ubuntu Server 16.04). My hoster made some weird migration and put that container inside KVM. So now it looks like I have 8 exabytes of RAM: $ free -h total ...
0
votes
0answers
52 views

Discovery of other subnets from KVM

I have a KVM-based VPS with one of the popular providers: # lshw -class system hostname description: Computer product: KVM vendor: Red Hat version: RHEL 6.6.0 PC width: 64 bits ...
1
vote
1answer
40 views

How to use interface for KVM from ISP?

i have main IP: 1.2.3.4 with mask 255.255.255.0 and gateway 1.2.3.254 It is ok. Also, ISP gave me network /28. List of ip: from 1.1.1.1 and until 1.1.1.15 I can use these interfaces via aliases, ...
0
votes
1answer
119 views

How to use alias of interface with real ip for virtual machine in KVM

Network 192.168.110.0/24 is not real. I wrote this network on serverfault for example. Hello. I have interface enp1s0 with main IP 192.168.110.180. Part of config: auto enp1s0 iface enp1s0 inet ...
0
votes
0answers
472 views

How to access services running in KVM-guest (virtual network) from remote

Background: I am running an Openshift installation inside a KVM-VM and I can access the VM from the KVM-Host. I need to access Openshift from another machine. KVM is setup via virtual network using ...
0
votes
1answer
162 views

Combine -snapshot and -loadvm snap_id in qemu-system

Is it possible somehow to use -snapshot and -loadvm snap_id together during starting guest by using qemu-system? Currently, if I use these options together, guest can not be started. I need to ...
0
votes
1answer
801 views

Linux bridged network intermittent packet loss (KVM context)

I have a standard bridging setup between the real world and a KVM VM guest. Bridging looks fine: [root@t ~]# brctl show bridge name bridge id STP enabled interfaces br0 8000.40f2e9c6033d ...
1
vote
1answer
2k views

Pause/Suspend guest in KVM without virsh and libvirtd

I have installed KVM without libvirt/virsh and virtualmanager. Packages which installed are kvm qemu-kvm bridge-utils libguestfs-tools How can I pause/suspend VM in this case?
1
vote
1answer
2k views

virt-install - Couldn't find hvm kernel for Red Hat Enterprise Linux tree [duplicate]

I'm trying install virtual machine (KVM) with Cisco ISE 2.1 on Debian 9 via CLI. Here is my script virt-install --arch=x86_64 --name=ise21 --disk path=/var/lib/libvirt/images/ise/ise21.qcow2 --ram=...
0
votes
1answer
93 views

KVM Bridge Interface has large number of errors

I am currently running three KVM hosts which host a range of Linux and Windows virtual machines. The guests are configured to use br0 as a bridge for networking. Underlying br0 are two NICs set up ...
3
votes
1answer
1k views

qemu-system-x86 consumes about 25% cpu on host while guest is in idle state

I run two kvm guests on my host, with the same config. One of them is a ubuntu 17.10, the other is a debian 9.2. Both are running on linux kernel 4.13 (debian is installed from the backports repo) On ...
1
vote
1answer
449 views

in firewalld port 80 is closed but nmap shows the port is open, and I can connect to it

my linux environment is fedora 27, httpd is running, and firewall-cmd --list-all shows FedoraWorkstation (active) target: default icmp-block-inversion: no interfaces: wlp3s0 sources: ...
1
vote
1answer
708 views

QEMU/KVM Can't boot my VM after a save/restore

I had to reboot the host server but I did not want to stop one of my running VMs there. So what I did: virsh save VM to save the vm state and restore it later with: virsh restore VM. Every thing ...
2
votes
1answer
1k views

KVM bridge; guest unable to reach gateway

I have a server. It's configured with a public IP, and I have /29 subnet assigned via a network bridge. KVM is installed and works as intended. I can create and boot a VM, but when it comes to ...
0
votes
0answers
340 views

QEMU USB Passthrough Error: libusb_set_configuration: -99 [OTHER]

I'm trying to pass through a Spectrum Digital TMS320C6713 DSK to a Windows 2000 virtual machine, and when I connect it it appears in device manager, but whenever I try to actually use the device, it ...
1
vote
0answers
241 views

Convert qemu syntax to virt-install or virsh xml

I have parameters for qemu-system-x86_64, which attach unix socket as interface into VM: qemu-system-x86_64 -chardev socket,id=char1,path=/tmp/sock0,server \ -netdev type=vhost-user,id=...
2
votes
1answer
921 views

KVM snapshotting. How to see what's inside the qcow2 file?

I use qcow2 file format and create snapshots using a Virt-manager GUI. I assume I have 100GB disk space and 70% is used by VM at this moment. The qcow2-file size is about 70GB. I create a snapshot. ...
3
votes
3answers
4k views

Installing Pfsense in KVM

I am trying to install PFsense in KVM and it keeps failing for not finding an installable distribution. What does the following error mean? Fetching volume XML failed: Storage volume not found: no ...
1
vote
0answers
769 views

USB passthrough not working using virt-manager/qemu

I have created a virtual machine using virt-manager 1.3.2 and wanted to add a USB device. However, the USB device does not show up in the guest (Debian) when using lsusb. In another virtual machine ...
0
votes
1answer
2k views

KVM guest qcow2 larger than disk size

I have a Windows 10 VM running on a server that I need to move to another server. The trouble is that the qcow2 file size is too large for the target server. What's odd about this is that the ...
0
votes
1answer
521 views

No progress durign VM installation using a kickstarter file for Centos 7

I am using a kick starter file to install a Centos 7 VM and the progress has nearly stalled without displaying any messages in the terminal. My kickstarter file is placed in /tmp/ks.cfg having the ...
0
votes
1answer
114 views

fault tolerant migration from KVM to EC2

I am working on a project in my university, and it's considering the feasibility of create a hybrid infrastructure between the on-premise data center (it's a very small server room with 2 racks almost ...
1
vote
1answer
71 views

Can't get hostnames to appear on LAN for CentOS 6.8 running on KVM

I'm running a CentOS 7.4/KVM with an instance of CentOS 6.8 for legacy purposes. I have DHCP for everything on the LAN, all devices, workstations and servers. Using a Verizon FIOS Actiontec router ...
0
votes
1answer
157 views

KVM with public static IP requires network restart every time

I set up the kvm vm with public static IP and everything works fine, but only after network restart on host. I mean, every time after host turned on, i must run "service network restart" and only ...
0
votes
1answer
247 views

Need help configuring a network bridge between a physical host and virtual machine where the virtual machine is running the primary firewall

I have read countless articles on how to configure a network bridge and they all seem ambiguous or incomplete or just plain erroneous (configure my WAN port with 192.168.x.x to obtain Internet ...
0
votes
1answer
198 views

ubuntu iptables libvirt port forwarding

I have been beating my head against the wall for the past few days trying to figure out how to allow incoming connections to a vm machine on ports 443 and 8443. Here is some information on the system....
1
vote
1answer
2k views

Configuration of network bridge for KVM on CentOS 7.4

I'm new to KVM on CentOS 7.4, but I have experience with using VirtualBox on the Mac OS. There I was able to select in the options to have a bridged network instead of a NAT, and it worked. The ...
2
votes
0answers
209 views

Frequent page allocation failures on a KVM

Lately my server has been going down quite often. It happens almost every day early in the morning. Looking at the syslog, I found a lot of these: Oct 11 06:51:12 pleskvm kernel: [1895007.359087] ...
0
votes
1answer
119 views

Troubleshoot libvirt-managed qemu x86-64 UEFI guest

I have a libvirt/qemu/x64 UEFI guest running Windows 10. The problem is that it starts successfully every other time. When I issue a guest start commmand (any libvirt method) 1st time, the guest ...
0
votes
1answer
748 views

Multiple networks with firewalld and libvirt/KVM

In the past i had a hypervisor set up with libvirt/KVM and IPtables in order to have VMs reachable through NAT on IPv4 (forwarding and masquerading don in iptables) and directly on IPv6 (routed ...
2
votes
0answers
268 views

How to provision DRBD to libvirt storage pool?

I want to expose DRBD replicated storage (2 nodes Active/Passive) to libvirt as a storage pool for qcow2 files. However, I have the following error message: virsh pool-create-as qcow2 --type=logical -...
0
votes
1answer
6k views

KVM: Which CPU for VM ('host' vs 'kvm64') to use for web load?

Being play with Proxmox 5.0 as a hypervisor platform and set up KVM VM to serve website, I really wonder if I should use kvm64 "virtual" CPU or try to use host. To be specific, I have an 4-core CPU ...