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

learn more… | top users | synonyms

1
vote
0answers
25 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
88 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
38 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
88 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
137 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
174 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
42 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
73 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 ...
2
votes
1answer
160 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
864 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
151 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 ...
1
vote
2answers
93 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 ...
2
votes
1answer
2k 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
122 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
134 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
39 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
66 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
29 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
76 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 ...
3
votes
0answers
73 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
51 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
14 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
57 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
507 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
117 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
83 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
32 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
102 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
253 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
139 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
1k 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
374 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
116 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
114 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
143 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
134 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
125 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
720 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
222 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
374 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
44 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
163 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
36 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
109 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
127 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
51 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
739 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 ...