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

Access pty login prompt in VM

I have created a VM with virt-install, using as install media a Ubuntu 14.04.01 LTS server ISO. During the installation phase I was connected to the VM via the graphical console. Now I have the VM running: I can ssh to it, and it is otherwise…
blueFast
  • 4,200
  • 13
  • 37
  • 54
0
votes
1 answer

ERROR Host does not support virtualization type 'hvm'

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 path=/var/lib/libvirt/images/test.img,size=5…
user245637
  • 1
  • 1
  • 2
0
votes
1 answer

Is there a way to connect VMWare Workstation / Fusion to non-esx Libvirtd-managed virtual machines?

I'm using KVM virtual machines managed through libvirtd server-side for most of my projects. On my desktop however, I'm using VMWare Fusion Professional which, just like its VMWare Workstation cousin, allows connecting to ESXi servers. I would like…
0
votes
1 answer

QEMU guest can access HTTPS sites, but not HTTP

So I'm configuring a QEMU guest on my Debian Wheezy server, using virt-manager. As guest I've installed Ubuntu 14.04.1 server. The server contains the following iptables rule: iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port…
Jelle De Loecker
  • 1,094
  • 6
  • 17
  • 30
0
votes
0 answers

Libvirt/KVM vm - No network connectivity

I have installed devstack (OpenStacks development platform) on a physical ubuntu 14.04 host and I have been trying to follow the tutorials for manually creating an image. I have tried for Ubuntu and Windows but I'm having trouble connecting to any…
ben
  • 113
  • 3
0
votes
1 answer

KVM unix socket file permission for VNC

I'm using kvm-qemu/libvirtd for a bunch of kvms. I'm using vnc for the graphical interface. By default, it listens on a tcp socket. I want to have it listen on a unix socket instead. Looking at some docs (http://libvirt.org/formatdomain.html) I…
vimalloc
  • 151
  • 1
  • 6
0
votes
0 answers

CentOS Host KVM Virtual Machine running a Windows VM - No internet access

I've installed a KVM virtual machine on a CentOS host using libvirt. I've also set up a bridged connection from the interface en0:4 running on IP x.x.x.15 to br0. (The IP is a public one). Running ifconfig outputs: root@ [~]# ifconfig br0 …
0
votes
1 answer

EL6/KVM guest dies with "pthread_create failed: Resource temporarily unavailable"

I've got a CentOS 6.5 x86-64 KVM server with a bunch of guest VMs of different breeds, mostly EL5 and EL6. However one and only one of them keeps crashing every couple of days with: pthread_create failed: Resource temporarily unavailable Here is…
MLu
  • 24,849
  • 5
  • 59
  • 86
0
votes
2 answers

How can I make Windows Server 2012 running on KVM boot with virtio rather than IDE?

I have Windows Server 2012 Essentials running on KVM in Ubuntu 14.04. I've had some problems detailed here Windows Server 2012 on KVM on Ubuntu 14.04. Runs well for a while and then slows down I haven't made much progress on that but I thought I…
tetranz
  • 315
  • 2
  • 6
  • 14
0
votes
1 answer

virsh XML interface allocation

I am trying to launch VM using a XML. This VM will be having 5 interfaces each connected to certain bridge. Issue here is allocation of these interfaces is random. My XML
0
votes
2 answers

Force an LXC container to use its own IP address

Sorry if this question has already been asked. I could not find it, I have this setup : +---------------------------------------------------------------------------------------------+ |HOST …
0
votes
1 answer

How to start a new instance of QEMU based on the same image and snapshot?

I have a QEMU image (qcow2) with a snapshot stored in it. Right now I'm using libvirt to start it. However, I want to be able to run more than one instance of the same image snapshot. I guess I can do that by cloning the virtual-hd and…
Ofir Israel
  • 101
  • 1
  • 1
0
votes
1 answer

Cannot add any virtio discs in virt-manager, how to fix?

I’ve just freshly installed virt-manager and libvirt-bin (and related packages) on a Debian sid system, and have a strange problem I’ve not yet seen on another similar installation: When creating a new VM, I get presented one with an IDE disc and an…
mirabilos
  • 737
  • 1
  • 7
  • 22
0
votes
1 answer

Live migration: is it possible to store image disks on a single iscsi target?

From redhat documentation: A guest virtual machine installed on shared storage using one of the following protocols: Fibre Channel-based LUNs iSCSI FCoE NFS SCSI RDMA protocols (SCSI RCP): the block export protocol used in Infiniband and 10GbE…
user2358943
  • 105
  • 1
  • 3
0
votes
1 answer

How to mount a URL as a CD-ROM on QEMU?

I'm wondering if it's possible to specify a URL for the cdrom option on QEMU, and if so how would I go about doing that? Normally I'd mount an iso like this:
Bravo Delta
  • 140
  • 1
  • 9