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

0
votes
2answers
43 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 ...
1
vote
1answer
13 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
11 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 ...
-2
votes
0answers
8 views

Prevent NetworkManager to manage mactap interfaces

My mactap devices is managed by libvirt. NM tryes to get ip on these, theen failed, set DOWN state. I know about preventing by MAC or interface name, but it is my test machine and i have many virtual ...
1
vote
1answer
13 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
11 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
26 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
17 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
34 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
20 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
88 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
68 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
34 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
339 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
264 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
16 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
74 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
32 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
49 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
102 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
61 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
92 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
180 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
102 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
215 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
42 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
82 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
74 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 ; ...
0
votes
1answer
2k 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
68 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
42 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
68 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
447 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
45 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
261 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
770 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
769 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
48 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
62 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
186 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
150 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
106 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
331 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
75 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 ...
1
vote
0answers
63 views

Change sender-IP for VM in libvirt behind NAT

I have a server with my own public /28 IPv4 Network. On this server I have some vServers, done with KVM/libvirt. These vServers are connected with a virtual network, NATed to the internet. Every ...
2
votes
1answer
330 views

Virsh domain has space in it, can not remove

I'm having trouble starting, or destroying a domain: virsh # list --all Id Name State ---------------------------------------------------- 1 pxe ...
0
votes
1answer
291 views

Accessing VirtualBox with libvirt from a guest

I have installed libvirt on OSX, and from outside a virtualbox I can access it using virsh no problem. However, I want to access it from inside a guest, and this is giving me the hopelessly useless ...
0
votes
1answer
73 views

virsh XML interface allocation

I am trying to launch VM using a XML. This VM will be having 5 interfaces each connected to certain bridge. Issue here is allocation of these interfaces is random. My XML <interface ...
0
votes
2answers
368 views

Force an LXC container to use its own IP address

Sorry if this question has already been asked. I could not find it, I have this setup : +---------------------------------------------------------------------------------------------+ |HOST ...
0
votes
1answer
64 views

How to start a new instance of QEMU based on the same image and snapshot?

I have a QEMU image (qcow2) with a snapshot stored in it. Right now I'm using libvirt to start it. However, I want to be able to run more than one instance of the same image+snapshot. I guess I can ...