Linux Kernel Virtual Machine is a virtualization system (VM)
Questions tagged [linux-kvm]
437 questions
77
votes
12 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
- 1,037
64
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
- 915
35
votes
1 answer
What is the difference and relationship between kvm, virt-manager, qemu and libvirt?
I investigated this topic and here are my conclusions (But I still have questions. And please correct me if I made any mistake in my conclusions):
VMWare:
VMWare developed its VM Hypervisor SW in 1999, but it was proprietary.
QEMU:
4 years later…
Columbia Rover
- 453
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
31
votes
10 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
- 665
30
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,837
29
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…
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
- 889
22
votes
7 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
- 321
17
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.
- 321
- 1
- 2
- 14
15
votes
4 answers
Wireless bridge on KVM virtual machine
I have a VM host (KVM) that's connected to a wireless router. I'd like the virtual guests to be in the same broadcast domain as the host; i.e, receive their IP from the router's DHCP. (=Layer 2 bridging)
According to KVM documentation it's…
Zvika
- 289
- 1
- 2
- 7
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,106
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
- 2,077
14
votes
2 answers
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 windows machine, and go under performace tab that the…
ChronicUser
- 143
- 1
- 1
- 6
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