Questions tagged [libvirt]

libvirt is an API and toolkit for developing applications which manage virtual machine hypervisors, the virtual machines running under them, and virtual machine storage.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Failed to connect socket to 'var/run/libvirt/virtxend-sock': file or directory not found

I want to boot a physical installation of windows 10,so I need to run xen HVM version. Do u have a tutorial that I can follow ? I'm trying to create a new connection inside virt-manager,with xen,on ...
-1
votes
0answers
12 views

libvirt with qemu/kvm guest, guest can ssh to host and vice versa, but failed to samba or ftp to host [duplicate]

I am running libvirt/qemu-kvm on Fedora32, guest OS is CentOS7. I use 'nat' mode virtual networking. root@fedora ~]# virsh net-dumpxml default <network connections='1'> <name>default</...
0
votes
0answers
51 views

Qemu Libvirt : unabled to pass all GPUs to vms

Im trying to pass all gpus to different systems , my setup: asus x399 gaming 6 mainboard amd 1950x 32G ram 1 TB intel ssd m.2 gtx970 gtx750 this resources should be passed into 3 systems: vm1 a ...
0
votes
0answers
25 views

libvirt on fedora, qemu/kvm guest, guest can ssh to host, but failed to samba or ftp to host [duplicate]

I am running libvirt/qemu-kvm on Fedora32, guest OS is win10 with spice-guest-tool in use. I use 'nat' mode virtual networking. root@fedora ~]# virsh net-dumpxml default <network connections='1'>...
0
votes
1answer
68 views

Should I use “detect-zeroes” for TRIM/discard support on QEMU guests?

Until now I've enabled discard on my QEMU guests using the libvirt XML command .. <driver name='qemu' type='qcow2' discard='unmap' /> .. And it seems to work fine. Now that I'm about to convert ...
2
votes
1answer
30 views

qemu-kvm guest OS can access host using bridge, but cannot access other devices on same network

I want to run a qemu-kvm guest with Debian 9 as its OS on a Debian 10 host. The host is connected to the local network, and I would like the guest to be "visible" to the local network as if ...
0
votes
1answer
43 views

libvirt cannot create default network

I can't start the default network for libvirt. I get the error in journalctl: Jun 06 15:22:43 jenia libvirtd[889326]: Unable to create bridge virbr0: Package not installed I did installed the ...
0
votes
0answers
42 views

libguestfs: guestfs_launch fails — but i didn't even ask it to try

i recently started with Qemu/KVM and libvirtd/virt-manager/virsh etc. One the many cryptc "guides" for installation told me to install libguestfs, and so I did. I note that ...
0
votes
1answer
41 views

How do remove the default storage pool from a libvirt hypervisor, so that even after libvirtd restarts there is NO storage pool

I want to remove the default storage pool from my virt-manager AND NOT HAVE IT COME BACK BY ITSELF, EVER. I can destroy it and undefine it all I want, but when i restart libvirtd (for me thats "sudo ...
0
votes
0answers
10 views

Vagrant libvirt management interface isolation

I'm trying to set up a CTF box, and have settle upon vagrant for managing my VMs. However, I seem to be unable to isolate the machines from each other, as the libvirt management interface is allowing ...
1
vote
3answers
138 views

How to reduce KVM qcow2 disk size?

When I boot in my guest Debian it says it size is 2.7G. df -h Filesystem Size Used Avail Use% Mounted on udev 718M 0 718M 0% /dev tmpfs 147M 6.2M 141M 5% /run /...
0
votes
1answer
40 views

Libvirt: “The CPU is incompatible with host CPU”

I'm exporting a domain from 'old pc' to 'new pc' # Export domain (from old pc) ssh user@"$REMOTE_IP" "virsh --connect qemu:///system suspend --domain magento-base > /dev/null 2>&1" ...
4
votes
1answer
66 views

Where are libvirt “saved states/snapshots” stored?

I have a .qcow2 image, and I can port it easily to a different computer. But I'd also like to port its saved state. Where are they stored? I'm on Manjaro/Arch.
0
votes
1answer
18 views

libvirt: ERROR Host does not support any virtualization

That's when I run the command 'virt-install' virt-install --connect=qemu:///system --name=mymachine --ram=4096 --vcpus=2 --check-cpu --os-type=ubuntu --vnc --accelerate --disk=/home/myuser/mymachine/...
1
vote
1answer
32 views

libvirt KVM virtualisation - define some guests to use one NIC, others to use a different NIC?

I am running 30 libvirt-defined KVM VMs on a server with two physical NICs (1Gbps). Currently I'm using NATted virtual networks, defining the VMs' interfaces (as part of a full VM definition, not a ...
0
votes
0answers
12 views

KVM/Libvirt and TLS CA file

I need to setup TLS for our KVM based hypervisors (a mix of CentOS7 and CentOS 8). I have a server/client certificate set for each server, signed from our Intermediate CA. On each server the CA's ...
2
votes
0answers
72 views

Virtual machine network issue with host and ping service checks (within Nagios Core and from command line)

I have got a Ubuntu server guest virtual machine (installed via virt-install) which runs Nagios Core monitoring but there is a major issue with the monitoring (i.e. ping packet loss / RTA or ...
0
votes
0answers
85 views

Connect from docker container to KVM Virtual Machine

I have one host with docker and KVM, and I would like to connect from a docker container to a KVM Virtual Machine. I was able to connect from KVM Virtual Machine to docker container, but not the ...
0
votes
1answer
36 views

Unable to access console or SSH on Amazon Linux 2 KVM image

I am trying to create a KVM guest instance running Amazon Linux 2 in an on-premises environment, on a CentOS 7 host. I am doing this over SSH (e.g. my local machine -> SSH to the CentOS host). I know ...
0
votes
2answers
88 views

libvirt uses ipv6, ipv6 disabled on host

This question was the same I have found to my issue. It has no answer. I am running vagrant on my Ubuntu and have ipv6 disabled. When I create an image with vagrant, libvirt returns: Error while ...
1
vote
1answer
22 views

Where are the OS specific properties located used by virt-install --os-variant

Using virt-install ... --os-variant win10 ... virt-install create a new VM optimized for Windows 10. But where are those OS specific properties located? E.g. machine-type and the <hyperv> ...
0
votes
0answers
16 views

Can´t get GlusterFS unix Socket working with libvirt

I playing around to build an HA KVM-Cluster on CentOS 7.7. I build a 3 node setup and installed GlusterFS. The Glusterfs is working properly if i use the TCP protocol. But if i try to switch to unix ...
0
votes
0answers
50 views

iptables port forward not working with libvirtd VM

For some reason, I'm unable to connect to my server inside a VM from the outside world, but I can definitely connect to my server from the hypervisor. The server application runs on ports 27500 and ...
1
vote
1answer
54 views

Terraform Libvirt - How to use local qcow2 file in the hypervisor instead of cloud images?

It seems like the libvirt provider only takes pre-defined cloud images. I create my own base qcow2 image that is local to the hypervisor and wish to use it as source file with terraform libvirtd. Is ...
1
vote
0answers
45 views

libvirt qemu AppArmor 9p hard links

I am using libvirt with qemu on a debian host. One virtual machine has a 9p mount point defined: <filesystem type='mount' accessmode='mapped'> <source dir='/mnt/pool/share'/> <...
0
votes
0answers
10 views

qemu save session of the VM to save time and not reboot without using virsh

I am in a arch based distro using only qemu in a situation where cant install libvirt for a certain reason. Want to skip the boot of windows VMs and start the VM quicker.
0
votes
0answers
25 views

Convert a directory pool to a disk pool in Libvirt

I currently have the default directory pool with images as qcow2 files. I created a disk pool on a SSD I recently added to my computer. From my understanding of the documentation, disk pools create ...
0
votes
1answer
111 views

KVM, libvirt, and LVs inside LVs

I have a Debian server running KVM+libvirt. The VMs disks are LVs on the host. The trouble is that if I create LVs inside the guests, they are recursively detected on the host and that creates all ...
1
vote
1answer
349 views

Use Thin LVM Volume for KVM VM

I now we cannot use thin LVM volumes with libvirt. Is there any other alternative allowing use of LVM thin provisioning in KVM/QEMU virtual machines?
0
votes
1answer
44 views

How to setup port forward

I have a VM that I manage with libvirt and it has a service running on port 9100. I want to forward the VM's port to the host, so that if I go to localhost:9100, I will be redirected to the VM. I ...
0
votes
1answer
45 views

Enabling DHCP on Linux Host for libvirt VMs

This is a follow up question from here: How to disable default DHCP on virbr0 and obtain IP from DHCP on host I have a Ubuntu server 18.04, with Libvirt based Virtual Machines setup over virbr0 ...
0
votes
1answer
229 views

How to disable default DHCP on virbr0 and obtain IP from DHCP on host

I have a Ubuntu Desktop, with Libvirt based Virtual Machines setup over virbr0 bridge. Currently libvirt's default DHCP server (dnsmasq) provides IP address assignments. root@ngadre-Inspiron-3542:/...
0
votes
1answer
259 views

how libvirt cputune config goes to qemu-kvm

I am porting xml libvirt config to qemu executable arguments. Simply I have .xml vm config from virsh edit vm-name and I want to run the same vm machine by executing qemu-system-x86_64 with special ...
2
votes
1answer
810 views

Libvirt has no KVM capabilities even though qemu-kvm works

I've learned that CirrusCI offers nested virtualization in their free package for public repos and I am trying to make use of it for testing my Ansible playbooks. Unfortunately, libvirt is insisting ...
0
votes
0answers
125 views

host port forward in qemu, defined in machine XML file

I'm trying to get libvirt to port forward to guests without fussing too much with static IP assignments. I found this question with an interesting answer here. The XML section of relevance: <...
0
votes
0answers
92 views

libvirt NAT configuration - DHCP does not work

I want to use libvirt network NAT configuration. libvirt says https://wiki.libvirt.org/page/Virtual_network_%22default%22_has_not_been_started: "1) If you're not actually using dnsmasq on the ...
1
vote
2answers
606 views

virsh: failed to connect to hypervisor as user

I'm currently running a RHEL 7.7 operating system. I was trying to setup minkube environment using kvm2 driver, so what happens is that minikube starts pretty, but with some errors during the ...
0
votes
0answers
113 views

libvirtd domain doesn't start with image on smb share

I virtualized a Windows server with libvirtd that uses an additional image on a smb share. The host system was Fedora Server 30 and everything worked fine. Now I have upgraded the host to Fedora ...
0
votes
1answer
44 views

Libvirt migration hostname

I've set up two libvirt nodes with the following hostnames: mycompany-hv-01.example.tld mycompany-hv-02.example.tld The names are declared in a public DNS and resolvable (public IPs). When I try to ...
2
votes
1answer
233 views

How can I make my libvirt/KVM guest see all IPv4/UDP multicast traffic?

I have an issue with IPv4/UDP multicast traffic not being fully visible from within a KVM guest. The guest has a dedicated NIC which is attached using MacVTap. Both the host OS and the OS in the ...
0
votes
1answer
38 views

Host How to filter network access for a windows 10 guest

Ive setup a VM containing windows 10 Pro, but i would like to blacklist centrain dns entries and ip v4/v6 addresses. ive searched for bridged networks but did not found any matching solution. is a ...
0
votes
1answer
405 views

problems with bridge-networking libvirt on centos 8

I am running a centos 8 as virt-host with libvirt an kvm/qemu. Networking is set to bridge-mode with virbr0. Suddenly and over-night this stops working: The clients don't connect anymore, and if I try ...
0
votes
0answers
61 views

KVM vps start error

vps un-able to start even with free ram on server. I have assigned 1Gb to vps : free -m total used free shared buff/cache available Mem: 64173 ...
1
vote
1answer
244 views

libvirt & openvswitch VLAN tagging on the fly

I'm working on a project using libvirt with qemu and openvswitch on Debian 10. I would like to be able to modify the configuration of a network card of a domain in bash with the update-device command ...
0
votes
2answers
585 views

Libvirt and macvtap issue on Arch Linux [closed]

I'm using Arch Linux (up to date) with QEMU-KVM, libvirt and virt-manager as a front. I have several VMs, but only one running at a time so far. The VM I'm trying to get to work is on Debian 10, but I ...
0
votes
0answers
632 views

Migrating from libvirt + iptables to libvirt + nftables

I'm about to migrate a Debian Stretch host using qemu-kvm to Debian Buster. I've seen people complaining on the Internet about issues due to nftables becoming default in place of iptables and libvirt ...
1
vote
1answer
373 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
177 views

postfix server on VM - mail relay

I've setup a mail server according to this setup: https://thomas-leister.de/en/mailserver-debian-stretch/ The documentation itself looks quite good to me - is well explained and seems to work... ...
2
votes
1answer
593 views

Create iPXE UEFI bootable image for QEMU/Libvirt with custom next-server and filename

I can create a VM with libvirt/qemu to boot in UEFI mode. I know that it does iPXE by default, but I want to create/modify a iPXE image in order to override filename and next-server properties. How ...
0
votes
0answers
63 views

virt-sysprep doesn't change hostname

I use KVM-based virtualization on my fedora 30 OS to run 3 virtual machines, runnung Ubuntu 18.04 LTS with a mini Hadoop cluster for test purposes. The storage for virtual machines in configured to ...

1
2 3 4 5
11