Linux Kernel Virtual Machine is a virtualization system (VM)
Questions tagged [linux-kvm]
417 questions
58
votes
7 answers
Windows 10 in KVM: change boot disk to Virtio
I have installed a Windows 10 virtual machine using an IDE disk and would now like to change the disk to use the Virtio driver.
For other versions of Windows, the approach in this question seems to be sufficient - How to migrate an IDE VM to a…
Graeme
- 825
- 1
- 9
- 11
54
votes
11 answers
How to increase the visualized screen resolution on QEMU / KVM?
I have a 64 bit Ubuntu 9.10 workstation with two virtualized guest OSes using KVM/QEMU. Also both 64-bit. One is Fedora 12 the other is beta of Ubuntu 10.04.
The problem is that I would like to use a larger size display that is configured by…
Jim Reineri
- 807
- 2
- 7
- 9
32
votes
3 answers
libvirt: "Failed to initialize a valid firewall backend"
I'm trying to set up a virtual NAT network device without DHCP for libvirt on an Arch Linux host.
What I have tried:
# virsh net-define network.xml
Network default defined from network.xml
[network.xml]:
default
testandby
- 429
- 1
- 4
- 5
29
votes
4 answers
How do I prevent virt-manager from asking for the root password?
When starting virt-manager, it asks for the root password.
It looks like virt-manager causes the libvirtd daemon to run pkcheck with a couple of arguments, which then shows this authentication dialog. So it's PolicyKit who's asking for the root…
basic6
- 2,587
- 9
- 33
- 41
28
votes
4 answers
libvirt/9p/kvm mount in fstab fails to mount at boot time
I am trying to mount a shared folder using qemu-kvm/9p and it fails to work if I add it to the fstab file. I get an error at boot that the device cannot be mounted, yet after start if I run "mount -a" the device will be mounted.
fstab line:
src_mnt…
edA-qa mort-ora-y
- 501
- 1
- 5
- 12
27
votes
9 answers
How to exit a "virsh console" connection?
Is there any special characters involved? I want to be able to open a console connection in my application and exit upon completion of a task
user2066671
- 505
- 2
- 5
- 13
26
votes
4 answers
Change CD-ROM via virsh
I have a KVM virtual machine that is managed via libvirsh. Now I want to use a different ISO image inside the VM.
How do I change the DVD in the virtual drive using virsh?
DerMike
- 869
- 3
- 11
- 20
20
votes
1 answer
What is the difference and relationship between kvm, virt-manager, qemu and libvirt?
I investigated this topic and here are my conlusions (but still I have questions, and please correct me if I made any mistake in my conlusion):
VMWare:
VMWare developed its VM Hypervisor SW in 1999, but it was proprietory.
QEMU:
4 years later after…
Columbia Rover
- 303
- 1
- 2
- 8
19
votes
4 answers
No Auto Resize with SPICE and virt-manager
I've setup a VM that works great except for the auto resize functionality which seems to be inconsistent. I've got it randomly working a few times but it also randomly stops working. It's currently not working and I'm not sure what I need to do to…
howdoieven
- 191
- 1
- 1
- 5
16
votes
1 answer
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 the QEMU Guest Agent found…
Corey S.
- 311
- 1
- 2
- 14
14
votes
3 answers
Is it possible to run a Windows partition as a VM?
My laptop is setup as dual boot between Windows 7 (64-bit) and Ubuntu Linux (64-bit). Because I spend most of my work time in Linux I need a Windows 7 VM to be able to use Microsoft Office tools, etc. But my laptop only has a 256 GB SSD so having a…
parsley72
- 1,034
- 5
- 17
- 36
14
votes
2 answers
Where can I config service startup options in Ubuntu?
I'm not used to using Ubuntu or Debian as a server. I'm more accustomed to Red Hat/Fedora ways and even Gentoo (yikes).
Under Red Hat installs, you can often configure most services that start from init using config files in /etc/sysconfig named by…
deltaray
- 1,927
- 4
- 17
- 23
13
votes
5 answers
vagrant fails to create box with libvirt
I am trying to setup a box with vagrant and libvirt with the following Vagrantfile
Vagrant.configure("2") do |config|
config.vm.define :test_vm do |test_vm|
test_vm.vm.box = "test"
test_vm.vm.network :private_network, :ip => '10.20.30.40'
…
Bastian Ballmann
- 231
- 1
- 2
- 4
13
votes
2 answers
Prevent Radeon driver from attaching to specific PCI devices?
I have two Radeon cards in this machine, a Radeon HD 6570 and a Radeon HD 6950:
lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Turks [Radeon HD 6570]
02:00.0 VGA compatible controller: Advanced Micro…
genpfault
- 532
- 2
- 6
- 21
12
votes
1 answer
Mirror Port via iptables
I have a dedicated Linux (Debian 7.5) root server, with a number of guests set up. The guests are KVM instances, and get network access via bridge-utils (NAT, internal IPs, use the host as a gateway).
E.g. one KVM is my WebServer guest, and it gets…
wishi
- 335
- 1
- 7
- 19