The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
2answers
701 views

Is it possible to use comments in virsh / libvirt xml files?

I am using. virsh -c qemu:///system edit VM-Name And adding comments. <!-- test comment here --> It won't complain.* But the comment is removed. *Usually if you make a syntax error (for ...
3
votes
2answers
228 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
2answers
679 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
1answer
255 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| ...
1
vote
1answer
638 views

How to set up samba sharing with libvirtd

I'm using QEmu with a Windows 7 guest on my (Arch) Linux system. I'd like to use the samba to share a directory on my host system with the Windows guest. I can do this from the terminal with a command ...
1
vote
1answer
306 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: ...
0
votes
1answer
132 views

How to add public key to QCOW2 image via virt-sysprep

I am trying to add my public key to the root account on a qcow2 disk image (CentOS 7 Cloud Image). The documentation from virt-sysprep says that it supports adding keys, but I cannot seem to ...
0
votes
1answer
76 views

manage virtual machines with virsh

I installed libvirt and virt-manager, but virt-manager isn't working. Is there a good tutorial on using virsh. I got the following message when creating a virtual machine in virt-manager: Error ...
0
votes
1answer
452 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
1answer
450 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 ...
3
votes
0answers
353 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
0answers
782 views

How to convert the qemu parameters for an osx guest for libvirtd

I managed to have an osx guest running in qemu with the following commands: // create the virtual image $ qemu-img create -f qcow2 mac_hdd.img 35G // .. install osx ... // start the guest $ qemu-...
2
votes
0answers
262 views

USB ethernet device not working in VM

I'm having trouble getting a USB ethernet device working in a qemu-kvm/libvirt VM. The problem is that even though the guest OS sees the USB device just fine it can't mount it. lsusb on the guest ...
2
votes
0answers
56 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 ...
1
vote
0answers
45 views

xen + libvirt share disks betwee VM on diferent hosts

I have another problem. what I've done is: We deploy 2 physical hosts with SLES 12 SP1 and install XEN hypervizor on both. On each host we provide few block devices via FC. On each host we ...
1
vote
0answers
70 views

How to check if 'Per-node memory binding' is supported in any libvirt version?

I am using kvm and getting an error: unsupported configuration: Per-node memory binding is not supported with this QEMU I have the #virsh version: Compiled against library: libvirt 1.2.9 Using ...
1
vote
0answers
145 views

Is it possible to pass USB DVD drive to KVM (QEMU) virtual machine on Ubuntu?

I've got a KVM host on Ubuntu 15.10 Server. I'm fairly new at it so I'm managing it via an Ubuntu 15.10 Desktop VM running on itself and accessing the host via Virtual Machine Manager. That works ...
1
vote
0answers
22 views

Golden image updates in qemu

Consider that there are 100 windows virtual machines coming from a single base image and each vm is added to domain along with minor other machine specific settings which can be done by a script. ...
1
vote
0answers
101 views

Gnome-boxes not able to see virtual machines after sleep

I am having a bit of trouble to solve this issue. I am using gnome-boxes to run my windows boxes for my school project purpose. When I boot the system, everything works just fine When I type : ...
1
vote
0answers
237 views

Passthrough PS/2 keyboard to guest OS

OS Windows run on VM (ubuntu, libvirt, qemu-kvm). And I have PS/2 keyboard on host hardware. Is there any way to pass it to guest OS without lost of performance (maybe emulate USB keyboard with keys ...
1
vote
0answers
318 views

(virt-manager:4796): Client failed to connect to the D-BUS daemon / Unable to connect to libvirt

I would like to boot and run Windows 8 with kvm or xen while I'm running Debian Wheezy. Actually I have installed Windows 8 on the external USB disk and Debian Wheezy on the hard disk sata. I'm tryng ...
1
vote
0answers
132 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
0answers
180 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
276 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
5 views

My Dell Latitude freezes upon suspending if libvirtd/virtlogd is running

I've got a strange problem with my dell Latitude E6530: everytime I put it to suspend mode (closing the lid, as per Power Manager configuration) and the virtualization daemons (libvirtd and virtlogd) ...
0
votes
0answers
67 views

Qemu error: internal error: QEMU / QMP failed: qemu-system-x86_64: PCI bus not available for hda

I get the error below when trying to start my vm with serenity ~ # virsh start winxp-gaming error:failed to start domain winxp-gaming error:internal error: QEMU/ QMP failed: qemu-system-x86_64: PCI ...
0
votes
0answers
37 views

libvirtd fails with iptables on Linux 4.3.2 (Debian)

When I start libvirtd on a selfbuild kernel (make olddefconfig), it fails setting up bridge virbr0 with: internal error: Failed to apply firewall rules /sbin/iptables --table nat --insert POSTROUTING ...
0
votes
0answers
91 views

Creating a new KVM VM from an existing vdi image

I have an existing VDI image for an Ubuntu distribution, and my attempts to import it using several guides off the internet have produced the same "No bootable device" error that continues to evade me,...
0
votes
0answers
46 views

How Can I Set Up DNS Server on Virtual Network w/out Internet?

I'm trying to set up a virtual network populated with 4 CentOS 7 servers for testing purposes. I have successfully configured a Kerberos server and a secondary Kerberos server. However, when it ...
0
votes
0answers
1k 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 ...