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
1
vote
1answer
1k 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
2answers
251 views

Tagged VLAN on KVM with macvtap driver

I've setup a pfsense guest on KVM and and trying to pass tagged and untagged traffics to the VM for obvious reasons. My setup looks like this --> The KVM has 2 NICs(both virtio type): 1st(for ...
0
votes
1answer
1k views

SCSI virtual disks not showing up on RHEL 7.X KVM guests

For whatever reason I can't get my virtual disks to show up on any of my RHEL 7.X guests (libvirt + KVM). The XML is configured just like my other guests so I know it isn't an issue on that end. It ...
0
votes
1answer
10 views

KVM trying to restore from backup and getting error unexpected data

Hello I made a backup of a VM guest with these steps: 1. virsh dumpxml --migratable test > /backup/test.xml 2. virsh snapshot-create-as --domain test \ --name backup....
19
votes
5answers
18k views

How to keep time on resumed KVM guest with libvirt?

On my host I am using libvirt and a KVM guest. When the host is shutting down, libvirt suspends the guest. When the host is starting up, libvirt resumes the guest. The problem is, if the guest is ...
34
votes
9answers
116k views

Is there a way to run virt-manager on Windows?

We've been using KVM for almost a year strictly on CentOS 5.x as the KVM host, with Fedora and Ubuntu workstations accessing the KVM host and its guests using virt-manager, virt-viewer, and ssh. Is ...
1
vote
0answers
14 views

Not able to access the console when I install a guest VM on a KVM

I am trying to write a script for installing a guest VM on a KVM using virt-install. I have a knoppix live cd based iso. The underlying OS is Debian 6.0.2. I am using this command to install the guest ...
162
votes
3answers
145k views

Difference between KVM and QEMU

I have been reading about KVM and Qemu for sometime. As of now I have a clear understanding of what they do. KVM supports hardware virtualization to provide near native performance to the Guest ...
0
votes
0answers
54 views

libvirt Windows 10 VM issue

I am running Manjaro KDE and I have managed to setup a Windows 10 VM with GPU passthrough for Windows things and it was working great until I noticed a weird behavior. When I try to reboot the VM, or ...
2
votes
3answers
5k views

Can I give a virtual machine a unique ID which is accessible from inside the VM?

I want to be able uniquely identify my virtual machines from inside the virtual machine. The problem is that in my setup I cannot use the MAC address for that. Is it possible to configure another ...
6
votes
5answers
13k views

How to detect hypervisor host name/IP from inside a KVM virtual machine?

We have a small fleet of KVM/libvirt hosts with a few hundred virtual machines on it, managed by a group of sysadmins in disparate locations. I've run into a problem where I am connected to a virtual ...
0
votes
1answer
15 views

Partition of mdadm raid0 array passed through to win10 20H2 via virto driver is suddenly lost. How can I figure out why?

I have checked the logs. System has been working for a month then suddenly they could not see the drive on network. It is a linux file server with a virtual windows on top of it ... Virtual windows ...
2
votes
1answer
1k views

Inter-Guest Network in KVM without a Bridge

I would like to have a psuedo-wire between two guests in KVM. I cannot use a bridge of any type as the guest VMs are actually virtual switches themselves. Conceptually, it seems that a veth-pair is ...
0
votes
0answers
15 views

Getting error “libosinfo: Unexpected file type (0)” when trying to create or open VM in virt-manager

I get the following error when clicking “Open” or “Create a new virtual machine” in virt-manager: Error launching details: libosinfo: Unexpected file type (0) Traceback (most recent call last): ...
5
votes
3answers
26k views

Linux KVM on a Virtualbox

Can we install a KVM machine on a virtualbox machine??? Virtual Machine on a Virtual Machine I get the following error when I issue: $ virt-install –-name kvm_client1 –-ram 256 –-disk path=/var/lib/...
1
vote
1answer
1k views

Using KVM with macvtap and VLANs for VM

I want to use the optimizations given for the ASAv (Page 18) which should run with KVM. I am using Ubuntu 14.04 LTS and I should configure macvtap for an higher performance. It just says the ...
16
votes
3answers
6k views

KVM guest cannot write to 9p share owned by non-root

I am aiming to set up full write access to a 9p share for a KVM guest. Both host and guest have the same users/groups with the same IDs. Both host and guest should be able to write to the share using ...
0
votes
2answers
66 views

KVM hosts to be accessible from outside world for server purpose In centos 7

Today i just ran into a problem i just wanted to ask a question to all of you I have just install kvm in my system and i have some how managed to get a node installed and working in the system Now ...
0
votes
0answers
17 views

Live backup for vm guest with qcow2 format

I have created VM guest "my_container" with format qcow2. So when I run command virsh domblklist my_container I am getting this information: [root@mainmachine ~]# virsh domblklist ...
0
votes
0answers
42 views

Debian Stuck at Booting from Hard Disk after installation on KVM

I'm trying to install Debian on Qemu-KVM on RouterOS v5.25 I tried : debian-10.8.0-i386-netinst.iso debian-8.11.0-i386-kde-CD-1.iso debian-live-9.0.0-i386-gnome.iso on disk image created using : qemu-...
0
votes
0answers
53 views

Ubuntu Installation on Qemu/KVM Black Screen

I'm trying to install Ubuntu or higher on KVM. I have tried installing 14.04.6 LTS / 16.04.7 LTS and 18.04.5 LTS First i create Qemu Disk Image : qemu-img.exe create -f raw hdd.img 5G and when i boot ...
0
votes
0answers
33 views

How do I create a Private Network Bridge between two KVMs through virt-manager?

I have a server hosting a firewall as a KVM with two Ethernet devices assigned as passthrough. The firewall is OPNsense. On the same server I want to run another server as a KVM and pass all the ...
1
vote
0answers
22 views

Correct SELinux labels for a kvm/qemu user session VM shared folder

I am trying to set up a shared folder using the 9p protocol for a kvm/qemu VM that runs on the user session (so the qemu process runs as me, not as root). Mounting the shared folder in guest works ...
0
votes
2answers
4k views

KVM - Access from an external computer to the Virtual Machine

I have the following setup: Notebook (IP: 192.168.1.100) Host: (IP:192.168.1.129) Both Notebook and Host are connected to a router (Internet IP:192.168.1.1)¨ The host (Host) has two virtual machine ...
3
votes
5answers
17k views

centos7: boot error dracut-initqueue after converting virtual disk

I installed centos7 on Ubuntu 16.04 KVM with qcow2 disk format. To deploy my centos maschine I need it in vhdx disk format to support Microsoft's Hyper-V. I used qemu-image to convert it from qcow2 ...
0
votes
0answers
25 views

Why set primary interface to `manual` (off) when adding a bridge network?

I am playing around with KVM and bridge network on a Debian 10 Host Many tutorials tell to set the /etc/network/interfaces to something like this: # The primary network interface auto eth0 iface eth0 ...
1
vote
0answers
23 views

error: internal error: Child process /sbin/parted - unexpected exit status 1: Error: You requested a partition from

# fdisk -l /dev/sdb Disk /dev/sdb: 447.1 GiB, 480103981056 bytes, 937703088 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/...
0
votes
0answers
36 views

SSH to VM that is connected to VPN through HOST public ip (NAT)

I am facing a similar problem discussed here, but my configuration is a bit different. I have a VPS [host] - with a public ip - running a vm [guest] that connects to a VPN server (out of my control) ...
1
vote
0answers
43 views

Hyper-V 2016 vs KVM Performance

We have 2 VM clusters here with identical hardware, all fully patched to latest levels. We have been testing running some linux workloads on the 2016 cluster and found a big difference in performance. ...
1
vote
1answer
104 views

Can you start a getty on /dev/pts/x ? Want a serial connection between my Linux KVM server host and Windows Guest

Here's what I have going on: I have a Debian server running several services in Docker and a couple in KVM. One of the KVM hosts is a Windows 10 VM that I actually use as a desktop by using PCI ...
2
votes
1answer
63 views

Reducing idle CPU usage of Windows Server 2019 Datacenter Core VM

I'm moving a few installations to Windows Server Datacenter Core 2019 running in KVM VMs on Linux hosts. My first Windows VM has, when it's idle, a bit more than 32000 VM exits per second, half of ...
0
votes
1answer
60 views

Migrate VM Proxmox to Vmware

I have a VM on proxmox with a vmdk harddrive on a IDE controller (it's a Windows Server 2019 VM) I want to import the HD into a VM on Vsphere (ESXi 7). I just copy the vmdk into the VM folder of the ...
0
votes
1answer
18 views

Attach a host network interface to a VM and ping other hosts

I have an Ubuntu 18.04 host with a pr0 interface, that is connected, via a hardware bridge, to other hosts in the network. I have created a virtual machine (at my host), using KVM (virsh) and I want ...
0
votes
0answers
16 views

Old KVM Guest not starting after reboot

I have a bunch of Virtual Machines in a Ubuntu 18 Guest machine. Until recently they have all been working without any problem. However after I restartet one of the Guests(also Ubuntu) it is now not ...
-1
votes
1answer
55 views

Is it possible to run a VM without actually enabling virtualization settings in BIOS?

I am trying to launch a VM with QEMU KVM on a Linux system but I am unable to actually make it work. It just doesn't start. But I figured out that I need to enable virtualization from BIOS settings to ...
0
votes
0answers
13 views

TCP Connections dropping on KVM guests

I am having an issue with my KVM guest dropping connections on my bungeecord Minecraft server, and I have no idea where the issue is coming from. All Minecraft servers are on the same guest VM and are ...
0
votes
0answers
12 views

KVM - Restore metadata of VMs

Is there a way to restore VMs metadata which were located on KVM that was rebuilt? We tried to upgrade one of our KVMs today, and during this process we encountered some issues which led us to rebuild ...
-1
votes
1answer
118 views

boot from cdrom !! kvm -machine pc-i440fx-2.1 [closed]

I am trying to follow the instructions in the following article https://docs.j7k6.org/vmware-esxi-hetzner-install-kvm-linux/ I start the VM by the following command kvm -machine pc-i440fx-2.1 \ -cpu ...
0
votes
1answer
2k views

Tap interface within a virtual machine has NO-CARRIER

I am trying to hook up a virtual machine to a host using openvpn. When i create a tap interface within the virtual machine using: /usr/sbin/openvpn --mktun --dev tap1 The state of the tap interface ...
0
votes
1answer
131 views

VLAN support with libvirt for linux bridge to virtual machines

I'm using systemd-networkd to configure network interfaces managed by libvirt for KVM (Kernel-based Virtual Machine) with Debian Bullseye on all nodes. I want to have transparent VLAN support on the ...
1
vote
1answer
41 views

KVM Live Migration- VM is already active

I'm trying to perform a live migration from one KVM host to another, both SLES12SP5, share the same subnet. 'kvm_one' hosts the server 'login01'. 'kvm_two' hosts no servers. Executing the following ...
0
votes
1answer
59 views

Arch Linux - QEMU override System Manufacturer on Windows 10

I've fully virtualized a VM with windows 10 on QEMU and had to do host-passthrough in order for it to work. Because there's no way to set SMBIOS to reflect the host, I want to know if there's any way ...
2
votes
1answer
1k views

QEMU Ubuntu Server 20.04 Initramfs write error

I created a QEMU virtual machine intending to install Ubuntu Server 20.04. The host is a Proxmox 6.x Debian system. The virtual machine parameters are: 2 CPU cores, 1 socket 512 MB ram, ballooning ...
0
votes
0answers
43 views

Virtual storage drive will not mount on virtual machine, read only error

I am running a Ubuntu 18.04 server with kimchi/wok. I use it to run an influx database. Yesterday I noticed my database was not recording data. I tried rebooting my virtual server which uses a ...
2
votes
2answers
384 views

L0 KVM and Win10 L1 nested virtualization not working (Windows boot loop)

I'm having a hard time getting nested virtualization inside my Win10 Pro guest running on KVM host working. Enabling Windows Hypervisor hypervisorlaunchtype auto results in a boot loop/boot to ...
0
votes
1answer
74 views

QEMU / KVM - Dedicated 802.1q VLAN for each VM - Communication only via router

I have a Linux firewall router (dedicated machine) with multiple ethN interfaces (my "big firewall"). All forwarded traffic is filtered by a set of iptables rules (default policy DROP). ...
1
vote
1answer
36 views

KVM quests “stuttering”/“freezing” intermittently on Debian 10

I'm using KVM on Debian 10 as host and for now two guests that are Debian 10 as well. The guests are "stuttering" frequently, what I mean by that is that like at least several times an hour ...
0
votes
1answer
24 views

KVM Virtualization Server - One physical disk(SSD) every virtual machine

In terms of performance, is it better to have one "big" SSD disk for several (lets say 5) virtualized guests, or a single smaller SSD disk for every virtual machine? any general draw back ...
1
vote
1answer
52 views

Raw LVM disk write is four times faster on host than inside KVM guest?

I've got a Debian 10.6 Host, with a Debian 10.6 guest. KVM/Qemu/libvirt. The host has a software RAID 10 array with 6 mechanical disks. LVM is on top of the RAID array. One LV is passed into the guest ...
112
votes
13answers
246k views

How do you increase a KVM guest's disk space?

I setup an Ubuntu guest on a CentOS KVM host with initially 6GB of disk space. How do I go about increasing the Ubuntu guest's disk space from the command line? EDIT #1: I'm using a disk image file (...

1
2 3 4 5
44