Questions tagged [linux-kvm]

Linux Kernel Virtual Machine is a virtualization system (VM)

Filter by
Sorted by
Tagged with
4 votes
1 answer
2k views

Can I get more screen resolution options for a QEMU virtualized Windows using a VirtIO graphics card?

When virtualizing e.g. a Windows 10 installation with QEMU and using the default graphics card (with no command line option set), it shows up as a "Microsoft Basic Display Adapter", and one ...
Tobias Leupold's user avatar
4 votes
1 answer
3k views

How do I revert to latest external snapshot in KVM?

I have created an external snapshot with KVM using virsh snapshot-create-as domain --name snap1 --disk-only Then, I started the domain with “virsh start domain”. I know that reverting to external ...
Torsten Bronger's user avatar
4 votes
1 answer
2k views

Fastest way to install custom kernel in virtual machine

I have a custom kernel that needs to be installed on multiple virtual machines. One way to do it transfer the source to each VM and then compile and install. I would like to know if there is a ...
Nofel Yaseen's user avatar
4 votes
0 answers
578 views

AppArmor issues with Libvirt

I have a fresh Ubuntu Server 22.04.3 and Debian 12.1.0 installed and updated. Along with Cockpit and Cockpit virtual machines on both tests machines. I am getting the following errors and warning when ...
Johannes's user avatar
4 votes
1 answer
1k views

Cannot create a virtual machine on Fedora: Activation of org.freedesktop.machine1 timed out

I am trying to create a new VM within Fedora using virt-manager. However, I get the following error: Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line ...
Demi's user avatar
  • 818
3 votes
3 answers
9k views

Show qemu command line from virsh

I am debugging a problem with a libvirt VM starting, and I want to see the exact command line that it is going to use to start qemu. Is this possible using virsh or some other utility?
Jonathon Reinhart's user avatar
3 votes
8 answers
17k views

Find IP of VM running KVM

How can I find the IP of the VM on KVM(using Nmap)? If not,are there any functions in Libvirt to do that?
P Ramesh's user avatar
  • 151
3 votes
1 answer
7k views

How to boot a UEFI image from a KVM virtual machine without `virt-manager`? (e.g. Home Assistant on OpenMediaVault/Cockpit)

Background I would like to run Home Assistant (HASS) in a virtual machine on OpenMediaVault 5. Up until OMV 4, this was easy because OMV (and the underlying Debian) supported VirtualBox and VB ...
Christoph's user avatar
  • 1,933
3 votes
2 answers
2k views

HASP dongle in kvm?

Is there a way to use a HASP dongle (Aladdin) in a kvm virtual machine (guest) running Windows 7 professional with Ubuntu 10.04 or 10.10 as host?
macwindux's user avatar
3 votes
1 answer
13k 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, ...
gspr's user avatar
  • 558
3 votes
1 answer
7k views

ZFS vs raw disk for storing virtual machines: trade-offs

Background: I am planning to set up a KVM to run Windows and Linux on the same workstation, and am undecided about how to set up the disks. It is my understanding that raw disks typically improve ...
Stonecraft's user avatar
3 votes
4 answers
8k views

How can I run an existing WinXP partition (dual boot machine) inside KVM?

I use KVM to run virtual machines on Ubuntu Jaunty and virt-manager to configure them. My machine is dual-boot, and I don't want to have to reboot for my occasional uses of Windows. So I set up a VM ...
Hanno Fietz's user avatar
  • 1,565
3 votes
2 answers
2k views

QEMU/KVM Libvirt forwarding

I am using OpenSUSE Leap 42.2 on a Dell Inspiron 1545. There was an error on default virtual network on KVM: Error starting network 'default': internal error: Check the host setup: enabling IPv6 ...
Jonathan Dahlin's user avatar
3 votes
1 answer
4k views

Qemu KVM Passthrough - could not add USB device

I try to run a windows vm on linux with qemu/kvm and pci-passthrough, but I get the following error when I start the vm: qemu-system-x86_64: -usbdevice host:046d:c227: could not add USB device 'host:...
IceCoala's user avatar
3 votes
2 answers
5k views

KVM: iphone passthrough to windows guest

I use KVM on a ubuntu 15.04 guest and a windows 7 and windows 10 guests. I connect my iPhone to my PC and want to redirect it (using virt-manager) to the guest. I always get the error. spice-client-...
Jonas's user avatar
  • 151
3 votes
1 answer
1k views

QEMU: How to find bottleneck in my virtual machine?

I am running an ubuntu virtual-machine on a 12.04 ubuntu server. Unfortunately the machine is extremly slow (just htop consumes 15%), even though having 8 cores etc. Do you know a way to find the ...
Philipp's user avatar
  • 135
3 votes
1 answer
3k views

ubuntu libvirt serial console requires ttyS0 restart to connect?

I'm attempting to configure serial access from my libvirt host to one of its guests. I've configured the device on the guest and started it: jsharpe@sel-app1:~$ cat /etc/init/ttyS0.conf # ttyS0 - ...
jsharpe's user avatar
  • 163
3 votes
1 answer
7k views

Performance issues with KVM versus Virtualbox

I'm trying to use KVM on Ubuntu (5.8.0-59-generic #66~20.04.1-Ubuntu) and finding some serious performance issues. In order to quantify the problem, I tried a fresh install of Windows 7, both under ...
andy28's user avatar
  • 35
3 votes
2 answers
6k views

QEMU/KVM: Creating file sharing between Linux host and MacOS guest

I would like to create whatever possible way to enable file sharing between my Ubuntu 20.04 host and a MacOS Mojave running QEMU/KVM. Things I've tried: anything related to virt-manager. Doesn't work ...
Ft3ca's user avatar
  • 31
3 votes
1 answer
3k 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 ...
Joel's user avatar
  • 33
3 votes
2 answers
5k views

Virt manager error: unable to find any master var store for loader

I followed the guide here https://github.com/kholia/OSX-KVM but I got an error after importing the VM into virt-manager. Specifically, I get the error 'unable to find any master var store for loader' ...
Domiic's user avatar
  • 31
3 votes
1 answer
2k views

Set qcow2 image size at install time

Context > I am a bit confused about disk images and their installation. I am using qemu/kvm with libvirt and have used VirtualBox in the past. Back then, the UI would guide me to choosing a "template" ...
raneq's user avatar
  • 33
3 votes
2 answers
3k 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 ...
George21's user avatar
3 votes
3 answers
3k views

Wacom tablet not moving cursor under KVM Windows guest

I'm running a Windows 10 guest in KVM under an openSUSE Tumbleweed host. I occasionally need Windows on my laptop for creative applications such as Photoshop and KVM has been great so far. However, ...
user avatar
3 votes
2 answers
3k views

how can you install a KVM guest os in nographic mode

I need to install a KVM guest OS but without the use of a GUI. What I found so far: create a disk image for the guest qemu-img create -f qcow2 vdisk.img 10G install the guest OS qemu-system-x86_64 ...
Pandrei's user avatar
  • 141
3 votes
2 answers
730 views

Possible to move a guest OS on VirtManager (Linux) to Windows?

For VirtualBox or VMware Workstation,one could copy the guest OS data directory to another computer and run it there. For example, I could create a guest OS on Linux, and then copy the guest data ...
Damn Vegetables's user avatar
3 votes
0 answers
5k views

QEMU/KVM can't set qxl video ram size

I'm trying to enlarge video memory size of qxl-vga device. Guest os (windows 7) shows only 16mb of video memory available. I've installed windows guest tools. When I'm trying to set more video memory ...
0x35's user avatar
  • 31
3 votes
0 answers
988 views

qemu: How to use resolutions > 1024x768 in Windows 8(.1)?

In previous Windows versions, I was able to get higher resolutions in qemu/qemu-kvm by passing the -vga std or -vga vmware command line parameters. However, when I try the same for Windows 8 (and 8.1)...
Rick's user avatar
  • 31
3 votes
1 answer
2k views

How can I write a Windows (NTFS) .img file to a partition and add it to grub?

I'm trying some crazy stuff here. First, I had a VirtualBox machine with Windows XP installed, using .vdi format. Then I exported the image to a OVA, extracted the .vmdk and converted it to a raw .img ...
Darlan Alves's user avatar
3 votes
1 answer
4k views

How to enable Virtualization technology in Samsung Chromebox

I need to enable Virtualization Technology (VT) in my Samsung Chromebox (Series 5) from Google IO 2012 because of Android x86 emulator from Intel. I am on developer BIOS, but I have no clue, how to ...
sealskej's user avatar
2 votes
4 answers
578 views

Best, easy to use open source virtualization solution for Ubuntu 10.04?

I am a big fan of VMWare Workstation - it works great and is so easy to use... However, I like open source. I realize there's VirtualBox, but ideally I was looking to something to do the following: ...
Миша Кошелев's user avatar
2 votes
1 answer
9k views

How to make the KVM enable CPU flags(sse4_2)to the guest

My host is CentOs6.8, and the kernel is 3.10.0-957.el7.x86_64. I have installed KVM on it and I use KVM create my guests. And my guests works fine. Now, I run some software or code on my guests. I ...
Esc's user avatar
  • 123
2 votes
1 answer
3k views

How to(Libvirt) attach floppy image device to guest VM?

Say, I have floppy.vfd image. How should I fill my xml file in order to attach floppy image? I have template like <disk type='*' device='*'> <device name='*' type='*'/> <...
user avatar
2 votes
1 answer
646 views

My KVM is not perform that good as announce

I am using normal PC with the following specifications: Intel Core 2 6600 @ 2.40GHz RAM: 2G Motherboard: Intel DG965RY HDD: 7200 rpm @ 250G I have enabled Intel VT in BIOS setting. I install the ...
Chau Chee Yang's user avatar
2 votes
2 answers
6k views

Need qemu to run headless on host, but still forward graphical output via x11

I have a headless host with qemu installed. I can ssh into the host, and forward x11 so I can view graphical output. However, when I try to run qemu, I get the following error: Could not initialize ...
JoshG's user avatar
  • 133
2 votes
2 answers
6k views

Error while creating a VM using KVM

I am trying to set up a VM on my Ubuntu 13.04 Desktop and it's giving me error when I try to start the VM. The error states: virsh # start vm1 error: Failed to start domain vm1 error: internal error ...
Karan Gurnani's user avatar
2 votes
1 answer
9k views

virt-manager fails to initialize EGL render node for SPICE GL with NVIDIA proprietary drivers

I have virt-manager on a Fedora Workstation 26 host. I have set up a Virtual Machine with Windows 11 Educational. I have a Spice display server, with Listen Type set to “None”, and OpenGL set on with ...
robertspierre's user avatar
2 votes
1 answer
10k views

No Internet on Linux KVM Windows 10 guest using VirtIO drivers

I'm attempting to install a Windows 10 VM using QEMU/KVM in virt-manager. I want to use it for a WinApps setup to do some experiments with Adobe CC in Linux. I've been following several guides ...
IneptusMechanicus's user avatar
2 votes
1 answer
2k views

How can I tell from the command line if the server has KVM enabled?

I am trying to solve a problem of how to run an android emulator inside a Docker container for the purposes of end-to-end testing in CI build. One solution I have found says that it "requires KVM ...
alichur's user avatar
  • 123
2 votes
2 answers
4k views

Qemu: Is it possible to have BOTH the virtual display and VGA passthrough in a Windows guest?

This guy implies that it's possible to have both the virtual display and a VGA passthrough display device active at the same time.. I've tried this, both with libvirt and with the qemu commandline. ...
Autumn's user avatar
  • 300
2 votes
1 answer
3k views

How do i update available versions for operating system types in virt-manager

How do i update available versions for operating system types in virt-manager? For example for Ubuntu, only up to Ubuntu 14.04 LTS is in the menu but I'm installing Ubuntu 16.04 LTS. Installation ...
jtlindsey's user avatar
  • 402
2 votes
1 answer
2k views

Missing AESNI, RDRAND and RDSEED capabilities?

I've got a machine with a Core-i5 5200U. Its a 5th generation processor, so it has AESNI, RDRAND and RDSEED. Its the reason I bought the machine. The machine is running Ubuntu Server 14.04.03. Ubuntu ...
jww's user avatar
  • 12.1k
2 votes
3 answers
12k views

Unable to configure KVM (Qemu or Libvirt) on openSUSE Leap 42.1?

I simply want to run multiple VM (not at the same time). I want them to be stored in another partition (mounted here /run/media/shark/VM) and not in the default storage pool /var/lib/libvirt/images/...
noraj's user avatar
  • 410
2 votes
1 answer
733 views

How to change the disk interface type for my Windows 8.1 guest on KVM

I recently setup a Windows 8.1 VM with KVM and virt-manager. I initially set the disk interface to be IDE, but I'd like to change it to virtio. However, if I just change the interface in the ...
zymhan's user avatar
  • 808
2 votes
1 answer
2k views

open a console on a virtual machine

I have a KVM Virtual machine running, I can see that using "ps aux | grep kvm". What I need to open a console into that VM. How do I do that?
Zenet's user avatar
  • 685
2 votes
1 answer
5k views

QEMU/KVM - Getting "Error connecting to graphical console: Error opening Spice console SpiceClientGtk missing" when trying to create a VM

I am trying to create a virtual machine using QEMU/KVM. I am getting an error: Error connecting to graphical console: Error opening Spice console SpiceClientGtk missing I have looked around but ...
Punko Brewster's user avatar
2 votes
2 answers
3k views

Emulating IDE in KVM in Debian 10

We have an old rack server with Windows Server 2008 (not R2) Our goal is to virtualize it and move into new hardware. The new PC has a Debian10 as a main OS with KVM enabled. I have used disk2vhd (...
Deerjon's user avatar
  • 23
2 votes
1 answer
1k 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 ...
Keshav Prasad's user avatar
2 votes
1 answer
904 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 ...
AlanObject's user avatar
2 votes
1 answer
3k 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 ...
Ahmed Masud's user avatar

1
2
3 4 5
9