Stack Exchange Network

Stack Exchange network consists of 174 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
17 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.
0
votes
0answers
9 views

Starting VM in snapshot to rebuild image (backup start) [on hold]

I'm hoping that its possible to always start VMs in snapshot mode, to then use snapshots to sync other VMs to the one that was used without having to download the whole thing. Half the reason I went ...
1
vote
0answers
18 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
21 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
29 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, ...
-1
votes
0answers
29 views

No IP address assigned to kvm virtual machine

I installed Ubuntu 16.4 LTS on a VMWare Workstation with Bridged Network Adapter. Within the Ubuntu environment I installed kvm and connected the ethernet adapter to a newly defined bridged connection ...
0
votes
1answer
29 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
38 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
35 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
20 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 ...
-1
votes
0answers
33 views

Unable to import KVM Whonix images in Debian stretch

Whonix Gateway and Workstation images were untarred in downloads file. When I try to import these images to KVM on stretch version of Debian, following this code: virsh -c qemu:///system define ...
0
votes
0answers
80 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 ...
1
vote
0answers
26 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
0answers
72 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
74 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
votes
0answers
42 views

KVM/QEMU UEFI guest display resolution

On my KVM/QEMU server I'm able to set the video resolution for the guests running UEFI-bios at boot pressing F2 (see screendump) Is there a way to set this using qemu, virsh or any other tool? I ...
1
vote
0answers
48 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
31 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
44 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 ...
1
vote
0answers
86 views

How to flush all the DHCP leases with virsh. So all not just one with net-update default delete ip-dhcp-host

OS: Fedora 28 KVM So I am trying to delete all the dhcp leases with virsh, so all of them at once not one by one or any one in particular. I know that you can use net-update default delete ip-dhcp-...
2
votes
1answer
106 views

High cpu steal on Core 0 of KVM

In one of my KVM setups I am seeing high CPU stealing for Core 0 of both the guests. I have gone through saveral web results related to cpu steal but no were core steal is explained. If I take ...
5
votes
3answers
527 views

GPU passthrough works with UEFI firmware but not Windows iso

I am trying to set up a virtual machine with passthrough graphics. I am able to get the passthrough working for the UEFI shell, but not the official Windows installer. I can get the Windows installer ...
0
votes
1answer
24 views

How do I translate between qemu-system arguments and virt-install arguments so I can unify partially working commands?

I am in the process of setting up VFIO with KVM. I have the VFIO itself working, in that the VFIO'd GPU displays the UEFI shell screen when I start the VM. I am also able to create a working Windows ...
0
votes
0answers
34 views

OVMF.fd file not working: Is it my system, the file, or me totally misunderstanding?

I was trying to boot a KVM installation of Clear Linux, and getting the "no bootable device" error. I thought that this might be because of problems with UEFI based on problems I had when trying to ...
0
votes
0answers
39 views

KVM/Virt-Manager: PCIe Passthrough passes 1 device with 2 functions in host as 2 devices in guest

I'm in Ubuntu 16.04.4. I have a single PCIe card/device with two physical functions. I can assign both functions separately via the GUI and they show up as two different devices in the guest. The ...
0
votes
0answers
49 views

Unable to boot after attempting KVM passthrough of GTX1070.. broken /etc/default/grub?

I got a Windows installation onto KVM under Ubuntu Server 18.04, and now I want to pass through my EVGA 1070 GTX card to Windows. I followed the instructions here (except that I had already set up my ...
0
votes
1answer
114 views

How can I install a Windows 10 KVM VM on a ZVOL: pick the correct virtio drivers

I was trying to install windows 10 on an NTFS formatted zvol, but I kept getting BSODs: user@ubuntu:~$ virt-install \ > --name myWINVM1 \ > --ram 4096 \ > --disk path=/guest_images2/myWINVM1....
0
votes
0answers
24 views

How to simulate GPU hardware failure

Is there a way to forcibly eject/detach a GPU on linux? In a way that would be similar to physically pulling out the gpu. I tried: setpci -s 01:00.0 command=0000 As suggested here: How to simulate ...
0
votes
0answers
99 views

KVM/QEMU/SPICE: mouse pointer wont move, but clicks are recognized

I just set up my first KVM/QEMU virtual machine (Ubuntu 18.04 desktop) on Kubuntu 18.04 server. When I start up and connect to the graphics using SPICE, I find that the mouse cursor will not move. ...
0
votes
0answers
260 views

KVM: LUN Passthrough of SATA disk

When adding a physical hard disk to a virtual machine running on KVM using the LUN Passthrough mode in virt-manager, I get the following error: Error adding device: unsupported configuration: disk '...
1
vote
0answers
62 views

Accessing disk features in a QEMU/KVM VM

I recently setup a QEMU virtual machine with KVM running on Debian. The guest OS is FreeNAS (based on FreeBSD). I have given the guest access to a physical hard-disk on the host (not just a partition)....
0
votes
1answer
256 views

How to install latest virt-manager in Debian?

I'm using Debian stable and in debian stable virt-manager version is 1.4.0, but I need to use version 1.5.1 because 1.4.0 has one bug. I went to https://virt-manager.org/download/ and downloaded ...
0
votes
0answers
277 views

Changing libvirt emulator: Permission denied

I'm trying to use a binary of Qemu that I compiled using this tutorial, since the version of Qemu that's packaged with my OS, Debian, doesn't seem to support OpenGL acceleration with Spice. After a ...
1
vote
0answers
44 views

KVM : Add extra memory from the host's swap

I am running a KVM virtual machine on a host that has 6 Gb of memory and around 15 Gb of swap, so the max of the memory that i can add to the guest is < 6 Gb. I am wondering, is there a way to add ...
2
votes
0answers
33 views

How important is os-variant for kvm configuration?

When searching the internet one can always read that specifying os-variant is important so KVM can optimize the guest system. Nowhere did I find an article, manual or documentation stating how ...
3
votes
0answers
134 views

KVM passthrough in virtual machine more than 3 usb devices

I have a question, how can i passthrough in virtual machine more than 3 usb devices? I have a usb hub and i cannot passthrough in virtual machine more than 3 usb device. My usb device connect to usb ...
0
votes
1answer
119 views

openstack modify libvirt xml configuration

I am experimenting some options and trying to ad following option in openstack running instance. <driver name='vhost' queues='5' rx_queue_size='512' tx_queue_size='512'/> I did following steps ...
1
vote
1answer
108 views

Arch Linux - get no ipv4 on vm's

I have since some days a problem with my network connection on every vm. It doesn't matter whether Windows or Linux. My host system based on Arch Linux with interfaces configured by systemd-networkd. ...
1
vote
1answer
247 views

How to get Fedora 28 text console install under KVM to not prompt about text mode vs VNC

I've been trying to get unattended linux installs (fedora 28 in this case) working under KVM for some time. I've got it mostly worked out but it still asks me if I want to use text mode or fire up VNC....
1
vote
1answer
135 views

Using VirtualBMC with VMs

I need to use one VM (master) to manage power status of another VM (slave) on the same host by ipmitool. I have installed VirtualBMC on the host machine, added the slave VM and started its BMC: $ ...
0
votes
0answers
239 views

How to apply qcow2 snapshot to overlay raw disk image?

I have a VM that was created in raw disk format but learned later that both virsh and qemu-img only supports creating snapshots in qcow2 format. So I converted my base raw disks to qcow2 and then ...
2
votes
1answer
1k views

How to set video memory with KVM/QEMU virtualization?

As a long-time VirtualBox user I'm used to being able to set video memory available to my virtual machines, but unfortunately I cannot seem to find such an option for when I start KVM/QEMU VMs with: ...
3
votes
2answers
368 views

What are the benefits of running a docker container inside a VM vs running docker containers on bare metal?

What are the benefits of running a docker container inside a VM vs running docker containers on bare metal (on the host directly)? I have heard of companies running docker containers inside of a VM, ...
3
votes
0answers
437 views

virNetSocketReadWire:1801 : End of file while reading data: Input/output error

Every time I start/stop a KVM, the libvirtd 3.0.0-4 throws the following error in syslog: libvirtd[3145]: 2018-08-07 21:00:19.699+0000: 3145: \ error : qemuMonitorIO:710 : internal error: \ ...
1
vote
1answer
40 views

SSH connects but stays on the same machine [closed]

I've got an unusual problem at hand that I couldn't solve for 2 days. I've got two KVM running on my real machine. One of them is named headnode and the second is named computenode. These machines ...
1
vote
1answer
287 views

Kernel panic in KVM guest after Fedora 27 - libvirt update

After recent Fedora 27 update, my KVM VM guest ended up in the kernel panic during boot process. The system was updated to libvirt-3.7.0-4.fc27.x86_64 (and many other packages during this update) and ...
2
votes
0answers
28 views

Why can't I use DVD drive to install in KVM? [closed]

Summary I'm currently training for RHCSA. I have to install few servers with KVM. I'm unable to select the DVD drive to install the OS (greyed out). While I can install by other means, I'm curious ...
1
vote
0answers
107 views

Host system crashes when running a virtual machine [closed]

I'm currently trying to run a guest virtual machine on my current system (Ubuntu 18.04 with the 4.15.0-29-generic kernel). Every time I've tried running a virtual machine (I've tried virtualbox ...
2
votes
1answer
55 views

Confirm and/or remove a possible traffic shaping setting

I have a Debian box up and running with KVM and two guest machines, which I will refer here as Tux-A and Tux-B, both bind to the same physical network card of the Host via a bridged connection. The ...
0
votes
1answer
78 views

Multiple KVM Whonix-Workstations

I've read about multiple Whonix-Workstations and would like to clarify. Is it correct that: If I want one Whonix-Gateway and multiple Whonix-Workstations in KVM I just need to edit Whonix-...