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
0 answers

Faulted PCI device causes system to hang, unable to reboot

I run a hypervisor with multiple PCI devices that get passed into the hosted Virtual Machines. I recently encountered an issue with one of the physical cards which caused it to stop responding, and this seems to have caused many parts of my system…
Matt Clark
  • 685
  • 1
  • 10
  • 26
0
votes
0 answers

Why libvirt ignore secure boot flag?

In libvirt version 6.0.0 I have following configuration hvm
Wang
  • 292
  • 1
  • 2
  • 11
0
votes
1 answer

how can I boot from usb device in libvirt qemu machine?

I pass-through a usb device like this:
Wang
  • 292
  • 1
  • 2
  • 11
0
votes
1 answer

libvirt with qemu guest, bridged networking does not work

I am trying to get a VM operational and working so my router can forward a high port to its SSH, allowing someone on the Internet to connect to the VM. I am familiar with how to make that part of it operational. I first tried bridged networking. …
elyograg
  • 239
  • 1
  • 11
0
votes
1 answer

How do I find architectures supported by an emulator for use when defining a libvirt domain?

When creating a libvirt guest using XML, how do I determine what 'arch' values are valid for ? The problem is, for example, arm is invalid and must be armv7l instead. How is one supposed to know that? The documentation…
0
votes
1 answer

XML for Qemu `-nic user,model=virtio-net-pci` Network

How do I specify a network interface in libvirt XML that is equivalent to the qemu-system-* argument -nic user,model=virtio-net-pci. I have a variety of qemu machines (without KVM) that happily boot with this argument but I can't figure out how to…
0
votes
1 answer

Keep specific vnet(xx) adapter on host system for VM the same after VM shutdown/reboot

Upon a shutdown and reboot the vnet(xx) adapter assigned to the VM from the VM host changes. Is there any way to keep it a specific vnet(xx), for example vnet20 after it's shutdown for whatever reason and then rebooted.
0
votes
1 answer

Libvirt routing between two NAT networks

I have following two networks, subsys-network
0
votes
1 answer

`virsh -c qemu:///session list --all` lists VMs created in `QEMU/KVM` connection, but misses VM from `QEMU/KVM User session` of Virt-Manager

# virsh -c qemu:///session list --all lists only VMs created in QEMU/KVM connection (system !), but misses VM I've created in QEMU/KVM User session in GUI of Virt-Manager. Why? From below I unserstand I'm using correct syntax of the command: Migrate…
Alex Martian
  • 129
  • 5
0
votes
1 answer

Bridging wan interface using macvtap - no connection to host

So I have an ubuntu server with 1 WAN interface with a public ip address. I would like to bridge this interface so that the qemu guest vm will use the same interface. I used the guide…
chegov
  • 1
0
votes
3 answers

Virsh command hangs when script runs in the background

I have a bash script which runs as a cronjob. This script runs several commands and one of them is the following virsh command: /usr/bin/virsh list --all When I run this script in the terminal (as root) or as a cronjob (as root also) the virsh…
Esteban
  • 35
  • 7
0
votes
2 answers

How to resize kvm vm host

KVM Host Environment:- # cat /etc/issue Welcome to openSUSE 13.2 "Harlequin" - Kernel \r (\l). # /usr/bin/qemu-system-x86_64 --version QEMU emulator version 2.1.3 With the below commands i have resized the VM host virsh destroy vm1 qemu-img resize…
0
votes
1 answer

libvirt nwfilter breaks networking of other VMs

I just switched from VirtualBox to Virt Manager with KVM and I am very happy with the switch (my initial motivation for it was to use the same virtualization for desktop VMs and server VMs by ditching both Virtualbox and vanilla Proxmox in favor of…
Jean
  • 1
  • 1
0
votes
1 answer

Parallel OpenVPN Connection Over multiple Libvirt Network Interfaces

Let's Say That I have 20 VMs (Host: Ubuntu, Using Qemu-KVM, libvirt) and that I would use different network interfaces for different groups of vms. (1-6 using Network1, 7-15 using Network2, 16-20 using Network3). The Network interfaces were created…
0
votes
0 answers

virt-manager's remote-viewer: fails to connect thru SSH tunnel with "incomplete link header (-104/16)

I have a server running libvirtd with QEMU/KVM domains. I would like to access it with virt-manager from a remote machine, for which I open an SSH tunnel and forward a TCP port (libvirtd is listening on a local TCP port). Then, virt-manager is able…
hypersw
  • 101
  • 2