]> xenbits.xensource.com Git - libvirt.git/commit
daemon: Fix regression of libvirtd reloading support
authorOsier Yang <jyang@redhat.com>
Mon, 15 Aug 2011 07:40:46 +0000 (15:40 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 15 Aug 2011 07:40:46 +0000 (15:40 +0800)
commit9e093f0b4cc5a5fc455a4893d73dc0f2c5355161
tree6c956f082890b4c7ffbe4abbce56e62df1f18656
parent2a48b59dec3bfe8e82dcad5e71180dcee55703e8
daemon: Fix regression of libvirtd reloading support

This is introduced by commit df0b57a95a, which forgot to
add signal handler for SIGHUP.

A simple reproduce method:

1) Create a domain XML under /etc/libvirt/qemu
2) % kill -SIGHUP $(pidof libvirtd)
3) % virsh list --all (the new created domain XML is not listed)
daemon/libvirtd.c