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.

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

libvirt runs on Linux, Solaris and Windows.

libvirt supports the following hypervisors: KVM/QEMU, Hyper-V, VMware, Xen, VirtualBox, OpenVZ, LXC, User Mode Linux, and others.

libvirt suports the following storage: local file images, raw disk storage, LVM, FibreChannel, iSCSI, NFS.

650 questions
0
votes
1 answer

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/mymachine.qcow2,sparse=true…
0
votes
1 answer

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 my hypervisor setup works, as using the following…
turbonerd
  • 76
  • 5
  • 19
0
votes
1 answer

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 27015. I'm a little inexperienced with iptables so…
Alex
  • 389
  • 9
  • 23
0
votes
1 answer

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 sort of problems, like the inability to resize or…
wazoox
  • 6,918
  • 4
  • 31
  • 63
0
votes
1 answer

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 tried both https://wiki.libvirt.org/page/Networking…
iomartin
  • 151
  • 1
  • 4
0
votes
1 answer

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 bridge. By default libvirt's default DHCP server…
Haswell
  • 113
  • 2
  • 8
0
votes
1 answer

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:/home/ngadre# virsh net-dumpxml default
Haswell
  • 113
  • 2
  • 8
0
votes
1 answer

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 command line parameters. Die to my specific needs I…
Andrey
  • 3
  • 2
-1
votes
1 answer

KVM guest cant fetch packages thus it's reachable from ssh

I am a bit lost regarding my kvm setup. I rented a root server at hetzner.de and now wanted to setup virtualization using libvirt & kvm. I created a bridge br0 which now holds the static server ip (instead of the default interface enp2s0). Linking a…
Tobi
  • 101
  • 2
-1
votes
1 answer

Live migration without stopping source VM after migration

Is there any possible way to perform live migration using KVM/QEMU/libvirt without stopping source VM after migration? I want to make full consistent backup of VM under KVM hypervisor without stopping of this VM. So idea is to perform live migration…
-1
votes
1 answer

Usage of libvirt rpc protocol

Where libvirt rpc protocol is used? Is it used inside remote connection communication? I have read that it used between libvirt library and libvirt daemon.
-1
votes
1 answer

kvm tcp vnc connection

Do someone have correct tcp vnc configuration for kvm? I have tried various ways correcting lines in libvirt.conf, qemu.conf, but they do not help (changing listen address, changing flags, changing ports). Vnc always reject to listen on tcp…
-1
votes
2 answers

libvirt: guest performance during backup

Here is a simplified version of my backup script that runs in the host: # shutdown the guest to ensure its filesystem is in a stable state virsh shutdown web --mode=acpi sleep 20s # the real script uses a smarter method to wait for the guest…
-1
votes
1 answer

KVM/libvirt: Guest monopolizes bridge

I'm having a problem in which the first guest started on a VM host can send traffic through both of its assigned interfaces, but subsequent guests can only send traffic through one interface. My VM host setup: CentOS 6.7 (kernel…
Chris
  • 1
  • 1
-1
votes
1 answer

ERROR Host does not support virtualization type 'hvm

hello I have a problem in installing vm on KVM using libvirt(virsh install -) sudo virt-install -n ccnx1 -r 512 --vcpus=1 --os-type=linux --accelerate --nographics -v -l ~/ubuntu-12.04.5-alternate-i386.iso --disk…
user245637
  • 1
  • 1
  • 2
1 2 3
43
44