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

learn more… | top users | synonyms

0
votes
0answers
36 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
61 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
115 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?
3
votes
1answer
653 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
124 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
71 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
922 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
113 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 and my corporate policy states that I must keep my operating system up ...
1
vote
0answers
110 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
34 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
55 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
28 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
68 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
60 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
45 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
13 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
52 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
442 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
104 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
75 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
29 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
96 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
226 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
126 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
854 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
308 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 ...
1
vote
0answers
112 views

How to run Windows with GPU virtualization?

A year ago I switched to Ubuntu for my primary OS, which has worked out just fine. Every now and then I want to play computer games and while using Wine often works, I can't get all of the games that ...
0
votes
1answer
99 views

QEMU guest agent problems - hosts and guests in different versions

We have multiple hosts with multiple KVMs each. Some hosts run with Ubuntu 12.04 LTS and newer ones with 14.04 LTS. The guests also have different versions like 12.04 LTS and 14.04 LTS. I want to ...
0
votes
2answers
132 views

QEMU Guest Agent for Ubuntu 12.04 LTS

I've been looking for the QEMU Guest Agent for Ubuntu 12.04 LTS. It seems like the Guest Agent is included in the official Repository from Ubuntu 14.04 and up ...
2
votes
0answers
126 views

How to differentiate 2 NICs with the same PCI address

I am running Fedora 22, and have a GPU that I passthrough to a KVM guest. I accomplished this by adding pci-stub.ids=<pci id 2>,<pci id 2> to my Grub boot option. The two PCI IDs I'm using ...
2
votes
1answer
2k views

how to create custom vagrant box from libvirt/kvm instance?

There are many resources on the Internet to create a custom vagrant box from a VirtualBox instance. But I want to know a direct method to create a custom vagrant box directly from a kvm/libvirt ...
2
votes
1answer
121 views

Is it possible to read PVclock from user space?

Is it possible to read clocksource xen or kvmclock using some user space tool? Referring to /sys/devices/system/clocksource/clocksource0/current_clocksource. Reading the actual value of the pvclock. ...
1
vote
1answer
669 views

Start a kvm virtual machine fullscreen on boot

How can I start a Windows virtual machine in kvm on boot in fullscreen mode, in a way that the fact that Windows is running virtualized is completely hidden from the windows user ? Basically after ...
1
vote
1answer
208 views

KVM host, add LV to guest

I have a KVM host with a software RAID 10 array. The software RAID 10 array is a PV on the host and there's a single VG. I have a couple of LVs used at the host level (a datastore for KVM guest .img ...
0
votes
1answer
362 views

can't launch android emulator while logged in over vnc?

i have a headless box running bbqlinux that i'm trying to use as an android-studio development box. when i go to launch an .avd in the emulator, i receive this error: Cannot launch AVD in emulator ...
0
votes
0answers
27 views

KVM and peripheral devices

How does KVM work with peripheral devices? Are devices emulated in user space or in kernel space through the device driver? The host and guest operation system cannot claim both a device, and how ...
2
votes
1answer
40 views

Debian Kickstart Files Failing To Download

I have found that if I try to host my kickstart files on github and pass the raw url to virt-install, such as below, it will fail. ...
1
vote
0answers
151 views

Binding/unbinding GPU between host OS and pci stub while host OS is running

Using a Debian 8 host, I'm interested in setting up a Windows VM guest which gets direct access to my dedicated/discrete graphics card, to see what sort of performance I can get out of it for games ...
0
votes
0answers
35 views

Qemu overlay image size limit

I created a qemu ubuntu vm. Now I use overlay images as a quick way of creating vm's "on the fly". But what is the size limit for an overlay image? Is it the size of the "base" image? Or can it grow ...
1
vote
1answer
104 views

qemu command line management

I'm interested in qemu, specifically the kvm feature in Linux which is operated through the command line. I see there are a ton of features available for gnome-boxes and libvirt specifically. My ...
0
votes
0answers
124 views

Debian server management GUI

I have to manage a number of Debian servers (one as the KVM host, and the others as virtual servers for File management, Infrastructure management - DNS, DHCP etc, and finally a Debian based ...
0
votes
0answers
49 views

Kickstart with NFS does not work on static IP on KVM

I am using virt-install to use KVM qemu to launch centos VM. The DVD extracts of centos are hosted on a NFS server. The kick start has the line. network --onboot on --device eth0 --bootproto dhcp ...
0
votes
1answer
658 views

enabling vnc after using virt-install

I've created a virtual machine using virt-install with graphics --none. I want to enable vnc. I've tried virsh -c qemu:///system qemu-monitor-command vm171-SC-1 --hmp change vnc :3 but it doesn't ...
0
votes
1answer
37 views

Is it possible to allocate slices of disk to a KVM storage pool?

When using virt-manager to create a storage pool it does not give the option to set the size. Instead, it assumes that an entire partition is available to the pool. I would expect this to cause ...
3
votes
0answers
152 views

How to send mouse and keyboard to Virt-Manager guest

I have a Windows guest in virt-manager running headless (no spice server) because video is output through a GPU (pci passthrough). But my question now is how to send the keyboard and mouse to the ...
3
votes
2answers
3k views

Install VM from command line with virt-install

Disclaimer : I now use virt-manager to create and manage my VM and it is really a life saver. It can be used remotely if the host does not have graphical display. The occurrences of vnc in the ...
1
vote
1answer
824 views

How to send/upload a file from Host OS to guest OS in KVM?(not folder sharing)

I have to make a configuration file available to guest OS running on top of KVM hyper-visor. I have already read about folder sharing options between host and guest in KVM with 'qemu' and 9P virtio ...
0
votes
0answers
23 views

How to mount a path into a kvm?

I have a Windows machine inside a kvm machine on a Linux system. I would like to mount /home/myuser/Documents into 'c:\Users\myuser\My Document'. How can I make the D: drive be an alias for the ext3 ...
3
votes
3answers
2k views

Debian 8 KVM Guest - Loading initial ramdisk

I have updated my KVM management script for Ubuntu 14.04 KVM hosts to support debian 8 guests. After a manual installation (preseed script does not work yet), I am stuck with the the following message ...