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]

KVM is the Kernel Virtual Machine, a virtualization hypervisor built into the Linux kernel.

0
votes
0answers
21 views

How to set up functional private network bridge on qemu/kvm?

System My host is running Fedora 29, and my internet connection is wifi. Note that I am using X.org, not wayland; the SDL option in qemu doesn't work on wayland, and the curses option has trouble ...
0
votes
1answer
30 views

How Can I Make My KVM guest VM Accessible from the External Network?

I am creating a kvm setup for POC. KVM Host IP range: 172.21.158.0/24 KVM GUEST VM Range: 172.21.183.0/24 default virtual network with NAT forwarding :192.168.100.0/24 below are the guest vm NIC ...
1
vote
0answers
23 views

How to start X server in Debian Wheezy mips running on qemu?

I created a debian mips virtual machine by downloading qcow2 images from here. I then started the virtual machine by qemu-system-mips \ -m 256 \ -M malta \ -kernel vmlinux-3.2.0-4-4kc-malta \ -hda ...
0
votes
2answers
29 views

Can't install windows guest on virt-manager

I can't seem get a windows guest installed on virt-manager. When I start the machine before the install cd loads I get a blue screen with code SYSTEM THREAD EXCEPTION NOT HANDLED. Here's the logfile ...
1
vote
0answers
11 views

CentOS 7 KVM host with two bridges

I currently have a CentOS 7 host with a single NIC and would like to be able to use this NIC for two different types of bridges. The host (CentOS) machine currently is currently pulling DHCP from my ...
5
votes
1answer
106 views

RHCE Study Lab: KVM networking and ping issues

I'm trying to setup an RHCE study lab per Michael Jang's RHCSA/RHCE setup guide. I've followed the guide in the book to the dot, though in my opinion a lot of information is missing (step by step ...
0
votes
2answers
38 views

Can't start VM with PXE “write error: no space left on device” and end up in dracut environment

I'm setting up a PXE server to automate deployment of KVM guests. KVM hypervisor host: Fedora 29 KVM guests: Centos 7 During the installation I face a problem /sbin/dmsquash-live-root: write error: ...
0
votes
1answer
8 views

whonix qemu/kvm maximum memory usage

I am using the newest Whonix on qemu/kvm. Why is the memory usage always at Maximum for W-Gateway (max 2024 MiB) and W-Workstation (4048 MiB)? I have other VMs (debian) installed as well, and it is ...
1
vote
0answers
20 views

virt-sysprep - Is it possible to use with LVM & LUKS?

I am trying to make a template VM using virt-sysprep. The host is CentOS 7, and the guests are CentOS 7 in LVM partitions (not RAW or qcow image files). The guest I'm working with has LUKS full disk ...
0
votes
0answers
37 views

qemu-system-x86 --enable-kvm Windows 2k12 R2 stuck at windows logo

I am having an issue with kvm-qemu. Host: Ubuntu Guest OS is win2k12 R2. When the VM is booted, some times it get stuck at windows log or it pass the windows log & get stuck at a black screen. I ...
0
votes
1answer
50 views

Boot failure with virtualized Windows 7

Ingredients: Running system w/ LinuxMint (main system) and other OS's among which is an old Windows 7 image. System boots via GRUB2 into Ubuntu, Windows with no issues. Here is the system's partion ...
2
votes
1answer
31 views

Finding performance bottlenecks on Red Hat server hosting KVMs with QEMU?

As a side task I administer a RHEL 7 server used as an internal KVM host. Now it runs eight VMs which, but for one, are idle most of their time, or at least not doing anything at all resource ...
0
votes
2answers
38 views

virsh preboot script

I am running a virtual machine that requires vfio access to a PCI card. Using this script I am able to successfully bind the PCI device and its iommu group to vfio-pci, which then lets me boot up the ...
1
vote
0answers
43 views

Qemu/KVM with hardware OpenGL rendering

I've seen that support for hardware accelerated rendering is getting mature in Qemu now but I'm confused about the best way to set it up, or if it's worth it compared to VMWare's 3D support. For ...
0
votes
0answers
21 views

I can boot directly from guest kvm?

I install linux as guest on kvm, there is way to boot from that linux when i open my computer? like live usb.
0
votes
0answers
11 views

Booting Android-x86 thru KVM while on a Pendrive-installed Debian 9

short version: Tried running KVM on a pendrive-installed Debian 9. All attempts result in the virtual machine running slowly if at all. long version: I'm currently running a pendrive-installed ...
-1
votes
1answer
61 views

KVM-QEMU virtualization platform issue with creating guests of red-hat based distributions

I do use virtualization a lot , and of course my favorite tool is kvkm-qemu. However I am extremely frustrated with it lately, all my attempts to create a redhat based virtual machine with centos,...
0
votes
0answers
11 views

Create libvirt vm with a default network bridge

I'm currently trying to use a generic xml file to create virtual machines. My problem is that I cannot tell which adapter is present in the host system but I need a network bridge using the "default" ...
1
vote
0answers
33 views

Enable nested KVMs

I have a Ubuntu 16.04 VPS right now. The hostisng provider uses KVM for virtualization of their VPS'. I am trying to install another KVM virtual machine on my VPS (aka nested KVMs). I've read this ...
0
votes
1answer
63 views

Is there something which a container can't be used for while a Linux virtual machine can?

When would you choose to use a Linux virtual machine instead of a docker container? Is there something which a docker container can't be used for while a Linux virtual machine can? Is it correct ...
0
votes
0answers
21 views

Is there a security issue running libvirt-qemu as root to set rights on mounted host folder?

I'm trying to set up a server with 2 vms, which should be in productive mode later. I want to access some folders on the host, like log files and the webserver data folder, but the data on the host is ...
0
votes
0answers
44 views

USB devices connections lost after KVM use

On a Ubuntu 18.10 host device with a gpu-passthrough kvm-qemu windows 10 client connection to a Delock PCIe 2x USB-A 3.1 gen2, I use an ATEN US224 Usb2.0 switch to redirect my keyboard and mouse ...
1
vote
1answer
23 views

Virt-viewer fullscreen with 2 monitors in dwm or i3

Is there a way to start virt-viewer -f domain in DWM or i3 so it automatically fills all (2 of) my monitors as it does in gnome? When I try now virt-viewer open both screens on 1 monitor on top of ...
0
votes
0answers
36 views

Shrinking a qcow2 image when it contains an APFS filesystem

I'm not having much luck re-shrinking a qcow2 image; it contains an APFS filesystem and I suspect this is the issue. Has anyone successfully done this? I did zero out the free-space as usual and have ...
-7
votes
1answer
70 views

Does Docker work with VirtualBox but not with KVM/QEMU?

Docker can creat virtual machines to be used as nodes in swarms. The machine drivers contains VirualBox but no KVM/QEMU. Does it mean that virtual machines created by KVM/QEMU can't be used as ...
-1
votes
1answer
85 views

Is KVM a hypervisor?

https://en.wikipedia.org/wiki/Hypervisor#Classification says QEMU is type 2 hypervisor, and KVM can be both type 1 and 2 hypervisor: The distinction between these two types is not always clear. ...
1
vote
1answer
43 views

How can I not give a virtual graphics card at all to your VM and have the console on serial?

Stéphane Chazelas wrote that Can I start Debian on a text virtual console in a virtual machine? You could also not give a virtual graphics card at all to your VM and have the console on serial. ...
1
vote
0answers
31 views

How can I use multiple mounted folders in KVM?

I have a KVM-guest, where 5 folders should be also accessible on the host machine under a single folder. How can I do that with a single mount point? The folders on the vm are: /var/log/apache2 /var/...
0
votes
0answers
18 views

How does task switching work between root/non root mode and host OS threads with KVM

KVM with QEMU spawns 1 process per VM and one thread per core. The KVM code uses VMON, VMENTER etc but when Linux task switches these threads with threads of the host OS, how does that work? How does ...
-2
votes
2answers
80 views

Can I start Debian on a text virtual console in a virtual machine? [duplicate]

I have created a Debian virtual machine in virt-manager/KVM/QEMU. When I run the Debian virtual machine, I don't really need the desktop environment, which is also resource consuming. Can I start ...
0
votes
1answer
54 views

Centos7 Host, KVM pfSense domain, and Docker in a box

I am trying to get routing straight on my server. From the pfSense domain, I can ping IPs in the management and DMZ networks. From the virtual host, I can ping the same IPs pfSense is the gateway for ...
2
votes
1answer
103 views

Which network interface or IP address in the guest OS corresponds to which in the host OS?

I heard that a guest OS and a host OS in KVM can communicate via having network interfaces or IP addresses in the same private network. I also heard that You can see its IP addresses and network ...
3
votes
1answer
77 views

What are equivalences to QEMU/KVM in VirtualBox?

Are QEMU and KVM both kernel modules? In VirtualBox, what are the equivalences to these kernel modules? Thanks.
1
vote
0answers
76 views

disks are SSD, but /sys/block/vdb/queue/rotational says it's rotational - should i worry?

Is it a problem when the system believes a device to be rotational, but it is SSD really? The system is: Ubuntu 18.04 KVM virtualized I have /dev/vda as "local", /dev/vdb as "isilon"; I'm interested ...
3
votes
1answer
66 views

Running an X11 application on a KVM guest so it displays on the host system

Is there an easy way of running an X11 application on a KVM guest system the way that it is displayed on the host system? I know I can ssh to a guest with X11 forwarding, but I am wondering if there ...
1
vote
2answers
35 views

Change CPU count on live Linux VM

Is it possible to change the number of VCPUs on a KVM virtual machine on Linux without stopping it first? The Linux kernel has calls for addition and removal of CPUs (CPU hotplug in the Kernel) for ...
0
votes
1answer
76 views

Cursor jumps to left corner (windows 10 vm - kvm)

So I have a Windows 10 VM running on Arch Linux and it is working fine with 1 Display. When I add the second video tag with virsh edit VM-name, and get the two displays, the mouse starts moving around ...
0
votes
0answers
33 views

How do I make public on the physical network a local virtual bridge

I'm using Ubuntu (Bionic, 18.04) both on remote servers and on my laptop. In wide scope, I am trying to provide direct network access to VM, currently it works via NAT (with port forwarding). libvirt ...
0
votes
0answers
24 views

Unable to uncapture the mouse pointer in QEMU KVM on CentOS 7

I am unable to see the mouse pointer on the console while on KVM Virtualization. I have tried the Ctrl-L+Alt-L but that does not work.
0
votes
1answer
18 views

Multiple Remote KVM Computers

I want to ask if it is possible to have multiple (3-6) Windows Virtual machines on a Unix Server system. The Windows VMs should communicate with each other over the network and every VM should be ...
-1
votes
1answer
33 views

How shall I change boot sequenct of a virtual machine in KVM?

I have installed Windows 8.1 on a virtual machine in KVM. Now I want to install Windows 10 with the same product key of Windows 8.1, so I try to install Windows 10 on the same virtual machine, ...
0
votes
1answer
43 views

Network Bridge for VM not working after reboot

I have a CentOS 7 host with a network bridge set up for guest VM's to use. All was well until a recent reboot. After the reboot, the guest VM does not have internet access, nor can it ping other local ...
0
votes
1answer
18 views

KVM: how do I add host route when VM starts?

Is there a way to automatically add a host route (pointing to the VM IP) when VM starts ? ATM I'm doing this by hand. I've also tried to add a route via /etc/sysconfig/network-scripts/route-virbr0 ...
1
vote
1answer
50 views

Virtualized firewall on KVM

I have few vms (homelab) virtualized with KVM (CentOS7) and connected to my home network. Lately I tried to isolate them by putting them in separate network and I wanted to do so with virtualized ...
0
votes
0answers
12 views

Diskimage (qcow2) size on NFS in the context of virtualization

We are running a KVM virtualization platform with NFS as storage backend. The disk images are qcow2 files (This is "as-is" and we cannot change the setup). Now we need to move a rather large VM with ...
1
vote
1answer
53 views

CPU usage increases on all guests if 1 guest has high usage (QEMU-KVM) [closed]

The point is that if I utilize the CPU on 1 guest, all the other guests see increase in CPU usage. I'm testing with stress-ng, but it's visible with normal workload as well. I really don't know if ...
2
votes
0answers
16 views

Why is the wrong number of vCPUs assigned to the VM unless the topology is declared?

I'm running kvm on a MPU system with two Xeon E5-2680v2 @ 2.8GHz CPUs. All my VMs are Windows boxes, predominantly version 10. libvirtd is in version 5 though I experienced the described issues also ...
0
votes
1answer
256 views

Why is a machine of type i440fx created when I specify q35 and how do I get q35 to work?

I need to create a Windows VM with a Q35 machine type. However, in spite of specifying q35, and i440fx machine is created. created with: sudo virt-install \ --name wintest \ --boot uefi \ --ram ...
0
votes
0answers
71 views

Run Qemu VM as a User (non root) / DMA mapping failed

When i trying to run my windows VM as non-root i get this message sudo ./win10vmuser.sh (qemu) qemu-system-x86_64: VFIO_MAP_DMA: -12 qemu-system-x86_64: vfio_dma_map(0x555dd67af690, 0x90000000, ...
0
votes
1answer
59 views

Can I run a .vdi file for Windows 8.1. virtual machine in KVM/QEMU or VMM?

Can I run a .vdi file for Windows 8.1. virtual machine in KVM/QEMU or VMM? Do I need to convert the file from .vdi to some format familiar to KVM/QEMU? What are the steps, if possible? I have ...