KVM is the Kernel Virtual Machine, a virtualization hypervisor built into the Linux kernel.

learn more… | top users | synonyms

1
vote
0answers
9 views

How do I specify an alternative bridge interface (not br0) when using qemu-bridge-helper

By following the instructions found at http://wiki.qemu.org/Features/HelperNetworking I can configure qemu with qemu-bridge-helper, however, I can't figure out how to pass a bridging interface option ...
1
vote
0answers
15 views

How to check if 'Per-node memory binding' is supported in any libvirt version?

I am using kvm and getting an error: unsupported configuration: Per-node memory binding is not supported with this QEMU I have the #virsh version: Compiled against library: libvirt 1.2.9 Using ...
0
votes
0answers
11 views

How do I properly configure networking for a KVM virtual machine?

I have a remote dedicated server on which I have installed KVM. When trying to create my first virtual machine I am unable to ssh to the machine. I assumed that I needed another ip address so I ...
2
votes
1answer
30 views

How to connect two VMs with different IP ranges to access each other?

Using KVM I have created four VMs, I have two public Ip addresses for my VMs, I know that I can assign these IPs to two of the VMs and connect them to internet by bridging my host's physical interface ...
0
votes
0answers
13 views

KVM network packet loss to guest

I am running a server with Debian 8.3, uname output Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux I am using KVM to run a virtual machine with CentOS ...
0
votes
0answers
12 views

Fedora 23 - Windows in KVM - Fastest desktop update method [closed]

I'm running Windows 7/10 in a Kernel Virtual Machine. The Spice remote desktop isn't really all that fast. VNC seems to be even slower. Microsoft Remote Desktop is OK, but I can't turn the VM off when ...
3
votes
1answer
23 views

Does the O_DIRECT flag bypass the Linux page cache when accessing block devices too?

I am running a lot of KVM virtual machines, which open the hard disk image with the O_DIRECT flag. I understand, according to the open() man page, that using O_DIRECT will try to bypass the Linux ...
14
votes
2answers
168 views

How can I store files in the mounted shared folder?

I am running a Fedora Workstation virtual machine on an Ubuntu host. I created a folder /home/cl/share in the guest and mounted the shared folder /media/cl/system/virtual/share as root following the ...
0
votes
1answer
23 views

How to access KVM windows guest bios

How to access KVM windows guest bios: As I want to check guest bios virtuliazation options to enable nested virtuliazation, like vm inside vm.
0
votes
0answers
22 views

Issue with kvm when trying to install kali

I am wondering why when I am trying to install Kali Linux on kvm, I am facing the next issue: Unable to complete install: 'internal error: process exited while connecting to monitor: ...
0
votes
0answers
16 views

QEMU kernel panic to serial port

I'm working with kernel 2.6.13.1 on Debian 6 with QEMU/KVM for a class. The kernel, once installed, panics on boot. The curses interface to qemu doesn't seem to allow scrollback to view the entire ...
1
vote
1answer
59 views

Should I use KVM or Xen ? What are the main differences? [closed]

I've spent a few hours trying to understand the differences between KVM and Xen without much succes. So both are Type 1 Hypervisors with comparable performances (source) and I don't understand what ...
0
votes
0answers
21 views

Qemu error: internal error: QEMU / QMP failed: qemu-system-x86_64: PCI bus not available for hda

I get the error below when trying to start my vm with serenity ~ # virsh start winxp-gaming error:failed to start domain winxp-gaming error:internal error: QEMU/ QMP failed: qemu-system-x86_64: PCI ...
1
vote
1answer
27 views

Using Device mapper thin provisioning on loop devices

I have several KVM raw files that are read only (about 100gb). I am adding these raw files as loopback devices. I then create a snap file to allow the VM to have read/write access to its disk. This ...
3
votes
1answer
40 views

Can I enable cephx authentication using a pool in qemu/kvm?

(CentOS 7, Ceph Incunabulus, everything patched up to date) Background I've got a working converged Ceph/qemu/kvm cluster with cephx enabled for authentication. I'm trying to use this to store block ...
1
vote
0answers
19 views

no arp entries for vnet

I have multiple kvm hypervisors (HV) which runs bunch of virtual machines (VM). Every HV has br0 and every VM is attached to it with its vnet interface. I noticed that one HV at arp -a shows me 2 ...
0
votes
0answers
59 views

Installing qemu-kvm 2.5 on Centos 7

Are there any repos out there that carry the most up-to-date version of qemu-kvm as well as dependencies? I ask because the newest qemu-system has a HUGE list of dependencies and I would like to not ...
1
vote
0answers
14 views

kvm custom scripts for automation of pci device attachment

Can anyone help me in two things: my kvm server is in my lan. How to use virsh to create and manage my guest vm in my host, can any one write me a shell script that when the device id is given ...
0
votes
1answer
26 views

How to disable QEMU guest access to host ports

I'm using the following command to run a QEMU VM: qemu-system-x86_64 -enable-kvm -m 1024 -smp 2 -hda disk.qcow2 By default, the guest OS has internet access, but can also access open ports on the ...
4
votes
1answer
29 views

GRUB Legacy complaining about filesystem being unknown?

I have several VM's in an OpenStack cluster (KVM) and when they get built from an image that had say a single 5GB partition they too will have this same HDD geometry configured. I've found several ...
1
vote
0answers
29 views

Virt-manager Permission Denied when accessing NFS pool

I'm currently having this error when I'm trying to install a Virtual Machine on my NFS share. i've added my NFS share (coming from FreeNAS) to a Storage Pool on the virt-manager Another issue is ...
1
vote
0answers
89 views

Is it possible to pass USB DVD drive to KVM (QEMU) virtual machine on Ubuntu?

I've got a KVM host on Ubuntu 15.10 Server. I'm fairly new at it so I'm managing it via an Ubuntu 15.10 Desktop VM running on itself and accessing the host via Virtual Machine Manager. That works ...
3
votes
2answers
87 views

Debian 8 install in QEMU/KVM guest failing due to ext4-fs / “read only filesystem” errors

I am on Debian 8.2 and trying to install a Debian 8.2 QEMU/KVM guest. I created a virtual disk image file and booted into the Debian installer ISO with the following commands: jesse@deb:~/vms$ ...
0
votes
0answers
18 views

Where are macvtap settings on rhel 7

I am creating a virtual machine in KVM on Red Hat Enterprise Linux 7. I have created two bridges and connected two interfaces which are on the physical hardware to the bridges. How can I use these ...
1
vote
0answers
24 views

Booting EFI on KVM

I'm on Ubuntu 14.04 running kernel 3.19. I'm trying to use virt-manager to start a virtual machine. I have installed ovmf for EFI firmware and booted the machine with a Gentoo ISO in the CD slot. I ...
1
vote
1answer
49 views

How to run a gui client os in a virtual machine on non gui linux host?

Is it possible to run a windows gui client in a virtual machine hosted in a non gui linux? How to set this up? and how to connect to such a machine?
2
votes
1answer
132 views

Configure public IP addresses in KVM VMs

I have a physical server running CentOS 6.5 with one interface connected to the Internet (with one public IP address). Inside this server I have two VMs created with KVM through libvirt with one ...
0
votes
1answer
48 views

KVM - nat or bridge. How I do that

I have Debian Jessie server, and I have install apache server. From apache hosted several sites from different ip address. My server have resources for KVM. My question is - How I can set my free IP ...
0
votes
2answers
33 views

How to run a script at startup before networking is enabled?

I have a system that I use to test some programs doing non-IP networking protocols on various operating systems in virtual machines. The host is Fedora Linux. Because the networking is non-IP, the VMs ...
1
vote
1answer
127 views

How to manually configure a monitor in CentOS7, attached via KVM?

I have a fresh desktop install of CentOS7 with Gnome 3. I need to use this machine with a KVM but for some reason CentOS7 cannot detect my monitor through the KVM I have, so it defaults to "Unknown ...
0
votes
1answer
46 views

HOWTO: Fix “Cannot parse sensitivity level in s0” error when attempting to start a KVM VM after a major OS upgrade

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.7 with kernel 2.6.32-573.8.1.el6.x86_64. This is a work computer, corporate policy states that I must keep my operating system up to ...
1
vote
0answers
43 views

KVM set gateway in isolated network

I have a really annoying issue. I am using KVM on CentOS 7 and two networks. One of the networks is isolated with internal host routing only The other network is forwarding using NAT. I have set ...
1
vote
0answers
27 views

Manual IP configuration on RHEL 7 KVM guest installation

I have KVM set up on a RHEL 7 server with the installation media for guests being served via FTP. Whenever I kick off a new VM installation via Virtual Machine Manager (I'm doing graphical ...
1
vote
0answers
27 views

How do I configure a systemd service to execute simple /bin/echo “Hello world” command to show the output on the console?

I am trying to boot up a vm with qemu-system-ppc64(similar to lkvm). I am using the following command: qemu-system-ppc64 --enable-kvm -vga none -nographic -nodefaults -chardev stdio,id=id1 ...
0
votes
0answers
19 views

Where does KVM hypervisor store VM files?

For a guest machine how can I know where the files created in vm (not the VM config files but actual files which I create while using VM) are stored on my host machine? To which directory of my host ...
0
votes
0answers
29 views

Creating a new KVM VM from an existing vdi image

I have an existing VDI image for an Ubuntu distribution, and my attempts to import it using several guides off the internet have produced the same "No bootable device" error that continues to evade ...
2
votes
0answers
43 views

Virtualization (KVM) and excessive cached RAM

I've set up a virtual machine through KVM-libvirt (virt-manager) with Windows 10 on it and I'm getting an odd behavior on the host side. I'm running a 64bit Arch host with 24GB of RAM, 12 of which are ...
1
vote
1answer
33 views

Disk space in windows not representing actual qcow2 image size

The disk space shown in Windows running in KVM does not represent the actual disk space available for the qcow2 disk image. The Windows Management Console shows there is 100 GB for the drive, but ...
-1
votes
1answer
8 views

how to work with linux dedi-servers by using KVM?

i wanna rent some dedi-servers located in offshore datacentres, and they come with root access, But to install my own applications and web server softwares on them, they offer sth called KVM, what is ...
1
vote
0answers
12 views

How to make mdstat ignore specified devices

I have a hypervisor with KVM that uses zvols for virtual machine storage. One such virtual machine was moved from a physical one and has software RAID inside it. Zvols are detected as block devices on ...
0
votes
0answers
37 views

Many IPs from different Subnets and Gateway to one machine

I use CentOS 7.1 and I have more then two IPs attached to one machine, which is on Cloud (KVM). The IPs are from different Subnets and Gateways. To work all I must delete all "ip route" saves, except ...
5
votes
1answer
265 views

VM with ntpd running but not syncing

TL; DR VM using KVM, time is not synchronized. After a 2 minute suspend, it keeps a permanent 2 min gap. Setting up another VM with different network config shows that network config prevents ntp ...
0
votes
1answer
67 views

Unreliable QEMU guest agent responses

I have a script for automatic backups of my KVMs. Before taking a LVM snapshot I'm trying to freeze the filesystems of the KVM with the QEMU guest agent. It works good most of the time but randomly I ...
1
vote
1answer
57 views

iptables forward from host to guest interferes with vm-vm communication

My iptables -L: Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT udp -- anywhere anywhere udp dpt:domain ACCEPT tcp ...
0
votes
0answers
22 views

virt-install machine not bootintg after successfull installation

I'm trying to use virt-install to setup new virtual machine on qemu-kvm host using kickstarter. Everythings seems to work well except of booting the geust machine after installation. I found out ...
0
votes
0answers
77 views

Centos 6 KVM network problem

I have a Centos 6 KVM host. I installed the KVM following this manual: https://wiki.centos.org/HowTos/KVM Its network has been configured as a bridge: [root@server ~]# ifconfig br0 Link ...
3
votes
0answers
156 views

Very high I/O wait time on KVM virtual machine

Debian wheezy AMD64, 3 cores, 2560mb ram (virtual machine). 1 virtual drive on ext4, running on KVM. I decided to move it from raw to qcow2. Everything is ok and everything was going ok during ...
0
votes
0answers
91 views

Problems installing kvm guest Oracle Linux 7 via console

What I want? I want to install Oracle Linux 7 as a kvm guest on a Oracle Linux 7 host via console only. Remote access via VNC is not allowed by policy. What I did? # virt-install --name vm_master \ ...
2
votes
2answers
318 views

Are there any benefits of using .qcow2 over .img and which is recommended for making a VM? [closed]

Are there any benefits of using .qcow2 over .img files when trying to create a VM . I have a smallish debian .iso and have seen at least with .qcow2 that it is slow. I also saw ...
0
votes
1answer
120 views

Error initializing USB support: Other error [-99]

I am trying to connect to a virtual machine using KVM on Scientific Linux 7. Scientific Linux is running on vmware. When I attempt to connect to the virtual machine I get an error. How do I proceed ...