]> xenbits.xensource.com Git - libvirt.git/commit
Shorten domain name for automatic coredump
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 26 Apr 2016 07:44:18 +0000 (09:44 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 27 Apr 2016 13:08:10 +0000 (15:08 +0200)
commitd294f6b0dff7df254e9e0e8e27ce00f1dcc9271e
tree51fb0243a1d54c2e9c60d86829bd1882cbc0804b
parenta042275a396ed5fc338bfdd464b76de2215a8058
Shorten domain name for automatic coredump

If the domain name is long enough, the timestamp can prolong the
filename for automatic coredump to more than the filesystem's limit.
Simply shorten it like we do in other places.  The timestamp helps with
the unification, but having the ID in the name won't hurt.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1289363

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_driver.c