Answer the question
In order to leave comments, you need to log in
SOLVED: Libvirt + kvm handshake error
Short.
When trying to start the virtual machine LOCALLY using libvirt in conjunction with kvm, we get:
libvirt: error : libvirtd quit during handshake: Input/output error
Detailed.
We have the following environment
media / # uname -a
Linux media 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64 GNU/Linux
media / # libvirtd --version
libvirtd (libvirt) 1.2.0
media / # virsh --version
1.2.0
media / # qemu-system-x86_64 --version
QEMU emulator version 1.7.0, Copyright (c) 2003-2008 Fabrice Bellard
media / # lsmod | grep kvm
kvm_amd 52575 0
kvm 388773 1 kvm_amd
media libvirt # virsh start test
error: Failed to start domain test
error: Activation of org.freedesktop.machine1 timed out
2014-01-04 07:19:17.061+0000: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin \
QEMU_AUDIO_DRV=none /usr/sbin/qemu-system-x86_64 \
-name test -S -machine pc-i440fx-1.7,accel=kvm,usb=off \
...
...
libvirt: error : libvirtd quit during handshake: Input/output error
2014-01-04 07:19:42.074+0000: shutting down
Answer the question
In order to leave comments, you need to log in
It turned out that the problem was in the version of systemd. Upgrading to a less stable but newer version (208.3 => 208.9) solved the problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question