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 [virsh]

The tag has no usage guidance.

0
votes
0answers
165 views

How can I optimize QEMU KVM save / restore time?

I'm using QEMU/KVM to run win10 pro VM on my Dell laptop (with SSD). My OS - ubuntu gnome 16.04. Details about my VM: - Disk size 50 GB - I gave it 4GB ram (out of 16GB that my Dell laptop has) - I ...
0
votes
0answers
115 views

What's the safest way for backup and restore external snapshot using virsh libvirtd

Dears, I've followed the following steps in order to get a snapshot of a running VM on my KVM, but actually i'm not sure if that the correct way or no : /usr/bin/virsh snapshot-create-as \ --domain ...
0
votes
1answer
306 views

KVM Online-Backup of a Windows-Machine

I implemented a bash script which is backing up my VMs. Basically I am doing the following steps: Create a snapshot of the target VM Backup the disk of the target VM Merge the changes back to the ...
1
vote
2answers
208 views

How to sniff a virsh virtual bridge from a virtual machine

So I want to sniff the traffic from a virtual bridge (virbr2) from a virtual machine. I can successfully sniff virbr2 directly from the host machine, but when setting that interface to the virtual ...
0
votes
1answer
81 views

CentOS virsh : how to inactive a container?

I am maintaining a legacy system(redmine). It is on CentOS7 x86 and running on virsh. I got a container(I do not know exact terms) with named centos7-redmine. [root@ice]# virsh list --all Id ...
1
vote
1answer
4k views

kvm Error starting domain: unsupported configuration: Unable to find security driver for model selinux

Trying to start our kvm virtual machines and getting this error after rebooting the physical host machine. Error starting domain: unsupported configuration: Unable to find security driver for model ...
1
vote
1answer
824 views

Live Migration without shared storage

I am new to Ubuntu and virtualization and I have been working on live migration of KVM machines without a shared storage. I have followed all the steps as described in the following link everything ...
0
votes
1answer
195 views

systemd service to set virsh default storage pool

I'm trying to run a script on system boot after an kickstart automated installation, the script just changes the default storage pool for KVM. But for some reason the changes don't take effect, if I ...
3
votes
2answers
1k views

How to increase size of an ubuntu cloud image

I have been trying to start a VM using ubuntu cloud images. Now, the image size is very less, I am getting around only 2GB of space. Is there any way to increase the size? I tried qemu-img resize, but ...
1
vote
1answer
815 views

Does Libvirt have any commands to find out disk i/o information?

Disk i/o information like throughput,activity or latency, or at least some disk related data, by which the throughput, activity or latency can be calculated. Is there any virsh command or some method ...
2
votes
2answers
3k views

Show qemu command line from virsh

I am debugging a problem with a libvirt VM starting, and I want to see the exact command line that it is going to use to start qemu. Is this possible using virsh or some other utility?
18
votes
9answers
39k views

How to exit a “virsh console” connection?

Is there any special characters involved? I want to be able to open a console connection in my application and exit upon completion of a task