Questions tagged [libvirt]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
79 views

libvirt / KVM/QEMU - Networks: What does “Open Network” do?

When setting up a network with libvirt & virt-manager, there is an option to choose "Open Network" as the "Network Mode" when forwarding traffic to a physical network. What ...
0
votes
0answers
157 views

Can't connect to a remote host with virt-manager

I'm trying to connect from a laptop (computer1) to a host (remote1). On computer1 I have user1 on the host I have a different user (user2). Both systems are running Debian, the remote1 system is a ...
0
votes
0answers
20 views

Adding files to blank virtual disk image

I am trying to simply create a disk image with a few files I copy in. Currently, this is my workflow: # these seem to work as intended qemu-img create -f qcow2 testQcow.qcow2 5M virt-format -a ...
0
votes
0answers
50 views

Arch enable hyper-v features

Got told on Server Fault to post this here. I am running on arch, and want to enable the following hyperv-fearures: vpindex synic stimer reset frequencies But I am running into an issue, where virt-...
0
votes
0answers
7 views

Is there a command to list the locks aquired by libvirt/virtlockd?

I have a setup using virtlockd's indirect locks (that use empty files with long hex strings as file names) on a shared filesystem being used by multiple cluster nodes. I can see that each node has ...
0
votes
0answers
318 views

QEMU-KVM & CPU/RAM performance

On my brand new machine I have set up QEMU/KVM on Ubuntu 20.04 and I'm running multiple Linux guests without issues. What is causing me some headaches is to get the Windows 10 guest (for gaming) to ...
0
votes
0answers
32 views

virt-manager QEMU filesystem share can write but not truncate files owned by another user but same group

Using virt-manager 2.2.1 on Ubuntu 20.10, I have a Debian 10 guest. In virt-manager, I've added a filesystem share with: Driver: Path Mode: Mapped Write Policy: Default Source Path: /A Target Path: B ...
0
votes
0answers
4 views

virt-copy-in vs scp vs nfs for many VMs

Providing large amounts (average 100GB) of data to a single VM is easy with virt-copy-in. I have a number of servers (server1, server2, ... server10) each hosting many VMs (vm1, vm2, ... vm20), each ...
0
votes
0answers
729 views

Virsh error, Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

I am trying to setup KVM, but when running certain wirsh commands like: $ sudo virsh net-define br10.xml or $ sudo virsh pool-define-as debian_pool dir - - - - "/home/$USER/VM" I get this: ...
0
votes
0answers
17 views

Virtual machines resource allocation and management with KVM

I am looking for virtual machines allocation and management with KVM on a host bare metal server. For example, I can find the maximum number of VCPUs using the following command virsh domcapabilities |...
0
votes
0answers
891 views

VM Installation - libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor

when I try to create my VM in Manjaro, I am getting this error. Unable to complete install: 'internal error: qemu unexpectedly closed the monitor: 2020-10-29T14:25:27.745918Z qemu-system-x86_64: ...
0
votes
2answers
328 views

virsh - list all mac addresses for all network interfaces of any type

I'm trying to identify one of a few dozen virtual machines by a given mac address (52:54:00:: OUI, mapping to QEMU), the following lists the dhcp table from the NAT based virtual machine adapters, ...
0
votes
0answers
15 views

Port Forwarding from RaspberryPi - Fedora32 - Ubuntu18.04 on GnomeBoxes

I have a ROS application that sends sensor data to Ubuntu 18.04 on my VM at Gnome-Boxes. The main host is Fedora 32 laptop. The Raspberry Pi board and my laptop are connected to the same wifi network. ...
0
votes
0answers
12 views

Connect with SSH to Linux KVM guest during installation

During installation of a KVM guest OS, it's possible to connect to the system console via VNC and interact with the installer system during some phases of installation for example using the shell. For ...
0
votes
1answer
92 views

virt-manager can't connect to libvirt: “Connection does not support required domain listing APIs”

I can't connect with my local virt-manager (version 3.0.0) to the old remote libvirt setup (version 0.8.3): Unable to connect to libvirt qemu+ssh://user@example.com/system. Connection does not ...
0
votes
0answers
15 views

Unable to expose a VM host on LAN using libvirt on Ubuntu Server 20.04

I'm seeking help to expose a VM host on my LAN. I'm using a fresh installation of Ubuntu Server 20.04 on which I installed libvirt and ... virt-manager to ease my pain. The VM is an instance of Home-...
0
votes
0answers
448 views

how to make the SPICE webdav shared folder persistent?

The virt-viewer can add shared folder to virt-manager managed kvm instance. However, when I close the virt-viewer the shared folder will be detached. I wonder is there any settings I can use to make ...
4
votes
0answers
507 views

Installing Windows virtualization features within KVM virtual machine causes early-boot guest crash

See updates below for what I've discovered about the more general nature of this problem. I have a Windows VM running OVMF firmware with VFIO passthrough for a graphics card running on an Arch Linux ...
0
votes
0answers
196 views

Virtual Machine using VNC on headless server

I am trying to set up a virtual machine on one of my servers, but cannot find a way to access the internal command line of the VM. The host machine is itself headless and runs Arch Linux. I would ...
0
votes
0answers
7 views

Would it be possible to share a libvirt guests network connection with the host?

If you were to (for example) passthrough the hosts ethernet and wifi to a guest, would it be possible to share the guests network connection with the host in some way?
0
votes
1answer
160 views

Unable to use virt-sysprep on libvirt/qemu virtual machine on Ubuntu 20.04

I am trying to run virt-sysprep on a qemu virtual machine on Ubuntu 20.04. I tried the following commands: virt-sysprep --format=qcow2 -a /var/lib/libvirt/images/Debian10-1.qcow2 and virt-sysprep -d ...
0
votes
1answer
164 views

Can I use Aero Glass with QXL (virt-manager)?

I've made a Windows 7 VM with QXL as the display adapter. I installed the guest additions and the display adapter was properly showing up in device manager. I've tried changing the QXL settings to ...
2
votes
0answers
223 views

Problems using libvirt to create a Win98 Virtual Machine

Recently, I encountered a need to run some Windows 98 software. I decided to use this project to learn about virtual machines (I have had no previous experience). I tried to run virtualbox on my ...
1
vote
1answer
45 views

Remove libvirt with docker running on same machine

I am running SUSE Linux Enterprise 12. For security reasons, I want to uninstall libvirt since kvm/quemu VMs are no longer needed on the machine. At the same time, we are running docker and I am not ...
0
votes
1answer
77 views

Libvirt KVM networking, how to make guest accessible from outside with public IP?

Good afternoon, I've ordered dedicated server CentOS 7 from ISP. Also got 10 public IP addresses. Have following situation: Dedicated server IP is:149.XX.XXX.29/24 Default gateway: 149.XX.XXX.1 ...
0
votes
1answer
24 views

How to pass SSE4 to Libvirt KVM

The box has X5570 cpus. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc ...
0
votes
0answers
3k views

QEMu / KVM: error: Unable to add bridge tap0 port vnet0: Operation not supported

In order to fully understand how the networking part works inside QEMU/KVM software virtualization environment, I decided to try to manually set up a the networking part, more or less simulating what ...
0
votes
1answer
21 views

Browser on host is started when starting it in a VM

Here is my setup: My host system runs Ubuntu 18.04 I have a VM (also running 18.04) using libvirt/KVM I connect to the VM using ssh -X 1.2.3.4 The weird thing is, if I run firefox in that SSH shell, ...
0
votes
1answer
3k views

GPU passthrough no output

I followed this guide to setup a vm with pci passthrough. My setup: MSI Z170 Gaming M7 i7-6700K GTX1080[Host] RX580[Guest] Host OS Manjaro KDE on 5.4 Guest OS Win10 I can confirm that the GPU ...
1
vote
1answer
3k views

Virtual disk extremely slow for KVM guests

I have a relatively small server with a quad core CPU (Intel i5-7400) and 16 GB RAM (DDR4 though), running a couple of virtualised guests using libvirt. I'm not using any other intermediate layer such ...
1
vote
0answers
75 views

libvirt and usb passthrou without reset

I am trying to connect my android phone to a virtual windows machine. The issue is that whenever I connect the phone it is in "charging" mode (this is an android security feature) I then click on ...
1
vote
1answer
398 views

QEMU/KVM/libvirt macvtap VEPA not working - ARP request not forward

Hi I've been struggling to get guest networking working when using a macvtap in VEPA mode between two VMs on a host. I've spent hours (days) googling with no joy. Does this network configuration ...
0
votes
1answer
120 views

How to run Live backup of Virttual Machines - Libvirt-Qemu

im Trying to run this script https://gogs.tausys.de/shogun/libvirt-imagebackup/raw/master/backup-vms.sh When i run it, it starts like this. Wed, 16 Oct 2019 12:44:59 +0200 Backup KVM online guest '...
8
votes
1answer
5k views

What is the difference and relationship between kvm, virt-manager, qemu and libvirt?

I investigated this topic and here are my conlusions (but still I have questions, and please correct me if I made any mistake in my conlusion): VMWare: VMWare developed its VM Hypervisor SW in 1999, ...
0
votes
1answer
91 views

IPTables KVM NAT port forward goes to wrong VM

Good day, I have 2 VMs running with libvirt. Machine 1 : PostgreSQL on port 5432 Machine 2 : Attempting to use psql to connect to a PostgreSQL server on the internet. I forwarded port 5432 so that ...
2
votes
1answer
2k views

Making my KVM VMs accessible from the network

I'm setting up a new home server with borderline-paranoid security as the goal. As such, everything with open ports that can go in a VM, gets its own VM. I'm using Ubuntu Server as the host, because ...
0
votes
1answer
150 views

How to set Rx queue = N in linux / in Qemu / KVM?

I have configured 8 multiple queues on my CentOS VM box (running on KVM). <interface type='direct' trustGuestRxFilters='yes'> <source dev='ens113f0' mode='passthrough'/> <model ...
0
votes
1answer
71 views

Dual booting and virtualizing Windows 10 results in blue screen since recent update

I have Debian 10 and Windows 10 1903 set up as dual boot on a Thinkpad T440p using UEFI. Until now I was also able to start that same Windows 10 instance as a virtual machine using virt-manager/...
0
votes
1answer
57 views

Using a Console-only NetBSD VM

I am experimenting with NetBSD and seeing if I can get the Fenrir screenreader to run on it. However, I hit a snag post install; the console that I was using for the installation was working perfectly ...
0
votes
1answer
8 views

Blowing Away All Libvirt Items?

I recently started playing with Libvirt, and I have come to the discovery that I like using virsh more so than I do the GUI client, as it is easier to interact with as far as a screenreader is ...
1
vote
1answer
2k views

Vagrant error with libvirt

I'm trying to set up vagrant for the first time in my life while following a tutorial. I'm using the VVCW box because I want to work with WordPress with it. So I downloaded the zip file and unzip it ...
2
votes
1answer
835 views

Set qcow2 image size at install time

Context > I am a bit confused about disk images and their installation. I am using qemu/kvm with libvirt and have used VirtualBox in the past. Back then, the UI would guide me to choosing a "template" ...
1
vote
2answers
1k 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
144 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
406 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 (...
1
vote
2answers
1k 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 ...
0
votes
1answer
3k 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 ...
4
votes
0answers
977 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 : ...
1
vote
1answer
796 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 ...
1
vote
0answers
536 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, ...