However, if user provides a wrong address, the libvirtd dies horribly:
Core was generated by `/home/zippy/tmp/libvirt.git/daemon/.libs/libvirtd --listen'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f5c3859a7fc in qemuProcessHandleMonitorEOF (mon=0x7f5c24001870,
vm=0x7f5c24001fa0, opaque=0x7f5c300c8600) at qemu/qemu_process.c:300
300 if (priv->beingDestroyed) {
(gdb) p priv
$1 = (qemuDomainObjPrivatePtr) 0x0
(gdb) p vm
$2 = (virDomainObjPtr) 0x7f5c24001fa0
This is supposed to be fixed by my patch:
https://www.redhat.com/archives/libvir-list/2013-October/msg00347.html
Michal Privoznik (3):
Migration: Introduce VIR_MIGRATE_PARAM_LISTEN_ADDRESS
qemu: Implement support for VIR_MIGRATE_PARAM_LISTEN_ADDRESS
qemu_conf: Introduce "listen_address"
include/libvirt/libvirt.h.in | 10 ++++
src/qemu/libvirtd_qemu.aug | 3 ++
src/qemu/qemu.conf | 6 +++
src/qemu/qemu_conf.c | 2 +
src/qemu/qemu_conf.h | 2 +
src/qemu/qemu_driver.c | 33 +++++++++----
src/qemu/qemu_migration.c | 98 +++++++++++++++++++++++++++-----------
src/qemu/qemu_migration.h | 13 +++--
src/qemu/test_libvirtd_qemu.aug.in | 1 +
tools/virsh-domain.c | 11 +++++
tools/virsh.pod | 10 +++-
11 files changed, 146 insertions(+), 43 deletions(-)
--
1.8.1.5