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

Virt-manager internal error: Network default is not active

Virt-manager is not booting up any more guest machines & it says, """Error starting domain: internal error: Network default is not active""". On looking at log file, it says ebtables not ...
0
votes
1answer
28 views

State of VM after 'virsh save'

virsh save vm_name memdump and then virsh restore memdump restores a (running) VM all right. However, a VM is shut off after virsh save. I'm writing a "live" backup and restore script for KVM VMs, so ...
0
votes
1answer
21 views

Revert libvirt external snapshot

Having some issues understanding how to revert snapshots on ubuntu 14.04 using KVM... Until now i have been using internal snapshots, however due to space issues (space not being re-allocated after ...
1
vote
0answers
79 views

Access to equally defined VM in different VLANs

I have a working libvirt cluster and in order to perform some paralellization I have duplicated it. At the moment my scenario looks like this: two clusters whose VM definitions are exactly the same, ...
0
votes
1answer
14 views

libvirt external snapshots: snapshot chain linked through filenames or inodes

If I have the following chain (it was created using external snapshots through virsh): base.qcow2 --> snap1 --> snap2[current] Now if I copy "base.qcow2" to a remote location, del the original ...
0
votes
0answers
37 views

Backup KVM running machine safely

I read some solutions to make backups of running VMs, but all take offline snapshots that seems difficult that will work if the VM has high I/O load. I have tested but i have doubts about the process ...
0
votes
1answer
30 views

9p root filesystem using libvirt and QEMU

I'm attempting to boot a Linux VM with a 9p root file system using libvirt. This works perfectly when QEMU is invoked directly, using the following command: qemu-system-x86_64 -enable-kvm \ -kernel ...
0
votes
1answer
12 views

nova volume-detach fails silently, compute log shows libvirtError: invalid argument: no target device vdb

Using Openstack Havana, I'm trying to detach a cinder volume from a nova instance. Nova volume-list shows it as in-use: | 34b0ea26-f85c-4b62-8ebd-884b0e63e2d5 | in-use | filestore | 256 | None| ...
0
votes
0answers
40 views

How to configure and use qemu-guest-agent in Ubuntu 12.04? My main aim is to get the IP address of guest VM from Host machine

In the documentation it is not very clear that how to install and use qemu-guest-agent in Ubuntu 12.04. So can anyone help me out ? http://wiki.libvirt.org/page/Qemu_guest_agent It is a daemon ...
2
votes
2answers
47 views

How to measure boot time of a VM from host machine?

On both Guest machine and host machine, I am using Ubuntu 12.04. As a hypervisor I am using KVM. I want to perform some experiments related to boot-storm and I have created all other scripts to ...
2
votes
1answer
76 views

Pass an USB hub from a KVM host to a guest with libvirt

I have the following USB devices on a Linux server: # lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/2p, 480M |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M ...
0
votes
1answer
45 views

routing a second public IP to multiple VM's

myself and a friend have rented a dedicated server and have used KVM and libvirt to create virtual machines for us to use. (we are using debian jessie on the host) we purchased two additional IP ...
3
votes
2answers
89 views

attaching usb dongle to KVM VM

I'm struggling to connect a usb device, that gets detected correctly by the host, to a kvm vm. I have a freshly installed Ubuntu Server 14.10 as KVM/QEMU host. I set up an Ubuntu vm using this ...
0
votes
1answer
126 views

Installing a Windows guest with virtio in a single step (Debian)

I am trying to create a Windows 7 (32bits) with virtio disk and network in a single step using virt-manager. I've been trying to follow the step-by-step procedure here. However there is no such ...
0
votes
1answer
112 views

Running Vagrant/libvirt: trying to establish public/private networks

I'm running Vagrant 1.7 (from their official 1.7 packages) on Ubuntu 14.04 LTS and I'm trying to provision several private VMs and one public one. My Ansible provisioning scripts change all the ...
1
vote
0answers
82 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
29 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
102 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
58 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
2answers
195 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
18 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
34 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
105 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
58 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
19 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
36 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
53 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
104 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
40 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
99 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
59 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
515 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
142 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
61 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
2answers
1k 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
621 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
25 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 ...
2
votes
0answers
126 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
62 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
74 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
365 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
133 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
144 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
487 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
194 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
749 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
50 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
99 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
151 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
5k 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 ...