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
9 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. I need help in resolving this problem.
0
votes
1answer
16 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
0answers
14 views

Reinstalling Windows guest in KVM in Lubuntu host can't find some media drivers

In Lubuntu 18.04, 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 ...
-1
votes
1answer
22 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
29 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
12 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
45 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 ...
-1
votes
0answers
25 views

mmc image does not get initialized with QEMU arm emulator

I'm trying to emulate below i.MX6Q device using QEMU emulator version 3.1.0 on host machines with #41-Ubuntu 4.15.0-38-generic SMP. CPU: Freescale i.MX6Q rev1.2 at 792 MHz Board: Mx6Q 4G Boot ...
0
votes
0answers
7 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
39 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
13 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
32 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
32 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, ...
-1
votes
0answers
22 views

Can't connect audio cd to virtual machines

I have a Windows VM under KVM-QEMU-Virt-manager, and I have been unable to get a CD to show under Windows $ sudo virsh attach-disk myWINVM /dev/sr0 hdc --type cdrom error: Failed to attach disk error:...
0
votes
0answers
31 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 ...
-1
votes
1answer
15 views

What are the processes started for running a virtual machine under Virtual Machine Manager?

I am trying to figure out what processes are run when I start a KVM virtual machine under Virtual Machine Manager. Are these all the processes started for that purpose? What do they do respectively? $...
0
votes
0answers
16 views

kvm access to my home directory from guest (win 10)

I installed windows 10 on kvm , my host is opensuse I want to access my home directory but I cant. I used its manual to share my home directory. I do many things but unfortunatly nothing happened i ...
-1
votes
1answer
45 views

What is the relation between Virtual Machine Manager and KVM/QEMU?

What is the relation between Virtual Machine Manager and KVM/QEMU? The Wikipedia links says In computing, the Red Hat Virtual Machine Manager, also known as virt-manager, is a desktop virtual ...
-1
votes
0answers
16 views

Major root file system crashes after messing with virt-manager/virsh edit

I have had two recent incidents of major root filesystem corruption after modifying or attempting to modify virtual machine domain XML file. In the first case, I don't remember if I actually succeeded ...
0
votes
0answers
24 views

Black screen while emulating buildroot built kernel on QEMU

Till this date I was only able to emulate the RPI kernel but I want to emulate BeagleBone Black & i.MX based firmwares that I've built using buildroot. I'm passing the following command:-- qemu-...
0
votes
2answers
71 views

Run VM GUI on headless machine with kvm

Priorities: Security has high priority in all aspects. Scalability, ease of use and price are close seconds and performance also have a say. What I am trying to do: I am trying to run a minimal (...
2
votes
1answer
37 views

Unable to shutdown Ubuntu 18.04 guest using virsh-shutdown

I am running Ubuntu 18.04 (desktop) in a VM using Debian 9 and KVM as the hypervisor but running virsh shutdown BS-MS01 I get a message saying the domain is shutting down but the VM is actually still ...
1
vote
1answer
31 views

Command Line equivalent to virt-manager GUI VM creation

I have been using virt-manager to create KVM VMs on my Ubuntu 18.04.1 host. I would like to now create the same VMs from the command line. I customize the VMs before beginning installation - ie ...
2
votes
0answers
178 views

QEMU/KVM Windows 10 Guest won't copy/paste text or files back to host

I am running Debian 9 (Stretch) with QEMU/KVM hosting a Windows 10 - 1809 guest. Using Spice for graphics. I installed SPICE Guest Tools 0.141 and am able to copy/paste files and text from my Debian ...
1
vote
1answer
71 views

16:9 aspect ratio on Windows KVM guest (specifically 1366x768)

I have a debian machine which I installed proxmox onto. I have been having trouble getting one of my guest machines (specifically a windows guest) to achieve a resolution of 1366x768. The solution in ...
2
votes
3answers
48 views

KVM guest OS from partition

I have a dual-boot configuration with Linux and Windows. Now, I would like to keep dual-boot setup and also be able to run Windows inside of KVM on Linux. The following configuration works fine. I ...
0
votes
1answer
30 views

Passthrough Sonnet USB-C card to Windows guest via KVM and vfio

I am trying to passthrough a USB card to a guest, but I can't seem to make the VFIO driver stick, instead it seems that the host loads and takes over the card. I have a GPU successfully passed through,...
0
votes
0answers
15 views

How can I p2v a windows gaming machine to KVM inplace?

I have a windows gaming machine which I'd like to convert to linux (specifically fedora), yet retain it's functionality as a gaming platform. I was wondering if p2v the windows to a KVM image with ...
1
vote
0answers
23 views

how to create a bridge network with only wirless interface

im trying to install kvm in ubuntu,and when i build the virtual network, $vim /etc/network/interfaces ... auto br0 iface br0 inet dhcp bridge_ports wlp2s0 bridge_stp on bridge_fd 0 ... systemctl ...
1
vote
1answer
20 views

device from free diskspace does not match-up to size from list block size

The device /dev/sda2 original space at 32GB, then I try to expand to 512GB as it is shown in lsblk but not in disk free listing still show 32GB. I've rebooted the redhat 7.6 vm. $ df -h ...
0
votes
1answer
75 views

Bridge network stop working with kvm/qemu

2-3 months ago I followed this article https://brooks.sh/2017/12/22/configuring-kvm-on-clear-linux/ to setup bridge network for kvm/qemu guest ubuntu. My Host os is ClearLinux. However the guest OS ...
0
votes
1answer
111 views

KVM Centos 7 - unable to connect to virsh console

I have installed KVM server and all works fine. while I reading the book I need to connect virtual machine through the console. I mean, with virsh console machine. but when I do it, the virsh hangs ...
-1
votes
1answer
60 views

How can I enable a virtual machine on KVM to use the WiFi connection on my Ubuntu 18 laptop?

I recently set up KVM hypervisor on my Ubuntu 18 LTS ThinkPad Carbon. I installed qemu, virt-manager, and libvirt to manage the VMs. sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system ...
1
vote
1answer
151 views

QEMU Commandline arguments to lib-virt are not accepted - unable to save xml file

I am trying to get audio working on a Win10 Guest running on a Ubuntu host following this guide https://blog.zerosector.io/2018/07/28/kvm-qemu-windows-10-gpu-passthrough/ . GPU pass through works ...
1
vote
0answers
20 views

connect LKVM vms over bridge

I'm using lightweight VM lkvm which creates tun interfaces on the host. Now I want to connect two instances of lkvm over bridge interface, similar to what other VMs do: VM1 ...
0
votes
0answers
23 views

How migrate from Openstack KVM VM to KVM

I have one VM in Openstack that VM in qcow format . I want to migrate it to another datacenter KVM VM machine but it supports ISO file.
1
vote
0answers
30 views

Can OSv UniKernel be run on a Proxmox KVM cluster? [closed]

I have read around and can't see any reason why a proxmox KVM cluster would not be compatible with OSv that can run on KVM but I couldn't find any references to such a set up. I know the kernel is ...
1
vote
1answer
24 views

Change storage on KVM

I have virtual machine in KVM "machine01" I have storage on it /data/sas1/virt/virt.qcow2 and not used /data/sas1/virt/virt2.qcow2 I want to change via command line on my supervisor from /data/sas1/...
2
votes
1answer
83 views

Ubuntu 18.04 VM in emergency/maintenance mode due to failed corrupted raided disk

I have a VM which has an attached raided device with fstab entry: /dev/md127 /mnt/blah ext4 nofail 0 2 The raided disks are corrupted and during startup the unit entered emergency/maintence mode, ...
0
votes
1answer
74 views

Libvirt Ubuntu VM: files created on guest in shared folder given root-only access on host

I have created a Ubuntu VM on a server running Ubuntu Server 16.04.5 LTS using the following command: sudo virt-install \ --name TEST \ --memory 2048 \ --vcpus 2 \ --location 'http://archive....
0
votes
0answers
46 views

QEMU GPU passthrough, how is that even possible?

I saw on internet that we can pass physical video card to guest machine. but how can that be possible? for example : if we have following machine: CPU: intel 7700k with HD Graphics 630 RAM: 16G GPU:...
0
votes
0answers
37 views

Incorrect timestamps in cron logs on CentOS 7 VM?

I need to see accurate timestamps for the cron logs of a CentOS 7 VM using an OpenVZ-based image. The machine also has SCL enabled because Red Hat supplies antique software out-of-the box. Users like ...
0
votes
0answers
21 views

qcow2 size?du lager than ls? [duplicate]

$ls -lh total 17G -rw-r--r-- 1 qemu qemu 13G Dec 20 10:56 os.qcow2 $du -sh os.qcow2 17G os.qcow2 I understand that du maybe less than ls result because of “hole” But this case is du larger than ...
0
votes
0answers
116 views

Warning Kvm is Not Available

I am getting this warning message while creating a new VM. below packages are already installed. qemu-kvm-1.5.3-160.el7.x86_64 qemu-img-1.5.3-160.el7.x86_64 Host system Centos 7 lsmod | grep kvm ...
2
votes
0answers
91 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 ...
2
votes
1answer
233 views

What's the difference between KVM, QEMU and libvirt?

I'm trying to understand how all the components of the VM ecosystem fit together. What's the difference between: KVM QEMU libvirt Which is controlled by virsh and virt-install? This comment says ...
0
votes
1answer
111 views

RHEL 8 Beta unable to install under KVM [closed]

I have KVM installed under Centos 7.5, but I am unable to install RHEL 8 as a guest. I have downloaded the ISO image and provided the path. Its asking me for a installation source, as shown in below ...
1
vote
0answers
98 views

virtualisation performance KVM and Boxes on linux host [closed]

I set up a machine with AMD Threadripper 2950 , motherboard GIGABYTE Aorus xtreme and WX7100 GPU. I'm running Fedora 29 at the moment ( tested ubuntu 18.04 and Tumbleweed as well). The machine ...
0
votes
1answer
50 views

OpenNebula LVM datastorage usage scenario issue

I've been tried to configure OpenNebula in testing environment consists of two hosts: nebula (front machine) with Sunstone kvm-node-1 host with configured VG nebula machine contains following: root@...
2
votes
2answers
72 views

Is it safe to share a KVM virtual disk between active / passive systems

I have two VMs that run a DB2 database under a Linux guest OS. Only one database will be active at a time, though I'd like both VMs to be running at the same time. The database would be stored on a ...