Tagged Questions

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
0answers
9 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
13 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
0answers
32 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
7 views

Is it safe to update update libvirt with saved guest VMs?

I'm running Ubuntu Server 14.04.1 as a virtual machine host using libvirt and need to update the libvirt packages. Rather than fully shutting down the guests I'd like to just save them (persist their ...
0
votes
0answers
25 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
18 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
156 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
143 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
15 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
52 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
24 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
42 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
45 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
47 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
63 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
98 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
82 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
144 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
37 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
71 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
67 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
924 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
53 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
37 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
56 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
299 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
42 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
205 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
518 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
543 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
43 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
56 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
180 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
122 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
81 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
1answer
267 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
70 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
62 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
256 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
255 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
62 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
322 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 ...
0
votes
1answer
530 views

dnsmasq(as DHCP server) isn't working in KVM+libvirt envirmont

I'm using dnsmasq as DHCP server in VM environment. But It didn't working. I disabled basic DHCP feature in libvirt. <network> <name>default</name> ...
12
votes
2answers
4k views

Linux containers (LXC) on Red Hat/CentOS EL6 - lxc-create versus libvirt?

It's tricky trying to stay within the good graces of Red Hat and still plan for system longevity... I've been a proponent of Linux Containers (LXC) for over a year. My initial installations were ...
2
votes
1answer
89 views

Any way to increase the libvirt guest network response time?

We are running a number of Debian Wheezy VMs on top of Ubuntu Servers 12.04.4 / Libvirt 0.9.8-2ubuntu17.17 The host is connected to the network through a trunk. It then split the VLANs and create a ...
0
votes
1answer
184 views

check a vps guest memory usage and CPU usage

I have vps guests that are managed by KVM and libvirt. Using virt-df, I am able to check the real disk usage of each vps guest. #virt-df [--options] -d domname Is there a similar utility tool to ...
0
votes
0answers
100 views

Cannot add any virtio discs in virt-manager, how to fix?

I’ve just freshly installed virt-manager and libvirt-bin (and related packages) on a Debian sid system, and have a strange problem I’ve not yet seen on another similar installation: When creating a ...
2
votes
1answer
268 views

Persistent Network Configuration using KVM and libvirt

Our environment will have a KVM host setup dynamically using kickstart (easy enough). The hard part is dealing with network configuration and keeping VLAN configuration (and possibly bridge/host ...
0
votes
1answer
91 views

Live migration: is it possible to store image disks on a single iscsi target?

From redhat documentation: A guest virtual machine installed on shared storage using one of the following protocols: Fibre Channel-based LUNs iSCSI FCoE NFS SCSI RDMA protocols (SCSI RCP): the ...