Stack Exchange Network

Stack Exchange network consists of 175 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 [libvirtd]

The tag has no usage guidance.

1
vote
0answers
11 views

Understanding how virt-install connects the Ethernet interface in host machine with the Ethernet interface in the quest?

I installed Debian virtual machine with virt-install in a way that guest got one Ethernet interface named vnet0: $ virsh domiflist git-server Interface Type Source Model MAC ---------...
0
votes
0answers
22 views

qemu-system-x86 --enable-kvm Windows 2k12 R2 stuck at windows logo

I am having an issue with kvm-qemu. Host: Ubuntu Guest OS is win2k12 R2. When the VM is booted, some times it get stuck at windows log or it pass the windows log & get stuck at a black screen. I ...
0
votes
0answers
26 views

Windows 10 guest under libvirt can't use network

I have a libvirt (libvirtd 3.0.0) install with several guest VMs all under kvm. I'm using bridged networking on the host to allow them full access to the networks. The host OS is Debian (stretch). ...
2
votes
0answers
15 views

Why is the wrong number of vCPUs assigned to the VM unless the topology is declared?

I'm running kvm on a MPU system with two Xeon E5-2680v2 @ 2.8GHz CPUs. All my VMs are Windows boxes, predominantly version 10. libvirtd is in version 5 though I experienced the described issues also ...
1
vote
1answer
88 views

Command Line equivalent to virt-manager GUI VM creation

I have been using virt-manager to create KVM VMs on my Ubuntu 18.04.1 host. I would like to now create the same VMs from the command line. I customize the VMs before beginning installation - ie ...
0
votes
0answers
69 views

Show iptables, ebtables etc rules created by libvirt

I'm using libvirt with qemu on a ubuntu bionic system. I'd like to inspect what network filtering rules are actually created in the system for the nwfilter rules when I run a qemu/kvm guest with ...
2
votes
0answers
31 views

how to fix the devices name ordering in guest vm (devices name ordering changed after reboot vm by virsh)

my devices xml define: first vm only has a root volume, <disk type='file' device='disk' snapshot='external'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/dev/...
0
votes
1answer
385 views

libvirt and virt-manager - Unable to complete install: 'internal error: unsupported input bus usb'

I'm following the steps below to create a virtual machine using Xen as hypervisor and virt-manager (libvirt) as the management module. When trying to create the virtual machine I am getting the ...
4
votes
0answers
619 views

virNetSocketReadWire:1801 : End of file while reading data: Input/output error

Every time I start/stop a KVM, the libvirtd 3.0.0-4 throws the following error in syslog: libvirtd[3145]: 2018-08-07 21:00:19.699+0000: 3145: \ error : qemuMonitorIO:710 : internal error: \ ...
1
vote
0answers
241 views

connect qemu/kvm(managed by virsh) VM to an existing tap device

I'm using virsh to manage my qemu/kvm VMs. Problematic VM has the following interface configuration: <interface type='bridge'> <mac address='52:54:00:92:f7:f8'/> <source bridge='br-...
0
votes
1answer
246 views

Custom vagrant box for libvirt and ssh

I have followed this instruction and tried to prepare my own vagrant box: how to create custom vagrant box from libvirt/kvm instance? Unfortunately I am facing one issue. Vagrant up hangs on: ==> ...
1
vote
2answers
2k views

libvirt / kvm - how to get the ip address of virtual machines on a bridged network? [closed]

From the libvirt / KVM host, I want to get the IP address of running virtual machines that are connected to the network via a bridged adapter. Important: I know how to get the IP address when the ...
1
vote
1answer
54 views

How to manage several kvm from one place?

good morning. I have rented 3 physical servers on which I have installed KVM and Virt-Manager. But it is not very practical for me to have to access each of the 3 servers by VNC to see how ...
0
votes
1answer
940 views

KVM: Can not destroy VM (Permission denied) - AppArmor blocking Libvirt

Every time I run virsh destroy ${KVM} as root I get the following error (virsh shutdown ${KVM} is showing absolutely no reaction, nothing happens): error: Failed to destroy domain ${KVM} error: ...
1
vote
0answers
511 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
2answers
784 views

virt-install --disk size=10 does what?

How can I get read/write permissions to browse the guest filesystem from the host? (Presumably it's only safe when the guest is shutdown.) Where is the default path, as below, for the guest ...
0
votes
1answer
118 views

libvirtd: symbol lookup error: /lib64/libvirt.so.0: undefined symbol: ssh_get_publickey [closed]

I have a lite problem with libvirtd . I do not use kvm by few mouth and after upgrade from fedora 25 to 26 . Re-installation all packages libvirt does not help #libvirtd -d ...
0
votes
1answer
220 views

kvm template creation issue [closed]

I want to create a template for multiple vm deployment from a existing image. I basically have a "template" vm ready with image in qcow2 format at path "/kvm/template.qcow2". I have heard about "virt-...
3
votes
0answers
2k views

End of file while reading data: Input/output error

I use the below command to check the libvirtd status, but get error: [root@ha-node1 nova]# systemctl status libvirtd.service ● libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/...
1
vote
0answers
229 views

Priority routing with macvtap bridges

I have a machine with 2 ethernet cards. One with single interface, one with 4. I intend to use the single interface card (which is should be connected to my LAN) as the means of accessing (ssh etc) ...
0
votes
0answers
374 views

virt-manager permission denied when trying to access .img file on zfs pool

using fedora 25 I can create, but not access (i.e. vm's use) .img files sitting on my zfs pool note: using zfs-fuse (regular zfs will not work on fedora). I was able to get this working using zfs-...
1
vote
1answer
2k views

Why does libvirt require root privileges by default?

I have tried accessing libvirt (with virt-manager, or with virsh), and there are often issues with permissions. I found out from this blog post that it is possible to add a Polkit rule to allow a ...
3
votes
0answers
929 views

How to define multiple routes for KVM guests with CentOS 7

The code below generates two CentOS 7 GUEST virtual machines on a CentOS 7 HOST. One of the virtual machines is connected to the internet via a PUBLIC IP address. The other is given a PRIVATE IP ...
0
votes
0answers
344 views

Why won't virt-install command run?

When I type the following virt-install command into a CentOS 7 terminal, it gives me room to type a second line instead of running the command. virt-install runs other commands on this machine ...
1
vote
1answer
3k views

dracut-initqueue[588]: RTNETLINK answers: Network is unreachable

A CentOS 7 host needs to install a CentOS 7 guest operating system using virt-install and a kickstart file. Then BOTH the HOST and the GUEST need to be accessible via ssh using separate public static ...
1
vote
0answers
1k views

'group does not exist.' and 'Not enough space in file systems'

A CentOS 7 host needs to install a CentOS 7 guest using virt-install and kickstart, but the approach documented below is not recognizing either the designated hard drive or the dependencies. What ...
0
votes
1answer
5k views

Static IP addresses with kickstart installation of CentOS 7

The following error is being thrown when a kickstart file is used to install a CentOS 7 guest virtual machine with static IP networking: [3.835698] dracut-cmdline[81]: parse-kickstart ERROR: ...
0
votes
1answer
467 views

virt-install causes Putty session to freeze

Using Putty to log in to a remote CentOS 7 server, I am able to successfully create a CentOS 7 guest virtual machine in the CentOS 7 host. However, the command causes the console to freeze and ...
1
vote
3answers
2k views

Could not open '/root/CentOS-7-x86_64-Minimal-1611.iso': Permission denied

An attempt to use virt-install to create a CentOS 7 guest virtual machine on a CentOS 7 host is generating the following error: Could not open '/root/CentOS-7-x86_64-Minimal-1611.iso': Permission ...
0
votes
1answer
1k views

KVM and Libvirt: Bad CPU/Network performance of guest

I have an Arch Linux host which runs virtualised router. When using a LXC guest as router, everything is fine. I get 100MBits Up/Down and almost no CPU usage at all. However, when I use libvirt ...
1
vote
1answer
1k views

libvirt qemu cannot access image inside my home directory, even as root?

I have problem getting my VM running via libvirt. Here is my setup: I put my qcow2 image and domain XML (named win7.xml) under $HOME/vm, with all files and directories using my user, my group, and ...
3
votes
0answers
4k views

Libvirt qemu changing hardware identifiers?

I am having a strange problem that I just cannot figure out. I have a Windows 7 virtual machine that was originally a physical machine that was demoted to a VM awhile ago. I used to boot it with ...
6
votes
2answers
1k views

Using virsh to control VMs created in virt-manager [closed]

here's a question for you that's been driving me round the bend. I've managed to find plenty of resource from folk that want to do the opposite from me i.e see a machine they created using virsh in ...
0
votes
1answer
763 views

Error trying to start whonix : usupported configuration : quemu does not support the accel2d setting

I'm trying to setup a whonix virtual machine but when I start the machine with virsh -c quemu:///system start Whonix-Gateway it just throws : unsupported configuration : qemu does not support the ...
2
votes
1answer
5k 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 ...
4
votes
4answers
9k 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
674 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 ...
1
vote
1answer
54 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
121 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 deploy ...
0
votes
1answer
139 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
724 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
422 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 ...
2
votes
1answer
1k 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
491 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, ...
1
vote
0answers
746 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 ...
11
votes
1answer
14k 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
100 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
1answer
870 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 via ...
3
votes
3answers
4k 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 ...
5
votes
2answers
12k 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 ...