The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
60 views

Retrieve serial port information of a libvirt domain?

I'm trying to retrieve the serial port information, aka Source Path of a libvirt domain (using qemu/KVM machine): Serial Device 1 (Primary Console) Device type: pty Source path: /dev/pts/2 But ...
3
votes
1answer
291 views

Emulate unplugging a network cable with qemu-kvm

[Background: I'd like to actually test How to take down a static network interface when not connected? ] I'm setting up a QEMU-KVM virtual machine using libvirt (via virt-manager). I put two NICs on ...
3
votes
0answers
396 views

VGA passthrough - Code 43 with KVM and libvirt on all AMD hardware

I've set up a system with an R9-270 and an ATI Rage (PCI graphics card, doesn't use radeon driver) on an FX-8320 and an ASRock 970 Extreme3 R2.0 motherboard with the intention of running Debian Wheezy ...
3
votes
2answers
152 views

How to report back system installation progress

I'd like to do some reporting from the system setup progress for virtualised (libvirt/kvm) Ubuntu servers. I expected some kind of such system to already exist out there, but couldn't find anything. ...
2
votes
1answer
187 views

can't start default network, is there a way to run dnsmasq for both local and kvm?

I can't start KVM since I use dnsmasq on my laptop as a DNS cache server, So, I'm wondering if this can be merged to the server I'm running.
2
votes
1answer
54 views

Prevent libvirtd from modifying file attributes

I have a .vdi disk file that is shared between libvirtd and VirtualBox. Each time I start a program with libvirtd, the owner of the .vdi file is set to root. I'm wondering if it's configurable? I ...
2
votes
1answer
773 views

Bridged network with different subnets

I want to virtualize my webserver with lxc/virsh for this reason, I want to pass a IP to the lxc container. But my IPs are from different subnets, what I tried (but not successfully): Virsh network: ...
2
votes
1answer
41 views

How to name network adapters created with virt-install?

In order to test preseeded installation, I want to create a virtual machine as close as possible to an actual server I use in production. The server has two network adapters: p1p1 and p2p1. When ...
2
votes
0answers
11 views

libvirtd (KVM) doesn't reload the kernel when I reboot the machine

I'm using Direct kernel boot with libvirtd and KVM as backend. But, every time I recompiled the kernel, and reboot inside the VM, the changes doesn't reflect until I do a Force off and Power on ...
2
votes
0answers
54 views

Migrate a qcow2 image between storage pools

I have 2 storage pools. host_images (directory storage pool) remote_images (nfs storage pool) How do I copy qcow images from remote_images to host_images using libvirt APIs? I've tried using the ...
2
votes
1answer
153 views

KVM linux guest, 2nd HDD, LVM partition or whole disk

I've got a RAID 10 arrays on a couple of KVM host machines. The RAID 10 array is one big VG. I usually create a small LV for guest disk image storage then the rest of the VG I carve out as LVs to add ...
1
vote
2answers
536 views

virt-install and /dev/hda vs. /dev/sda

It appears that my virt-install xml file (i.e. created when defining a VM) specifies targets "hda", "hdb", and so on as the devices for disks, however, the VM, once created, lists /dev/sda, /dev/sdb, ...
1
vote
1answer
896 views

How do I port-forward 169.254.169.254-bound packets from libvirt/KVM guests to localhost?

This is a followup to What's the best way to have a 169.254.169.254 address local to my laptop?. Short story: 169.254.169.254 is the "well known" address of cloud metadata services for EC2 and for ...
1
vote
1answer
62 views

virsh, how to list autostart domains?

In virsh how do I see which domains are marked as autostart? virsh list does not show which domains are marked as autostart.
1
vote
2answers
237 views

Meaning of “target” in virsh XML VM definitions.

I recently found that the target=hda tag in virsh was actually not translating into guest OS (guest OS's use /dev/sdX as the disk device names, in general, it seems). virt-install and /dev/hda vs. ...
1
vote
0answers
26 views

complete KVM / libvirt breakdown after OS upgrade (openSUSE)

I have upgraded two E-350 systems which have been running VMs (one of the systems only Linux VMs, the other one Windows VMs) to openSUSE 13.1 (i.e kernel 3.11.10, kvm-1.6.0, libvirt-1.1.2). After a ...
1
vote
1answer
40 views

virt-resize complains: “virt-resize: error: You cannot use --expand when there is no surplus space to expand into.”

I am resizing an installed KVM domain # resize the partitions virt-resize --expand /dev/vda2 --LV-expand /dev/vg_main/lv_root $VMFILE $VMFILE.tmp and virt-resize throws an error: virt-resize: ...
1
vote
0answers
67 views

libvirtd not suspending guests

My guests, one windows, one linux, are not being suspended. I'm not sure why. Here's the output of systemctl, which looks wrong, but I've done systemctl start libvirt-guests && systemctl ...
1
vote
0answers
105 views

Virsh hangs while trying to connect

Running this command: # virsh -c qemu:///system list As root user, hangs with no error message. Not sure what's causing this. This problem started after a power failure in my lab. When I brought ...
0
votes
0answers
59 views

vdsm service won't start

I am currently evaluating Red Hat Enterprise Virtualization and have managed to set up the management server and the bare metal hypervisor. Now I'm trying to add a regular box running RHEL server 6.5 ...
0
votes
0answers
203 views

kvm/qemu linux guest vm wont boot

host linux (kvm/qemu/libvirt) guest linux (slackware) the slack vm pauses just after Loading Linux-virtio...... message. it's stuck in paused state. i think i shutdown the host without shutting the vm ...
0
votes
1answer
45 views

Some issues when install libvirt

I am trying to install libvirt from source codes, my workflow is shown below, #!/bin/sh apt-get install gnutls-bin libgnutls-dev -y apt-get install libxml++2.6-2 libxml++2.6-dev -y apt-get install ...
0
votes
0answers
29 views

Proper way for setting general policy and firewall rules with libvirtd

I'm just struggling with the firewall configuration of our new KVM Host. I think by now I understand how libvirtd implements networking, but I'm missing a way to set some decent firewall rules. To ...
0
votes
1answer
52 views

How to setup permission for virtfs in system libvirtd

I have troubles setting up the permissions for virtfs. I need to share a folder with several VMs in a way that user (same username, uid and gid on guests and host) can access it (have full ...
0
votes
0answers
71 views

Paravirtualized disk for Xen using libvirt?

I'm trying to use libvirt to create a paravirtualized xen domain. Here's the xml file that I'm passing to virsh --connect xen:/// define: <domain type='xen'> <name>xenguest</name> ...
0
votes
1answer
551 views

libvirt daemon doesn't start on Gentoo

I'm trying to use Xen with virt-manager on Gentoo system and I have some troubles with libvirt daemon. When it starts: Starting libvirtd ... /usr/sbin/libvirtd: error: Unable to initialize ...