Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [libvirt]

The tag has no usage guidance.

0
votes
1answer
17 views

Problems while installing libvirt-python on MacOS

I want to use libvirt library for installing a VM on a KVM. While installing libvirt library on Mac, I'm coming across an issue. I tried installing libvirt dependencies but to no use. Can you please ...
1
vote
0answers
11 views

Pass through ACPI devices in KVM

Is there a way to pass through ACPI devices to a KVM guest? I'm trying to create a debugging environment for an ACPI device.
0
votes
1answer
19 views

libvirt - can only boot from IDE devices?

I'm running Ubuntu 18.04 as host and windows 10 as guest, using QEMU/KVM as my hypervisor and libvirt as my management tool. I have a nvme ssd /dev/nvmewin that I want to pass to the windows guest (...
0
votes
2answers
70 views

Windows 10 VM Bootloop

I've replaced my intel i5 with an amd ryzen 7. Now my Windows 10 VM (libvirt/qemu) won't boot, it just shows "preparing automatic repair" and then reboots. I cannot boot from a rescue iso either. I ...
-1
votes
0answers
40 views

OVS DPDK inside Libvirt VM

I want to use OVS DPDK inside a libvirt VM. I have the same scenario on physical machine which I want to replicate on VM, I am trying to create bond with two interfaces which are connected from a ovs ...
0
votes
1answer
180 views

USB redirection in libvirt

I'm running libvirt under Fedora 28. I would like to attach a USB device to a VM, but when I select "Redirect USB Device" from the "Virtual Machine" menu in virt-manager and then select the device, I ...
0
votes
0answers
61 views

Macvtap does not assign ip to guest vm, eth0 doesnt connect

im using virt manager and have followed various guide to create a macvtap interface and used virtio and bridge, i have tried with other options and the VM simply does not connect. If i assign a static ...
1
vote
0answers
51 views

Libvirt: AppArmor Profiles Access Error

I have installed libvirt-daemon on a fully updated Ubuntu Server 18.04.1 LTS. When trying to execute libvirtd --listen, the following errors arise: 2018-08-24 21:03:18.641+0000: 2855: error : ...
0
votes
0answers
88 views

KVM live migration: unable to connect to server at '192.168.0.140:16509' : connection refused

I am trying to migration a VM from host1(192.168.0.168) to host2 (192.168.0.140) by executing virsh migrate --live test-sprout qemu+tcp://192.168.0.140 But the result given by KVM is: error: ...
0
votes
0answers
31 views

Connect a physical interface to a linux bridge through libvirt

I am trying to create two VMs with libvirt which are connected to a linux bridge (my_bridge). I also want that linux bridge to be connected to the physical interface eth0 of the host. Can I do that? ...
0
votes
0answers
61 views

Gnome-boxes does not start after removing folder ~/.cache/libvert

Using gnome-boxes on Fedora 26. One of the VMs (running Ubuntu 16) stopped working. In the process of trying to remove it (via the gnome-boxes GUI), suddenly gnome-boxes stopped working. It would open ...
1
vote
1answer
237 views

Unable to make VM use public IP with macvtap/KVM/libvirt

I am running dedicated server with few KVM VMs on it. I had success in the past getting separate public IPv4 address attached to one VM using macvtap driver and it works just like totally independent ...
0
votes
0answers
30 views

libvirt filesystem can read, but not write

I have a big raid array at /storage, and I'd like my guest to have access to it. I added <filesystem type='mount' accessmode='passthrough'> <source dir='/storage/Test'/> <...
1
vote
0answers
123 views

virt-install ListActivatableNames Connection is Closed

I'm trying to use virt-install to easily set up a vm. Silly me. The endgame here is to have roughly ten of these bad boys running that all have to be able to communicate with one another via ssh, ...
0
votes
0answers
84 views

Host lost internet connection after libvirt added routing rules for VM network interface

Recently libvirt networking has caused me headaches - host loses connection once libvirt sets up a route in the kernel routing table. It used to work fine, it "suddenly" stopped working a few days ago....
0
votes
0answers
94 views

What's the safest way for backup and restore external snapshot using virsh libvirtd

Dears, I've followed the following steps in order to get a snapshot of a running VM on my KVM, but actually i'm not sure if that the correct way or no : /usr/bin/virsh snapshot-create-as \ --domain ...
0
votes
1answer
40 views

How to access KVM guest from host without having the guest's root credentials

I've create a KVM Centos7 instance .. i'd like to connect to its console from host but it asks me to enter the root credentials for that guest. virsh console test Is there any way to achieve this ...
1
vote
0answers
223 views

Passing USB controller to VFIO Virtual Machine

Im running a Windows 10 VM using qemu version 2.10.1 on kernel 4.14.1 with a GPU passed through. I can also pass through an Intel-based USB controller. So far so good. My Intel USB controller does ...
0
votes
1answer
189 views

How to set CPU EDX register in libvirt / qemu?

I need to set the CPU EDX register in libvirt as per: https://support.microsoft.com/en-gb/help/2902739/stop-error-0x109-critical-structure-corruption-on-a-vmware-virtual-mac however I cannot find an ...
0
votes
1answer
76 views

Fedora 26 libvirt connection times out

I've been trying to get libvirtd and virt-manager to work for days now. I have all the entire "Virtualization" group of packages installed and have confirmed that libvirtd is running with systemctl ...
0
votes
1answer
531 views

VPN subnet routing: Destination Port Unreachable

I am connected via VPN to a Ubuntu server acting as a hypervisor, running 1 VM. I can ping the VM from command-line on the server, but am unable to ping the VM via my VPN connection on my computer. ...
1
vote
0answers
321 views

A VM guest fails to communicate with LAN machines through a macvtap

I might be missing something obvious, as I couldn't find anything that would explain why I can't get this to work. I'm not new to libvirt, kvm, qemu, just to macvtap. To be honest, I can't figure out ...
1
vote
1answer
4k views

kvm Error starting domain: unsupported configuration: Unable to find security driver for model selinux

Trying to start our kvm virtual machines and getting this error after rebooting the physical host machine. Error starting domain: unsupported configuration: Unable to find security driver for model ...
0
votes
0answers
90 views

Use both libvirt 3.4 and libvirt-glib on Ubuntu/Mint?

I need to install a recent version of libvirt-bin from the official source code repositories, and I would like to be able to use virt-manager as a frontend to create virtual machines, with OpenGL ...
1
vote
0answers
591 views

How do I revert to latest external snapshot in KVM?

I have created an external snapshot with KVM using virsh snapshot-create-as domain --name snap1 --disk-only Then, I started the domain with “virsh start domain”. I know that reverting to external ...
0
votes
2answers
548 views

How to install VM from ISO?

I prepared pool, volume and installation ISO, want to install headless VM using console. Here's my command: virt-install -n myvm -r 2048 --disk path=/home/username/virtpools/mydisk.img --location /...
1
vote
1answer
41 views

How can I ssh a virtual machine from another virtual machine?

How can I ssh a virtual machine from another virtual machine? I am using KVM-libvirt and Vagrant to create these VMs, if this helps. My host machine is Ubuntu desktop 16. Please help me with ...
1
vote
1answer
873 views

How to(Libvirt) attach floppy image device to guest VM?

Say, I have floppy.vfd image. How should I fill my xml file in order to attach floppy image? I have template like <disk type='*' device='*'> <device name='*' type='*'/> <...
1
vote
0answers
84 views

How can I connect a libvirt KVM virtual machine to be connected to my Wireless home?

How can I connect a libvirt KVM virtual machine to be connected to my Wireless home? (After it is created already) I want it to be assigned an IP of my wireless network. Note: I have Ubuntu 16. (...
0
votes
1answer
31 views

How can I deploy an OS on a VM skipping the steps of installation?

If I have a virtual machine, how can I install on it an operating system skipping the installation steps? In other words, when I choose an operating system to be installed on the VM, I want to use it ...
0
votes
1answer
95 views

Master VM cannot pxe boot Slave VM

I have two virtual machines: master VM and slave VM (they are not nested). Both are created using KVM and libvirt. (Using Vagrant to simulate the virtual environment) I am trying to PXE boot the ...
7
votes
1answer
5k views

No Auto Resize with SPICE and virt-manager

I've setup a VM that works great except for the auto resize functionality which seems to be inconsistent. I've got it randomly working a few times but it also randomly stops working. It's currently ...
2
votes
2answers
1k views

Qemu: Is it possible to have BOTH the virtual display and VGA passthrough in a Windows guest?

This guy implies that it's possible to have both the virtual display and a VGA passthrough display device active at the same time.. I've tried this, both with libvirt and with the qemu commandline. ...
0
votes
0answers
385 views

LXC libvirt memory cgroup out of memory

i am using LXC with virt-manager (libvirt) to host a Bind DNS server, with 512MB RAM allocated. The VM is on a ZFS filesystem (ZFS on Linux) Recently i got out of memory situation but i cannot find ...
1
vote
1answer
1k views

memory allocation never change for my virtual machine

I setup the memory allocation for my guest thru virt-manager. I set 16384Mb for the current memory and 32768Mb for the max memory. I note that the current memory never change ! why ? In the same way, ...
1
vote
2answers
199 views

Starting libvirt while kickstart install RHEL7

I've a very problematic task, and one point makes me mad. I'll make is simple: Goal: Install CentOS7 with kickstart. At the end of the install as post script, it should start libvirtd and create a ...
1
vote
0answers
165 views

libvirt VM using video device with 2 heads not working

I'm trying to set up a libvirt VM and I've got a VM which is supposed to have 2 screens. I've set video in the libvirt XML file to use 2 heads but I only get one screen for some reason. I can see ...
0
votes
1answer
214 views

Vagrant local box with libvirt

I have created base box image for libvirt, adding the box was successful and it is visible in box list. [root@centos7 vagrant]# vagrant box list rhmaster (libvirt, 0) [root@centos7 vagrant]# But ...
1
vote
1answer
355 views

libvirt_lxc not working in Ubuntu 16.04

I installed libvirt on a fresh install of Ubuntu 16.04 desktop using apt install libvirt-bin. I then created an LXC domain named a. When I tried virsh -c lxc:/// start a, I saw this error message: ...
0
votes
0answers
375 views

libvirt - ssh into qemu/kvm host from Fedora 23

I would like to ssh into a qemu/kvm host from my Fedora 23 host. They are on the local network, but I can't figure out how to ssh into them from the same machine. I read this: http://davidz25.blogspot....
0
votes
1answer
299 views

Prevent direct guest-to-guest communication on a virtual network

How can I create a virtual network where guest cannot directly communicate with other guests? If you're wondering why: the virtual network has guests that provide services to VPN users. Different ...
0
votes
1answer
71 views

How do I count booting time?

So I have different virtual machines in different storage types and I'm trying to do a comparison of different things. One of which is booting time. How can I achieve this? Thanks in advance.
1
vote
1answer
799 views

Live Migration without shared storage

I am new to Ubuntu and virtualization and I have been working on live migration of KVM machines without a shared storage. I have followed all the steps as described in the following link everything ...
2
votes
0answers
1k views

virt-manager on Mac OS X can't connect to remote libvirtd

I have installed virt-manager 1.3.2 on Mac OS X 10.11.5 via homebrew. When I try to connect to my remote libvirtd daemon, running on a different machine at 192.168.1.70, I cannot connect. However, ...
0
votes
1answer
1k views

Export libvirt VM to vmx (howto generate virt-image)

To convert from vmware to libvirt, I'd do: virt-convert myvm.vmx -o virt-image IMAGE.XML virt-image IMAGE.XML but how do I create an image descriptor from a libvirt domain to be able to reverse the ...
11
votes
2answers
17k views

libvirt: “Failed to initialize a valid firewall backend”

What I'm tryna doing I'm trying to set up a virtual NAT network device without DHCP for libvirt on an Arch Linux host. What I've done so far # virsh net-define network.xml Network default defined ...
2
votes
0answers
455 views

Fedora, vagrant and libvirt

In my continuing attempts to get vagrant up (* No kernel sources available for 4.4.4-301.fc23.x86_64) I have been trying to use the libvirt provider because libvirt is faster and does not require ...
1
vote
1answer
231 views

Creating a libvirt URI to hop to another host

I have a Qemu-Host running libvirtd which is properly configured (h0). I can only access this host via another machine (c0), which only acts as a gateway. Now I need to know if it is possible to get a ...
3
votes
1answer
646 views

Error in running (libvirt) virt-manager 1.3.2

On Ubuntu 14.04 I installed default packages for Libvirt and Virt-manager. But it does not show support for Debian "Jessie". So I downloaded virt-manager from its Home page. I followed the INSTALL ...
1
vote
1answer
879 views

Missing AESNI, RDRAND and RDSEED capabilities?

I've got a machine with a Core-i5 5200U. Its a 5th generation processor, so it has AESNI, RDRAND and RDSEED. Its the reason I bought the machine. The machine is running Ubuntu Server 14.04.03. Ubuntu ...