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.

Filter by
Sorted by
Tagged with
-3
votes
0answers
14 views

Im not being able to set bridged connection in QEMU KVM arch [closed]

What I tried, Everything. Sorry but everything that's in Arch wiki. 12 hours with no results.
0
votes
0answers
20 views

KVM disk size stuck at 993M despite using --disk size=10

I create a vm using sudo virt-install \ --name ueransim \ --ram=2048 \ --vcpus=2 \ --disk size=10 \ --location /home/username/ubuntu-20.04.3-desktop-amd64.iso \ --graphics vnc,listen=0.0.0.0 \ --...
0
votes
0answers
12 views

How to connect QEMU directly to the outside network using command line?

My host has 1 Ethernet controller with the IP address 192.168.1.2/24, and I want the virtual machine to be on the same subnet with the address 192.168.1.3/24. Basically it is making a bridge interface ...
0
votes
0answers
8 views

Is Intel Software Guard Extensions the same as a Trusted Execution Enviroment?

I'm trying to follow this ServerFault solution, but the information used is 13 years old. My Dell XPS 15 9500 has an Intel i7-10750H has support for virtualization and it's enabled. My UEFI parameters ...
1
vote
1answer
59 views

Is it possible to pipe qemu-img into SSH target?

I tried the following command, but only an empty file is created on the target and the command stays open qemu-img convert -f raw -O vmdk /dev/sda1 - | ssh foo@bar "cat > /home/foo/foobar.vmdk&...
0
votes
0answers
13 views

Openstack ( using libvirt image type as LVM )- Very low IOPS

As part of the base line testing, able to see qcow is providing much higher iops compare to the LVM. Ideally it should be the reverse ( as per my knowledge gathering ) Kindly please advise me on how ...
1
vote
1answer
22 views

Why do you need serial port connection between QEMU quest and host?

I am new to qemu. I was exploring some commans to setup qemu VM. Can someone please explain why serail ports are required/desired between guest and the host? Also, what does '-serial pty' and -'serial ...
1
vote
1answer
35 views

Ubuntu KVM vm nic connected to the network bridge dns resolution issues

Ubuntu 20.04 server with multiple NICs and KVM server installed on it. Created a bridge with netplan: enp0s31f6: dhcp4: no addresses: [] bridges: netbr0: addresses: [192.168.14.20/24] dhcp4: ...
1
vote
0answers
15 views

Cannot install virt-manager, python dependencies

I have a debian 11 machine, I installed KVM on it, and I would like to also install virt-manager, but I got : The following packages have unmet dependencies: python3-libxml2 : Depends: libpython3.7 (&...
0
votes
1answer
38 views

ESXi on KVM - Can't find network drivers

I'm trying to install a .iso on KVM using virt-install successfully - however from 2 disk images (one Debain, the other ESXi) I am not able to attain network connectivity. Here's some output trying to ...
0
votes
0answers
15 views

How to set vf-token on QEMU?

I'm trying to create VFs on a i350 NIC, which are to be attached to KVM machines. So far I can have vfio-pci enabled on my pf and create VFs under that PF which are on vfio-pci again (since I've ...
0
votes
0answers
24 views

libvirt bridge incoming traffic not forwarded

I have a public ip block 51.x.x.16/28 that I'm trying to use with libvirt/qemu VMs. Inside the VM (ip 51.x.x.18) I'm trying to create an outbound tcp connection (http). Using tcpdump on the host I can ...
0
votes
0answers
57 views

Qemu cloud-init nocloud-net static ip

I'm using ubuntu-cloud images and I'm trying to run cloud-init with nocloud-net -smbios type=1,serial=ds=nocloud-net;s=http://10.10.0.1:8000/ as described at https://cloudinit.readthedocs.io/en/latest/...
1
vote
1answer
17 views

How can the SPICE password of a libvirt+kvm+qemu virtual machine be changed while the machine is running?

I have a virtual machine that is running on a KVM+QEMU stack with libvirt. The VM is using a qxl or virtio display and has a spice graphics listening on a port. I'd like to change the password (in ...
0
votes
1answer
43 views

Bind/Unbind PCI device on the Ubuntu host

I have to NIC devices on the host: # list Ethernet PCI devices to find out names lspci -nn | grep Ethernet # 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI ...
1
vote
0answers
38 views

Strange server behavoir with huge spike in system load while number of context switches are small

We're seeing strange behavior on 3 of our machines. We're having trouble figuring what's going on under the hood. We're seeing: 1- A significant drop in the number of context switches. 2- A very large ...
0
votes
1answer
41 views

Can VMs run on raw HW or do they neeed an OS? [closed]

I have a general question about Virtual Machines. It is not clear to me if I need an operating system at the lower level and then install the VM and on top of that the rest or I can install a VM ...
0
votes
0answers
20 views

Force IPv6 NS source to be global instead of link

In summary, how can I force an interface to use the global IPv6 address as the source for neighbor solicitation messages rather than the link address? Background: Many VPS providers do not allocate a ...
0
votes
0answers
43 views

KVM client not getting IP from bridge

I recently upgraded from ubuntu 18.04 to 20.04 and now I'm unable to get KVM bridges to work. For testing purposes I'm using a bone stock 20.04lts install with only the required KVM, bridge utils etc ...
1
vote
1answer
50 views

Moving w2016 image from ESXi to KVM gives message "No Bootable Device"

I'm trying to move a windows server 2016 image from ESXi to KVM, but I'm receiving the error "No Bootable Devices" when I try to boot it. Here's the output of the command "virt-...
0
votes
0answers
40 views

How can I recover the space in a qcow2 file after deleting snapshots, while retaining remaining snapshots?

I have a virtual machine that started out with 5 snapshots 1,2,3,4,5. I used qemu-img to delete snapshots 1,2,3. Snapshots 4 and 5 are still needed and were not deleted. How can I release the space ...
0
votes
0answers
56 views

KVM Libvirt, access nfs shares from host to client

I'm on a problem and I hope for some help? I have a server with 5 network interfaces. One is running PPPoE from a bridged modem and gets the external IP. I'm using firewalld and dnsmasq to share that ...
1
vote
2answers
129 views

Virsh console for Windows 10 VM (QEMU-KVM)

I'm trying to access a Windows 10 virtual machine from my Linux host by using virsh console. But when I do so, I get the empty console that many others have experienced. virsh console win10 Connected ...
1
vote
0answers
74 views

How to configure a hypervisor such that a KVM/QEMU virtual machine can reach hosts connected to the same trunk bridge?

1 Problem My goal is that all LAN traffic is routed through a virtual machine (VM) acting as a router and firewall. Other VMs on the same hypervisor should also be routed through the firewall VM. See ...
0
votes
0answers
39 views

Loading a KVM guest with static IP using XML file

I have an XML template for the image I am loading on KVM using ansible. For now, the image loads without IP. I would like to know if there is a way to add static IP on the XML template so that my VM ...
1
vote
1answer
32 views

KVM Bridge forward packets only one-way

I have configured linux VM using virsh/libvirt/kvm and having problem with bridge network. Default NAT network from libvirt was working fine, but I need bridge to public interface. I have removed ...
1
vote
0answers
133 views

Passing a raid controller to a KVM vm using PCI passthrough, CPU soft lockup

I have a Debian 10 host server, and an Ubuntu 20.04 guest with KVM. The Ubuntu server is created with virt-install and works as intended after install. I'm trying to use PCI passthrough to pass a raid ...
0
votes
0answers
108 views

Connecting two VMs running in KVM

Short: Get two VM's to talk to each other running on same hypervisor. I have two VMs running under KVM and I am trying to manage them via Cockpit. The hypervisor, and the vm's are running Ubuntu 20.04....
0
votes
0answers
17 views

How to ensure that the changes in domain XML spec in libvirt takes effect?

I followed this host port forward with qemu through libvirt in user-mode networking answer to accomplish a certain task but it was only after a reboot that the ports were actually accessible. I tried ...
0
votes
0answers
36 views

kvm bridges: disable promiscuous mode, is it possible and is it wise?

I am a little confused as to if this is the right question, but I have a number of KVM hosts with multiple bridges on (sometimes)bonded interfaces, and each bridge is mapped to its own distinct VLAN. (...
1
vote
0answers
40 views

How to move live QEMU-KVM VM without libvirt?

Let me start by saying that I read How to (properly) back up a live QEMU/KVM VM? But it does not seem to meet my need. I am looking for a solution to backup AND move a few QEMU-KVM VMs without ...
1
vote
0answers
30 views

Establish KVM bridge with static IP

I would like to establish a virtual machine (KVM) on Ubuntu Server and configure bridge networking in order to connect to the VM via static IP. I want to connect to the VM directly via SSH (bypassing ...
1
vote
1answer
61 views

Can I have my KVM guests on the same subnet as the host?

Using virtual network "default" I get the guests on their own subnet, NAT'ed to the host's subnet. Using a separate bridge, it seems possible to have guests on the same subnet as the host, ...
0
votes
0answers
21 views

Can I achieve this VirtualBox network configuration using libvirt?

I asked a similar question here but I messed up logging in with my SE account and so I can't edit it. Here is what I would specifically like to achieve with libvirt under the "Internal Network&...
1
vote
0answers
29 views

Ubuntu server 2020.4 network bridge for KVM not starting

I'm attempting to configure a bridge to be used for a KVM host on Ubuntu 2020.4 LTS. The basic configuration with netplan works, but the bridge does not work until I manually add the ethernet ...
0
votes
2answers
57 views

Host has no internet access when VMs are running

How do I set up the network, so that both host and VMs can connect to the internet? I've set up a server to host several virtual machines using KVM. It is intended to serve a library of downloadable ...
0
votes
0answers
22 views

Cockpit -- how to add user options to start VM with QEMU/KVM

I used Cockipt (host is the CentOS8) to create a guest VM (CentOS8 also). Now I have a task to configure the VM to use stuff from SPDK's VHOST. According SPDK docs I'm need to add follow lines to QEMU'...
0
votes
1answer
102 views

How would I make a network topology on KVM analogous to the internal network configuration on virtualbox?

The differences in documentation between KVM docs and virtualbox docs make it difficult to find what I'm looking for My goal is to do something like https://resources.infosecinstitute.com/topic/...
0
votes
1answer
38 views

Can't expand oVirt VM disk to new size with neither LVM or resize2fs

I have a oVirt server with a VM, the VM was created with a 20GB disk but that quickly ran out of space so I added another 20GB to it and now I'm trying to expand the disk. I have done this once before ...
0
votes
0answers
11 views

After Moving KVM VM, Unable to Mount NFS Partitions

I am using KVM for VMs with LVM partitions. I ran out of space one of the VM(32G) and I decided to move the VM to another physical server and expand its disk(to 48G). #Physical server with low disk ...
0
votes
0answers
47 views

VLAN QEMU Hypervisor bridge without host ip

I'm using debian 10 with kvm/qemu as hypervisor. You can ignore the bond... I created X VLAN Tagged and created a bridge on that tagged vlan. auto bond0 iface bond0 inet manual slaves eno1 ...
0
votes
1answer
49 views

Migration Fails in Qemu with error `Unknown ramblock "mem1", cannot accept migration`, while it exists on the source

I'm trying to migrate a VM in QEMU, after I hotplug memory to my VM I cannot migrate it and I face with Unknown ramblock "mem1", cannot accept migration‍‍ while this name is ok and it really ...
0
votes
1answer
24 views

SLES 11 PV VM on KVM

I have SUSE 11 SP4 VM, initially it was working on Xen in PV mode. Now I am moving it to KVM. My usual approach is to netboot any Linux in target VM, mount root of target OS, chroot and rebuild ...
0
votes
1answer
47 views

netplan + libvirt - Should I set up virbr0 virtual bridge?

As far as I understand, the interfaces virbr0 and virbr0-nic are created and managed by libvirt. ● 4: virbr0 Link File: /lib/systemd/network/99-default.link Network File: n/a ...
0
votes
1answer
68 views

KVM bridged guest ssh permission denied

I am able to ping my virtual machine and also have a satisfying response from ssh service using telnet, but I get 'permission denied' error whenever I attempt a ssh connection from a remote host. ...
-1
votes
2answers
145 views

KVM nat command line

What is the correct way to setup NAT networking between KVM vm and host? KVM vm: No firewall Installed $ sudo arp-scan -r 5 -t 1000 --interface=eth0 --localnet 10.0.2.2 52:55:0a:00:02:02 ...
2
votes
0answers
469 views

If KVM is working, why does VMX show as disabled?

I have VT-x enabled in the BIOS. I'm running qemu/kvm/Manjaro. lscpu says $ lscpu Architecture: x86_64 Model name: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz Flags: ... vmx ... ...
1
vote
1answer
910 views

Redirecting USB device to a virtual machine with virt-manager does not work

I have a Fedora workstation running an Ubuntu 16.04 virtual machine (KVM hypervisor). I'd like to redirect a USB device to the VM, but when selecting "Virtual Machine | Redirect USB device" ...
0
votes
1answer
28 views

QEMU VM with tap interface sees all packages coming from hypervisor instead of real source IP

I have set up a very simple Hypervisor using Alpine Linux and my VM sees all traffic coming from the IP of the hypervisor. Which also means if fail2ban tries to block attacks, it always blocks the ...
1
vote
0answers
50 views

qemu (KVM) how to set iscsi timeout on?

I have opensuse 15.2 Leap on all systems qemu 4.2.1 # /usr/bin/qemu-system-x86_64 --version QEMU emulator version 4.2.1 (openSUSE Leap 15.2) Copyright (c) 2003-2019 Fabrice Bellard and the QEMU ...

1
2 3 4 5
46