libvirt is an API and toolkit for developing applications which manage virtual machine hypervisors, the virtual machines running under them, and virtual machine storage.

learn more… | top users | synonyms

1
vote
0answers
11 views

Force libvirt to pass always the same device number to the guest on USB device reconnection

I have a HP plotter connected with a USB cable to a debian server through a USB hub. On the server there is a virtualized Windows XP. Everytime I reboot the plotter a different device number is ...
0
votes
1answer
18 views

What's a good way to check KVM networking status?

I'm running several KVM with libvirt on a debian wheezy host. I want to check networking (maybe more later on) on the guests and if it is not available, restart the guest in question. Is there ...
0
votes
1answer
34 views

libvirt and host firewall

Hiho! I'm using libvirt with kvm and that works great. My desire is to lock down the host system using a host firewall. Up to today I always used shorewall as my iptables mangement utility of choice. ...
0
votes
1answer
12 views

Changing qemu/libvirt default gateway IPv4 IP to something other than x.x.x.1/24

General info: I have a KVM-libvirt/qemu running on ArchLinux; 3.18.2-2-ARCH ls | egrep -i 'libvirt|qemu' libvirt-1.2.11-1-x86_64.pkg.tar.xz libvirt-glib-0.2.0-1-x86_64.pkg.tar.xz ...
0
votes
0answers
47 views

Xen / libvirt - “End of file while reading data: Input/output error” when attempting to start a domain

I'm getting the following string of errors when I attempt to start a domain using virsh: virsh # start vimes error: Failed to start domain vimes error: End of file while reading data: Input/output ...
0
votes
0answers
16 views

How can i rename a vm in libvirt with snapshot? [duplicate]

I tried to rename a VM in libvirt, but the VM with the new name does not bring the snapshot on the old name. Is there a command to proper rename the VM, that handles this, or i need to import the ...
-1
votes
1answer
25 views

kvm host server how to set limitation vps mail per hour

Host server OS Centos, virtualization libvirt. I need set limitation mail per hour on one VPS, it's possible from host server or need do it on vps ?
1
vote
3answers
82 views

mount a root disk in mnt

How can I mount a root virtual disk from another VM on my CentOS ? In order to change some files on it, not to use it as a real root disk. there are 2 partitions on my virtual disk : /boot (Linux ...
2
votes
1answer
31 views

libvirt - Restart VMs after return from power failure?

Is there any way to make KVM automatically restart any VMs that have been shut down due to power failure? Here is my scenario: I run a small VM tank, mostly with development VMs on it. I now have a VM ...
0
votes
0answers
16 views

mounting logical volume attached to vm while vm is running

i am experimenting lvm2 and qemu-kvm. and I want to share and ask some questions. at the end of there is appendix what i am doing. a logical volume on host is attached on guest host (vm) as vda. this ...
1
vote
1answer
18 views

How to disable lbvirt network DNS

Is there a way to disable DNS in libvirt network? I want to have custom configured dnsmasq for local DNS caching but libvirt's dnsmasq holds 53 port.
0
votes
0answers
30 views

CoreOs VM getting deleted after shutdown on libvirt

I installed CoreOs on libvirt using link https://coreos.com/docs/running-coreos/platforms/libvirt/. The VM is also showing inside Virtual Machine Manager and working fine. The problem is once I ...
0
votes
0answers
50 views

OpenStack Live-Migration VNC server error

I am following steps in : https://www.mirantis.com/blog/tutorial-openstack-live-migration-with-kvm-hypervisor-and-nfs-shared-storage/ But got a following error, when i try doing live-migration: ...
0
votes
0answers
28 views

Pass all traffic on an interface to the guest

I am trying to setup an NSM sensor using a VM. I have mirrored traffic from a Physical switch coming to eth1 of the host machine. I want the entire traffic to be available on the guest. Additionally, ...
1
vote
1answer
51 views

How do I disable the metadata lookup at cirros boot?

I am booting cirros VMs outside of an Openstack environment using libvirt. At boot, the VM checks for metadata twenty times, which adds a lot of latency to the boot time. cirros-ds 'net' up at 6.14 ...
0
votes
0answers
36 views

Using Xenlight with libvirt in debian, Unable to configure listen with remote libvirt

I am using libvirt 1.2.0 with xen hypervisor 4.4 in debian server. I am facing error when I try to connect remotely with other libvirt using TCP or TLS. I couldnt make libvirt to listen to the port. I ...
0
votes
1answer
199 views

Access libvirt+KVM virtual machines with DNS

I have an Ubuntu Trusty machine running KVM + Libvirt to manage small virtual machines, and using the standard NetworkManager to connect to regular networks. I want to be able to access the virtual ...
0
votes
0answers
113 views

Guest-VM can only ping CentOS KVM host, cannot access anything else

[root@KVMHOST]# ifconfig br0 Link encap:Ethernet HWaddr 00:1E:67:6B:17:2F inet addr:200.200.100.54 Bcast:220.225.255.255 Mask:255.255.0.0 inet6 addr: fe80::21e:67ff:fe6b:172f/64 ...
1
vote
0answers
47 views

Why won't my libvirt VM communicate with apt repositories when wget and ping work?

I'm trying to use Vagrant and Puppet to make it easier to duplicate a multi-server setup for our websites. The recommended workflow is to vagrant up the puppetmaster server specifically first, and ...
0
votes
1answer
661 views

How can I change Qemu KVM machine architecture from 440fx to q35 with virsh edit or virt-manager

Still trying to get GPU passthrough working and decided to change machine type from older 440fx to q35 ie pc-q35 but if I do virsh edit on the config it refuse to save saying "PCI Bridges not ...
0
votes
1answer
426 views

Debian Jessie Qemu KVM GPU Passthrough to Windows Virtual Machine guest Virt-Manager error Bus PCI not found

I'm having problems with Virt-Manager not wanting to boot a VM and giving error: Error starting domain: internal error: process exited while connecting to monitor: char device redirected to ...
0
votes
0answers
21 views

LXC breaks IP-connectivity

I have i Libvirt/KVM-host with two physical ethernet cards. I use two bridges for these cards, one bridge for a local DHCP-based network and one for static public adresses. I use the first bridge to ...
1
vote
0answers
95 views

libvirt / kvm guests take very long time to start after host reboot

Host system is CentOS 6.5 x86_64. I have setup an Ubuntu guest by following this wiki. The guest works, but: if I reboot the host, it takes a very long time (about 30 minutes on the last reboot) ...
0
votes
0answers
44 views

KVM Spice Problems on Jessie

I followed this tutorial to setup SPICE with libvirt/kvm for the sole purpose of to be able to copy text between the VM and my host machine (which is not a problem for vmware, virtualbox etc). ...
0
votes
1answer
56 views

live migration of a virtual machine to a different machine

I am trying to do live-migration using KVM (libvirt). VM is called host1 and dest. IP address is 10.81.1.9. However, running the following command gives me an error that I am not sure what this ...
0
votes
0answers
200 views

Live migrate a libvirt/kvm virtual machine with both local and shared storage

I want to use both local (for better performance where it matters) and shared (for big slow disks) storage for a VM. Is it possible to live migrate such a VM? If the storage was pure local, the ...
0
votes
1answer
78 views

Access pty login prompt in VM

I have created a VM with virt-install, using as install media a Ubuntu 14.04.01 LTS server ISO. During the installation phase I was connected to the VM via the graphical console. Now I have the VM ...
-1
votes
1answer
122 views

ERROR Host does not support virtualization type 'hvm

hello I have a problem in installing vm on KVM using libvirt(virsh install -) sudo virt-install -n ccnx1 -r 512 --vcpus=1 --os-type=linux --accelerate --nographics -v -l ...
0
votes
1answer
302 views

ERROR Host does not support virtualization type 'hvm'

I have a problem in installing vm on KVM using libvirt virsh install sudo virt-install -n ccnx1 -r 512 --vcpus=1 --os-type=linux --accelerate --nographics -v -l ~/ubuntu-12.04.5-alternate-i386.iso ...
0
votes
1answer
134 views

Is there a way to connect VMWare Workstation / Fusion to non-esx Libvirtd-managed virtual machines?

I'm using KVM virtual machines managed through libvirtd server-side for most of my projects. On my desktop however, I'm using VMWare Fusion Professional which, just like its VMWare Workstation cousin, ...
1
vote
1answer
378 views

Remote automated provisioning to a XenServer Hypervisor

I'm currently working on a project where I use Vagrant with Ansible provisioning to create local environments in VirtualBox. I'm currently working with a University and we have a XenServer Hypervisor ...
0
votes
1answer
46 views

QEMU guest can access HTTPS sites, but not HTTP

So I'm configuring a QEMU guest on my Debian Wheezy server, using virt-manager. As guest I've installed Ubuntu 14.04.1 server. The server contains the following iptables rule: iptables -t nat -A ...
1
vote
0answers
88 views

how to design network for virtual machines with just one nic

for the past week or so i've been recovering from the shock that i have literally no idea how my isp's network works, by getting a new box and trying to do a sensible design from scratch. our design ...
0
votes
1answer
93 views

Restarting the networking on the HOST makes GUEST lose connection

I am probably missing something but have a KVM virtualized HOST/GUEST setup. The GUEST is using a bridge (br0) on the HOST for internet connectivity. When I make a "/etc/init.d/networking stop ; ...
1
vote
1answer
3k views

KVM/libvirt: How to configure static guest IP addresses on the virtualisation host

What I'd like to do is to set the guests' network configuration (IP address, subnet, gateway, broadcast address) from the host system. The used network setup is in bridge mode. How can I configure the ...
1
vote
2answers
92 views

Cut'n'paste between X11 Desktop and the virt-manager VNC graphical console of a Win7 VM guest on a Server

I have a licensed copy of MicroSoft Windows 7 professional installed and running as guest on my Linux server running qemu-kvm. This works just fine. But I was unable to figure out how to ...
0
votes
0answers
47 views

openvpn peers can ping network but not reverse

In a nutshell, I have two libvirt/kvm hosts on which I have virtual machines running. The hosting company that these machines are with cannot provide any sort of virtual network between these ...
0
votes
0answers
108 views

Libvirt/KVM vm - No network connectivity

I have installed devstack (OpenStacks development platform) on a physical ubuntu 14.04 host and I have been trying to follow the tutorials for manually creating an image. I have tried for Ubuntu and ...
2
votes
2answers
621 views

Windows guest on KVM/Qemu suffers horrible key lag

Host OS is Arch Linux with the following versions:- qemu 2.1.0-2 libvirt 1.2.7-1 linux 3.15.8-1 Guest OS is Windows 7 64-bit. This problem did not exist when I first created this VM and started ...
1
vote
2answers
48 views

Any suggestions on setting a vswitch to allow a kvm guest to pxe install from an external boot server?

Any suggestions on setting a vSwitch to allow a kvm guest to pxe install from an external boot server? I'm trying to configure a vSwitch, in Fedora 20, so that I would be able to do a net-install, of ...
2
votes
2answers
360 views

How to setup IPTables on KVM host - iptables-persistent is being ignored

I'm trying to setup some specific IPTables rules on an ubuntu 14.04.1 host that runs some KVM guests. The box has multiple NICs with multiple IP addresses and the guests use different addresses based ...
1
vote
1answer
1k views

KVM Ubuntu Guest cannot connect to the internet on bridged networking

I have Ubuntu 14.04 (64 bits) + KVM Host with 2 NICs: - eth0 connected to the "public" network - eth1 connected to the br0 bridge with a private ip address range From Host I can access internet, ...
2
votes
1answer
1k views

Poor network performance with KVM (virtio drivers) - Update: with vhost_net

I've set up several KVM based networks before, and never encountered this issue, can't for the life of me think what I'd have set up differently previously. Setup Basically, Ive got and entirely ...
2
votes
1answer
55 views

Linux virtual bridge not transparent

I'm attempting to set up the Openstack tutorial demo using libvirt VMs on my desktop but I'm having some problems with the virtual bridge on the host desktop. While debugging this, I noticed that the ...
-1
votes
1answer
80 views

KVM unix socket file permission for VNC

I'm using kvm-qemu/libvirtd for a bunch of kvms. I'm using vnc for the graphical interface. By default, it listens on a tcp socket. I want to have it listen on a unix socket instead. Looking at some ...
0
votes
0answers
201 views

CentOS Host KVM Virtual Machine running a Windows VM - No internet access

I've installed a KVM virtual machine on a CentOS host using libvirt. I've also set up a bridged connection from the interface en0:4 running on IP x.x.x.15 to br0. (The IP is a public one). Running ...
0
votes
1answer
166 views

EL6/KVM guest dies with “pthread_create failed: Resource temporarily unavailable”

I've got a CentOS 6.5 x86-64 KVM server with a bunch of guest VMs of different breeds, mostly EL5 and EL6. However one and only one of them keeps crashing every couple of days with: pthread_create ...
0
votes
0answers
143 views

Importing an ARM qemu machine using libvirt

Context: I'm trying to virtualise a raspbian disk image using qemu so that I can easily use it with vagrant/puppet. The steps I've figured out so far are create a VM using qemu import this VM into ...
0
votes
2answers
394 views

How can I make Windows Server 2012 running on KVM boot with virtio rather than IDE?

I have Windows Server 2012 Essentials running on KVM in Ubuntu 14.04. I've had some problems detailed here Windows Server 2012 on KVM on Ubuntu 14.04. Runs well for a while and then slows down I ...
2
votes
0answers
98 views

LibVirt (QEMU) Shutting down from inside guest

I am currently running LibVirt with Qemu on Debian Wheezy: Versions: libvirtd (libvirt) 1.2.4 qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) 2003-2008 Fabrice Bellard It's ...