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
6 views

libvirt bridge is not forwarding arp replys

I did set up an vm with libvirt but it gets only sometimes network connectivity. I could narrow the problem down to the bridge is not forwarding the arp replys from the vm. From within the VM I can ...
-1
votes
0answers
19 views

Run same virtual machine twice simultaneously from the same base snapshot

I would like to have a base snapshot and then launch several virtual machines from it simultaneously. These machines have a short lifetime and then shutdown, there is no need to save the changed to ...
0
votes
0answers
31 views

Are some of libvirt's default NAT iptables rules redundant?

To avoid my iptables scripts overwriting the rules set by libvirt for NAT, and to use my own DNS/DHCP server instead of dnsmasq, I had to manage my own virtual bridge instead of using libvirt's ...
0
votes
0answers
62 views

How to assign ipv6 to my kvm guests route mode

Do you know how assign ipv6 global addresses to my KVM Guests?My ISP provider advertise an ipv6 prefix /64.I use libvirtd an here is configuration. When i restart virbr0 cant communicate with local ...
0
votes
1answer
46 views

SCSI virtual disks not showing up on RHEL 7.X KVM guests

For whatever reason I can't get my virtual disks to show up on any of my RHEL 7.X guests (libvirt + KVM). The XML is configured just like my other guests so I know it isn't an issue on that end. It ...
0
votes
0answers
14 views

libvirt vhba storage pool configuration

I'm running a project where I will use libvirt NPIV/vhba functionality to pass Fc LUN's from a SAN to KVM virtual machines. I'm using CentOS7 as host. I will also mostly use CentOS7 as guests. I got ...
0
votes
0answers
26 views

OpenStack instances power off by itself

Already asked this over on ask.openstack.org but I figured it would get more views here too. I am running OpenStack Mitaka on a 5 node cluster, 1 controller/network node and 4 compute nodes. I am ...
0
votes
0answers
29 views

virt-install fails when binding to spice socket

I'm trying to set up a Windows 2008 server virtual machine on CentOS 7 with virt-install. I currently have two linux containers running without issue. The command I'm running to set up the VM is virt-...
1
vote
0answers
30 views

KVM/libvirt: NAT forwarding virtual bridge to host bridge

I currently have a VM setup where only a few 'special' VMs are allowed to have outward facing IP addresses and the rest aren't. All of them are configured with two interfaces attached to a virtual ...
0
votes
0answers
38 views

Need disk UUIDs in KVM guests

I'm porting a virtual server cluster solution from ESX to KVM (libvirt) and am running into a bit of trouble. In order for our propietary volume manager to label and slice the virtual disks, we had to ...
0
votes
0answers
36 views

LXC containers cannot connect outside of VM

I have two CentOS 7 LXC containers on a RHEL 7.2 VM using virbr0 as a virtual bridge. Originally, container1 could connect out and do e.g. yum installations, but after I created container2, neither ...
0
votes
0answers
32 views

Virsh cannot connect to Xen server

I have installed the latest version of Xen server 6.5. Now I want to connect to it with virsh (libvirt-bin). When I do this I get the error error:end of file while reading data: sh:nc:command not ...
0
votes
1answer
71 views

libvirt: set hostname using dhcp in virtual network

I've configured a host-only (aka private) network for a group of VMs on a CentOS 7 host. I've created static leases in the DHCP section for the virtual network. The IP address is getting set ...
2
votes
1answer
86 views

OpenStack Juno Live-Migration never completes for instances with high load and size >64GB

I have run into situations where live migrations never seem to complete or error out. Here is how I have been able to reproduce the problem. Here is the instance I am migrating: [root@osc1-mgmt-001 ...
1
vote
0answers
36 views

Gentoo virt-manager IO throttling

I have a problem with virt-manager (or qemu/libvirt) installed on gentoo. Here is My virt-manager installed on Debian Jessie: There I have IO throttling but not on my Gentoo: I tried to search ...
0
votes
0answers
14 views

From what file/script libvirt inject rules in iptables when I start service libvirtd?

Everybody know that libvirt have his own list of rules for iptables, that he automatically inject in our iptables, after we start service libvirtd Problem: After standard installation of KVM and ...
0
votes
0answers
99 views

How to boot livecd linux distro under kvm virtualization with virt-install or virsh?

I am trying spin up a small livecd linux distro with virt-install under KVM and got access to it via virsh console. And I am kinda loss with --location, --livecd and --cdrom parameters. How should I ...
0
votes
0answers
21 views

KVM virt-install pxe options

I want to boot my vm up to the PXE server, but I need a way for my dhcp server to recognize that it is a virtual machine and set the next-server to a specific IP. Are there any other options I can ...
0
votes
0answers
29 views

KVM - libvirt qemu script make duplicates in iptables

OS: CentOS 7 Firewall: iptables libvirt: 1.2.17 Problem: I used guide to make port forwarding from host to gues machines. Link to guide: http://wiki.libvirt.org/page/Networking#...
0
votes
0answers
21 views

Foreman Error creating compute resource

I'm using Ubuntu 14.04. I'm trying to make a compute resource in foreman using libvirt. I followed the instructions, but I keep getting the following error when I enter my url: "Unable to save ...
0
votes
1answer
54 views

Nova Computer Service WIll Not Start: libvirtError: XML error: Missing CPU model name

I am having a problem with the Nova compute service not starting. I found tons of other people with this question, but nobody seems to have figured out the problem: systemctl status openstack-nova-...
2
votes
2answers
287 views

iptables / KVM forward port

I have a server with one external IP address (e.g. 1.2.3.4). On that server I use libvirt to run virtual machines. Now I want to access a virtual server on my host via ssh (port 1234) from the outside....
1
vote
1answer
127 views

Clone KVM virtual machine with snapshots

I've created a virtual machine using virt-manager and saved a snapshot of it's current state. Now I'd like to create an exact duplicate machine with all snapshots from the first machine. How could I ...
0
votes
1answer
74 views

QEMU, Virsh and SMBIOS tables edit

I am currently running qemu-kvm on an Ubuntu server box and I use libvirt with Virsh to create, manage, start and stop VMs. I edited VM's XML configuration through virsh edit command to change CPU ...
1
vote
1answer
71 views

Install virt-sysprep on Ubuntu 14.04

I'm using vagrant with vagrant-libvirt and I want to create a package via the command-line: vagrant package --output ubuntu14-base.box I've got an error around virt-sysprep being absent (confirm ...
0
votes
0answers
15 views

Start KVM with readonly CD image from libvirt on Debian jessie

I have a Debian jessie machine that has a network share containing ISO images mounted from another server, with the share being readonly. Now I'd like to start a new VM, using an image from the share ...
0
votes
0answers
12 views

Creating a new libvirt VM based on existing snapshots

I have a libvirt/qemu-VM with multiple snapshots. (I can for example use virt-manager to see those snapshots.) Is there a way to clone this VM completely keeping all the snapshots? Is it otherwise ...
0
votes
0answers
11 views

Unable to access VM after DHCPACK libvirt

The installation of a particular software makes my VM lose its connectivity. The point where it hangs is 2016-04-05 16:49:11.996 | Listening on LPF/o-hm0/fa:16:3e:b2:43:4c 2016-04-05 16:49:11....
0
votes
0answers
48 views

KVM/libvirt: Using virtio disk driver in Debian installer

I try to install Debian in a KVM-based VM using the virtio disk driver/bus and virt-install to run the installer. However, it seems that the installer lacks the virtio driver. Once I switch to bus=...
1
vote
2answers
173 views

Accessing linux guest OS filesystem in qcow2 image

I'm attaching VM qcow2 image to get access to files which inside: modprobe nbd max_part=63 qemu-nbd -n -c /dev/nbd0 /var/lib/libvirt/images/vm-image.qcow2 scanning for volume groups vgscan: ...
1
vote
1answer
113 views

CentOS 7.2.1511 libvirt firewall configuration

I have a few CentOS7 setups in which I use iptables to forward ports from host to guests. Recently, i updated to 7.2.1511 and it seems libvirt insists firewalld to be active vs using iptables command ...
0
votes
2answers
64 views

virsh qemu kvm editing xml has no effect

When I try to add a network section to a kvm/qemu xml, the xml wont update with the information. When I edit the uuid, or make a mistake, i get an error. if i change the memory amount, it reverts to ...
0
votes
0answers
9 views

libvirt-Can I use 'virsh save' this command only get 'vm physical memory'?

I use 'virsh save ' to create an image,but I only want to get 'vm physical memory'.I don't know how to do it now.If you know the answer please tell me.Thanks!
1
vote
1answer
44 views

Modifying libvirt firewall rules between virtual networks

On my my VM host, I have two libvirt virtual networks: virbr0: 192.168.122.1/255.255.255.0 virbr1: 192.168.130.1/255.255.255.0 I have a VM behind each of those virtual networks. Machines can see ...
0
votes
0answers
18 views

how to change or modify libvirt xml domain definition?

first of all excuse my bad english. I would like to know if it is possible to modify default xml domain definition location (/etc/libvirt/qemu). I would like to change this default path. tanks your ...
1
vote
1answer
18 views

Creating libvirt “mcast” networks using virt-install?

I would like to create virtual machines with mast network interfaces. This is possible to by first creating a guest using virt-install, then modifying the domain XML. Is there a way to do this from ...
1
vote
1answer
85 views

virsh net-define for CoreOS cluster

I have a kvm/qemu/libvirt host with several VMs running happily on br0 with IP addresses that are in the same network as the host they run inside, 192.168.10.0/24. So I'm playing with CoreOS and ...
1
vote
0answers
100 views

Libvirt & USB Hub Passthrough

I have a virtual machine which I wish to have a USB Hub and all of its devices allocated to a virtual machine. The Hub in question is a USB hub which itself is plugged into one of the ports on the ...
1
vote
0answers
111 views

VNC not working on XEN/libvirt domU - debian jessie

Hi recently configured a brand new server for testing purpose: debian jessie (8.3) xen 4.4 (xl toolstack) virtinst I created and started a new domU through virt-install: virt-install \ --...
0
votes
0answers
34 views

Xen+Libvirt: How to use PVH mode with Libvirt?

PVH mode is an hybrid of PVHVM and PV modes, where you use both virtualization and paravirtualization techniques for improved guest performance. It's been introduced around Xen 4.4. I'm using Xen 4.6 ...
0
votes
1answer
36 views

Creating a new domain in libvirt from a base domain

TL;DR at bottom I am building a web interface for libvirt as a project. I am using libvirt-php as the language binding to libvirt and everything is working, except for domain creation, sort of. The ...
0
votes
1answer
43 views

same libvirt config, one machine boots, the other does not

I am migrating a bunch of vms from an old machine to a new one. The old one was using some in-house scripts and lvm logical volumes, the new one uses libvirt and plain files. The configs are rather ...
1
vote
0answers
27 views

Libvirt does not see updated LVM volume

All VMs run off an LVM pool. I resized one of the LVM volumes to increase VMs drive copacity. Resized it with lvextend as usual. Everything is successful and lvs shows the new size. Libvirt does not ...
1
vote
0answers
48 views

How does Qemu handle memory?

I'm having a real hard time understanding something and I was wondering if anybody has any experience with this and is able to help. I have two KVM VMHosts, one running qemu 2.4.1 and the other ...
0
votes
1answer
131 views

Correct virtio setup on Ubuntu 14.04 64-bit host

At the present moment, my guest is running inside qemu and host is kvm intel, running Ubuntu 14.04, kernel is 4.3.0 stable. From within the guest, when I run "hdparm -i /dev/sdb" on the guest, I get:...
2
votes
1answer
50 views

How to create a new domain from an existing base image in virsh

Is there a way of creating a domain with virsh from a base image? I have looked around and found that it is possible using virt-install, however I would prefer it if this was done purely through virsh,...
0
votes
0answers
44 views

Virtual Machine Manager libvirtError: End of file while reading data: nc: invalid option — 'U'

When connecting to one of our KVM (libvirt + qemu) servers using the Virtual Machine Manager (virt-manager) we got the error: libvirtError: End of file while reading data: nc: invalid option -- 'U' ...
1
vote
0answers
148 views

KVM bad IO sync performance in Linux guest

I'm setting up virtualized Ubuntu 15.10 guest inside Ubuntu 15.04 server using libvirt and KVM. Storage in host system: # mount | grep ext4 /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,...
5
votes
1answer
1k views

WARNING KVM acceleration not available, using 'qemu'

Running debian (Linux Rick 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux) Looking at my cpuinfo I can see I have vmx support: flags: fpu vme de pse tsc msr pae mce ...
3
votes
1answer
83 views

kvm snapshot-create-as failed

I have Ubuntu server with qemu/kvm. I'm try to create snapshot (for further backup) using libvirt and get this error: # virsh snapshot-create-as --domain 56 --name copy_snap --no-metadata --disk-only ...