The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
46 views

Enable “kvm=off”, “x-vga=on” and “-vga=none” from within Virt-Manager?

I have virtual machine created from Virt-manager, it's Windows. I have attached host PCI device (GPU) to the guest VM, it's recognized, but not used I know options x-vga=on and -vga=none are friends ...
1
vote
2answers
51 views

libvirt: command to start up all guest virtual machines which have auto-start enabled

I'm using Debian Jessie as a virtual machine host using libvirt/qemu/kvm. I've set some of the guest virtual machines to automatically start when the host OS boots up, this is working fine. For ...
2
votes
1answer
24 views

Which version of VBOX API does libvirt support?

I have libvirt 1.3.5 and virtualbox 5.0.20 installed on my Gentoo system. When I start the libvirtd service, I got Libvirt doesn't support VirtualBox API version 5000020 Where can I found out which ...
0
votes
0answers
8 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) ...
1
vote
0answers
48 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 ...
0
votes
1answer
13 views

Create Multiple libvirt Volumes From One XML File

I'm using libvirt's virsh vol-create command to create multiple volumes. I've started using Jinja2 templates to help with automating the task for a specific application. In my case, it would help ...
1
vote
1answer
96 views

virt-install automatic Debian installation with preseed.cfg

I am trying to script a Debian installation using virt-install and a preseed.cfg file. I am installing into a virtual machine. Currently, I am using an ISO file rather than a network installation. I ...
1
vote
0answers
76 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
1answer
165 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 ...
4
votes
1answer
118 views

Is libvirt dnsmasq exposed to the network, if I run Fedora without a firewall?

There's this nice saying from Ubuntu: no open ports on the default install. Other Linux OS's look the same, including Fedora. No-one wants to worry about firewalls, if they don't need to. Yuck, ...
0
votes
0answers
76 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
40 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 ...
1
vote
0answers
156 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 ...
3
votes
1answer
1k views

Configure public IP addresses in KVM VMs

I have a physical server running CentOS 6.5 with one interface connected to the Internet (with one public IP address). Inside this server I have two VMs created with KVM through libvirt with one ...
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. ...
0
votes
0answers
113 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,...
1
vote
1answer
151 views

Virtualisation: follow symbolic links in VirtFS (9p) share

I have folder on host machine which have symlinks to another device. Like this $ ls -all ~/folder_to_share ... file1 file2 linked_dir -> /mnt/bdrive/real_dir/ ... I setup QEMU virtual machine ...
3
votes
3answers
523 views

how do I build a bridge between two virtual machines?

I have used virt-install to create two CentOS 7 virtual machine guests on a CentOS 7 host computer. One virtual machine is called webvm, and hosts web sites on a private network. The other virtual ...
1
vote
1answer
1k views

Libvirt: how to pass qemu command line args?

I have the current libvirt 1.2.20 i want to pass to my machine create with virt-manager some qemu flags. I edited the file and add </devices> <qemu:commandline> <qemu:arg ...
2
votes
1answer
194 views

how do I create an appropriate drive for a libvirt virtual machine?

I am trying to use virt-install to create a CentOS 7 virtual machine in a CentOS 7 host. Towards that end, I have been reading the virt-install documentation at the RHEL web site, and I have also ...
0
votes
1answer
81 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
134 views

QEMU guest agent problems - hosts and guests in different versions

We have multiple hosts with multiple KVMs each. Some hosts run with Ubuntu 12.04 LTS and newer ones with 14.04 LTS. The guests also have different versions like 12.04 LTS and 14.04 LTS. I want to ...
0
votes
2answers
174 views

QEMU Guest Agent for Ubuntu 12.04 LTS

I've been looking for the QEMU Guest Agent for Ubuntu 12.04 LTS. It seems like the Guest Agent is included in the official Repository from Ubuntu 14.04 and up (http://packages.ubuntu.com/trusty/qemu-...
2
votes
1answer
3k views

how to create custom vagrant box from libvirt/kvm instance?

There are many resources on the Internet to create a custom vagrant box from a VirtualBox instance. But I want to know a direct method to create a custom vagrant box directly from a kvm/libvirt ...
0
votes
0answers
47 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 ...
1
vote
0answers
103 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 : ...
2
votes
1answer
423 views

Modifying files inside a snapshot (qemu img file)

I have taken a snapshot recently to assist me build VMs quickly with the operating system I desire (through virsh), however, every time I build a VM, I would like to modify few files inside the img ...
2
votes
1answer
604 views

Xen libvirt access for non-root user

I've installed Xen and libvirt on a CentOS 6.6 machine. All the tools (virt-manager, virsh etc) work perfectly as root (directly or via sudo) but I cannot allow another user to connect (failed to ...
1
vote
0answers
247 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 ...
9
votes
2answers
5k views

Use VirtualBox provider by default on Fedora 21

Right now, any time I use vagrant, it tries to use libvirt as the provider. I want to use VirtualBox by default. vagrant-libvirt is not installed. It's bothersome because some commands don't work, ...
0
votes
1answer
3k views

libvirt - virbr0 - setting the IP address

I am having issues with setting the IP address of the virbr0 interface created by libvirtd. I have configured a different IP in the xml file that configures networking (or so I thought), but it still ...
1
vote
1answer
264 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
738 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 ...
2
votes
0answers
797 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-...
1
vote
0answers
328 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
2answers
150 views

nginx web server on VM inaccessible to host

My laptop is running Ubuntu 14.10 desktop and hosting 14.10 server in a libvirt VM (set up using virt-manager). I installed it in minimal virtual server mode with only openssh-server. After ...
-1
votes
1answer
136 views

will libvirt don't create vnetX tun device?

When I create the vm instance using libvirt, it will create a TUN device named vnetX. I wonder would libvirt don't create the vnet device, instead, I use other method to create it.
2
votes
0answers
275 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 ...
0
votes
1answer
272 views

What are the diffence between virsh, virt-install, and virt-manager?

I know all of virsh, virt-install, and virt-manager can manage the virtual machines. However, what are the difference between the three?
2
votes
1answer
639 views

What commands in virsh corresponds to “Force Off” button in virt-manager?

I'm trying to find the corresponding command to the buttons in virt-manager, I read about virsh help domain and I found start, shutdown and reset etc. But the one for Force Off is missing. Anyone ...
1
vote
2answers
228 views

how to access the running VMs?

A colleague of a friend of mine established a voluntary project for a gaming union. But the problem now is, that the person is unavailable and I don´t know how I should access the running VMs. I spent ...
3
votes
2answers
730 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 ...
0
votes
1answer
474 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 ...
5
votes
1answer
1k 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 ...
2
votes
1answer
908 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 ...
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 ...
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 ...
3
votes
3answers
6k 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.
4
votes
1answer
367 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 ...
1
vote
1answer
311 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: ...