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 [linux-kvm]

Linux Kernel Virtual Machine is a virtualization system (VM)

0
votes
0answers
5 views

Windows 7 kvm guest screen shifted down

I am not sure how to fix this.It happened suddenly so i had to move the taskbar to top since it was not visible after this happened. I have tried to reinstall "spice-guest-tools" and change resolution ...
0
votes
0answers
12 views

Nested Virtualization KVM: entry failed, hardware error 0x7

I have a VM on a host and want to create another VM within the existing VM (nested). Host: opensuse Tumbleweed, kernel 4.19.7, 96 CPUS Intel-Xeon, 256GB RAM (nested virt enabled in kvm) L1 VM: ...
0
votes
0answers
8 views

Potential setups for Linux and windows vm, with gpu hotswap

Hardware I have a laptop with a 1tb hdd, a 256gb ssd, and an NVIDIA GTX 1050 gpu. My Question is there a setup that would allow for: Linux and a windows to run simultaneously, through KVM or the ...
1
vote
0answers
10 views

Pass through ACPI devices in KVM

Is there a way to pass through ACPI devices to a KVM guest? I'm trying to create a debugging environment for an ACPI device.
0
votes
0answers
12 views

How do I enable nested virtualization centos 7

I have a AMD processor, I enabled SVM in the BIOS and I'm using VMWare Workstation Pro 14, and my host is Centos 7.6 configured as a Server with GUI, UEFI Boot. I'm having problems creating a nested ...
0
votes
0answers
20 views

Linux kvm module compile causes dependency cycles kvm->kvm_intel->kvm

I have a fresh 4.19.13 linux kernel, which is able to compile and install normally. Then I have some modification to the kvm module in it, and I only want to re-install the kvm modules instead of the ...
1
vote
1answer
99 views

Windows 10 UEFI Physical to KVM/libvirt Virtual

Original Post I am migrating my PC from Windows 10 to Linux. There are a few things for which I still need Windows, and I am currently dual-booting, with Windows and Linux on separate physical disks....
1
vote
1answer
83 views

Hiding Virtual machine status from guest operating system

Host OS: Fedora Guest OS: Windows 10 Virtualization: KVM So the idea is to run a Windows 10 host machine that is unaware that it is a virtual machine. So when I open the task manager on the guest ...
1
vote
0answers
47 views

In Debian Using Android TV x86 Emulator Image with QEMU/KVM

If I am correct, Android Emulator uses KVM/QEMU for virtualization. Since there is no standalone Android TV x86 installer floating around I need to use these images to create myself a virtual Android ...
0
votes
1answer
22 views

Guest unikernel on KVM can't reach host, but host can reach the guest

I'm trying to make a rumpkernel (https://github.com/rumpkernel) run on KVM, connect to a socket on the host and send some data. I am able to make the host access the guest using the nginx example ...
0
votes
1answer
18 views

libvirt - can only boot from IDE devices?

I'm running Ubuntu 18.04 as host and windows 10 as guest, using QEMU/KVM as my hypervisor and libvirt as my management tool. I have a nvme ssd /dev/nvmewin that I want to pass to the windows guest (...
0
votes
0answers
20 views

Lost connectivity after creating macvlan

I am a complete noob at Linux networking, but I have a homeserver with a bunch of KVMs for various services. Anyway all the KVMs have macvtap interfaces, which means that by default the host cannot ...
0
votes
0answers
10 views

After Small Business Server 2011 VM has been migrated from VMWare to KVM, it stopped reacting to input devices

I have to migrate a ESXi-based Small Business Server 2011 VM to KVM (from rather old ESXi to KVM provided by Ubuntu 18.04) Disk conversion by itself worked normally. .vmdk volume has been converted ...
0
votes
0answers
36 views

How can I forward traffic to a natted kvm guest when clients connect to the host with firewalld?

I have one CentOS 7 kvm guest at 192.168.122.7. For troubleshooting purposes, selinux is off. There is an application listening on port 9000, and port 9000/tcp is open on the firewall on the guest and ...
2
votes
1answer
148 views

Unable to get KVM working on Fedora Linux running on a AMD machine

I have been trying to get KVM working on my Fedora Linux installed on a desktop computer with AMD processor with no success. [kp@localhost ~]$ lscpu | grep svm Flags: fpu vme de pse tsc ...
1
vote
0answers
31 views

Linux KVM/QEMU Guest bridge networking issue

I have a KVM Guest with an adapter that is attached to a bridge interface, which has a physical nic. The physical nic's network has DHCP in the 192.168.1.0/24 range. My guest does not get a DHCP ...
0
votes
0answers
60 views

Macvtap does not assign ip to guest vm, eth0 doesnt connect

im using virt manager and have followed various guide to create a macvtap interface and used virtio and bridge, i have tried with other options and the VM simply does not connect. If i assign a static ...
0
votes
0answers
33 views

QEMU-KVM Keyboard Passthru of Ctl-Alt-Fx keys?

I'm trying to troubleshoot a Linux vm's X server running on qemu-kvm and using virt-manager/vnc for the display. I need to learn how to pass the ctl-alt-Fx keys to the vm to switch off of a hung X ...
0
votes
0answers
46 views

Maximizing and Stretching KVM Client Screens

I'm migrating over from VirtualBox to KVM for virtualisation on my Linux PC, for performance and remote access purposes in the hopefully near future. One thing that I've noticed is that my KVM ...
0
votes
0answers
143 views

Trouble with IPv6 under KVM host with bridge (Centos 7)

Trouble with IPv6 under KVM host with bridge on Centos 7 I have ip6tables that are cleanly flushed with: #> ip6tables -F ND should be allowed Then, if I do: #> ip -6 neigh 2a0d:2407:14::1 ...
2
votes
0answers
57 views

Isolate single device into separate IOMMU group for PCI passthrough?

I have below IOMMU groups and devices. $ for a in /sys/kernel/iommu_groups/*; do find $a -type l; done | sort --version-sort /sys/kernel/iommu_groups/0/devices/0000:00:00.0 /sys/kernel/iommu_groups/1/...
1
vote
0answers
48 views

How to disable buffering for a LVM partition under QEMU KVM

I'm using Windows 10 under QEMU KVM on a Fedora 27 box. Disk for a VM is attached as a raw LVM partition with cache=none. <disk type='block' device='disk' > <driver name='qemu' type='raw'...
0
votes
0answers
88 views

KVM live migration: unable to connect to server at '192.168.0.140:16509' : connection refused

I am trying to migration a VM from host1(192.168.0.168) to host2 (192.168.0.140) by executing virsh migrate --live test-sprout qemu+tcp://192.168.0.140 But the result given by KVM is: error: ...
0
votes
0answers
90 views

ubuntu machine loses internet access after creating bridge

I make a bridge to connect my VMs to which are hosted in an Ubuntu 16.04. Through the VMs I can ping google and access internet. But my host loses internet access. I know its local Ip and I can ping ...
0
votes
1answer
281 views

Creating multiple bridges connected to one eth port

I want to create 6 VMs in KVM on an ubuntu 16.04. But I want these VMs be accessible from outside directly. To explain more, I have another PC that is connected to first one and I want to be able to ...
2
votes
1answer
160 views

Strategy for File System Permissions On KVM Shared Folder

I have a Ubuntu/KVM hypervisor environment that has access (via NFS) to ZFS data sets (aka file systems). I have been hosting the VM images on a ZFS file system which, although not the fastest thing ...
0
votes
1answer
184 views

Live KVM migration b/w two machines while keeping bridged guest IP static

On each of two Ubuntu PCs, I installed KVM and created some VMs. All the VMs on each PC should see each other, so I could not use the private IP assigned to them by KVM and AFAIK that requires ...
0
votes
1answer
131 views

How to connect two virtual machines with accessible private IP address

I am trying to have some VMs on two Ubuntu hosts using KVM (two seperate machines). I want all these VMs to be accessible with their private IPs (or public IPs). I know the local IPs of the VMs can ...
0
votes
0answers
108 views

KVM Windows guest battery

I've installed KVM on a laptop with Debian 9. The guest is the latest Windows 10 (1803) with all updates and VirtIO drivers installed. The issue is : Windows doesn't know he's on a laptop. Then, I ...
0
votes
1answer
70 views

I installed KVM via synaptic from Ubuntu repositories, and now my computer won't boot

2 week old Ubuntu 18.04 install. As a requirement of running a android device emulator for Android studio, I had to install KVM, so I installed it (the exact package name was kvm, it had some ...
0
votes
0answers
138 views

How can I optimize QEMU KVM save / restore time?

I'm using QEMU/KVM to run win10 pro VM on my Dell laptop (with SSD). My OS - ubuntu gnome 16.04. Details about my VM: - Disk size 50 GB - I gave it 4GB ram (out of 16GB that my Dell laptop has) - I ...
0
votes
1answer
619 views

Configuring KVM inside Ubuntu Hyper-V client

Is it possible to run KVM on an Ubuntu 18.04 guest in Hyper-V on Windows 10? Or any other hypervisor inside the guest? After installing KVM I run: sudo kvm-ok and it tells me my CPU does not ...
1
vote
1answer
236 views

Unable to make VM use public IP with macvtap/KVM/libvirt

I am running dedicated server with few KVM VMs on it. I had success in the past getting separate public IPv4 address attached to one VM using macvtap driver and it works just like totally independent ...
0
votes
0answers
166 views

KVM passthrough on Dell R720xd

sorry for my english. I can't setup gpu passthrough on Dell R720xd (have working R510 & ubuntu 16.04) I have: debian 9.4 qemu version: 2.8.1 libvirt version: 3.0.0 virt-manager 1.4.0 ...
0
votes
0answers
67 views

How to map an address of a guest OS to host OS

Given a guest OS address on a virtual machine, how can I map it to host OS and vice versa. I am running a guest OS (Ubuntu 16.04) using QEMU emulator (version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.26)) ...
1
vote
1answer
478 views

qemu -enable-kvm *slower* than pure emulation for x86_64

Running qemu-system-x86_64 -enable-kvm -cpu host -smp cores=4 hosted on an Intel Xeon/Core-2 (newgen, Family=6) or better machine (total number of cores on guest=24, total ram=196gb), and the guest ...
1
vote
1answer
1k views

KVM/QEMU: Hardware acceleration not working

I was trying to install my first virtual machine with KVM and QEMU but it does seem to use hardware acceleration as intended. I came to that conclusion first because it is terribly slow and second ...
0
votes
0answers
55 views

How to expose an “internal” network on a kvm host?

I have this SLES 12 KVM host that has several VMs running. This host is of course, sitting in a corporate network, one that I shall refer to as the external network in this regard. The question is ...
0
votes
0answers
255 views

How to convert Virtualbox VM into KVM VM, with latest snapshot included?

I have been trying to change my existing Virtualbox VMs (.vdi) into .qcow2 format and run it on KVM. I have successfully done the conversion (.vdi > .qcow2) but, the converted VM is not in the same ...
1
vote
2answers
110 views

Slackware fails to boot after installing inside qemu as guest in ubuntu

I'm using Ubuntu 16.04 as host OS and I'm trying to install slackware as a guest OS. I'm using QEMU/KVM as emulator. I followed this link to install slackware. But after installation it asks to ...
0
votes
0answers
93 views

What's the safest way for backup and restore external snapshot using virsh libvirtd

Dears, I've followed the following steps in order to get a snapshot of a running VM on my KVM, but actually i'm not sure if that the correct way or no : /usr/bin/virsh snapshot-create-as \ --domain ...
0
votes
0answers
32 views

How to get PMCs outside VM at hypervisor level?

in the follow paper: Power Metering for Virtual Machine in Cloud Computing—Challenges and Opportunities at section METHODS FOR VM POWER METERING, author mentioned that there are two method to ...
3
votes
1answer
420 views

Virtual Machine disk images on ZFS filesystem: a few questions

Background I use Ubuntu 16.04.4 LTS (converted to Server from Desktop) installed on a ZFS filesystem which itself is on an Samsung 840 Evo 120 GB SSD. I also have four HDDs which are two mirrors (1 ...
0
votes
1answer
281 views

KVM Online-Backup of a Windows-Machine

I implemented a bash script which is backing up my VMs. Basically I am doing the following steps: Create a snapshot of the target VM Backup the disk of the target VM Merge the changes back to the ...
0
votes
1answer
75 views

How can I set Openstack with NAT remapping?

I am using hypervisor as KVM and have one server to host Openstack services. I want to access my cloud server and instances(via floating IPs). Because of the network limitations I am not able to ...
1
vote
1answer
76 views

volume deleted from kvm, but not reflected in centos guest

I assigned some volumes to my VM on kvm. Now I want to remove those volumes. I used virsh vol-delete command and deleted those volumes. Still from the guest side, can see those volumes!!!. lsblk, ...
3
votes
1answer
3k views

Do I need both the QEMU Agent and SPICE Agent installed in Windows 10 guest?

I have a Windows 10 VM set up on my Ubuntu 16.04.3 LTS laptop. Overall the experience has been good -- even to the point of having multiple displays configured for the guest. I started by installed ...
3
votes
2answers
745 views

Why isn't pagefile being used?

I have an trouble with Windows Server 2008 R2 Enterprise. The paged pool load memory but does not load the actual pagefile (I have space on the drive for it). Actually the problem is in memory ...
2
votes
1answer
3k views

KVM GPU passthrough of nVidia dGPU on laptop with hybrid graphics without proprietary drivers on host

I have a 2017 Dell XPS 9560 with a discrete nVidia graphics card in addition to integrated Intel graphics. The nVidia card is usually powered down by way of an ACPI command. I do not have, or want, ...
0
votes
0answers
218 views

Change KVM-Server2016 from IDE to Virtio

I've followed this link: Windows 10 in KVM: change boot disk to Virtio However, my host's configuration ONLY allowed IDE or Virtio. It was all or nothing deal. Therefore, I could not add a dummy ...