Re: [libvirt] [PATCH v2] qemuBuildMemoryBackendStr: Don't crash if no hugetlbfs is mounted

2016-09-19 Thread Peter Krempa
On Mon, Sep 19, 2016 at 11:03:30 +0200, Michal Privoznik wrote: > When trying to migrate a huge page enabled guest, I've noticed > the following crash. Apparently, if no specific hugepages are > requested: > > > > [...] > --- > > diff to v1: > > - added a comment to

[libvirt] [PATCH v2] qemuBuildMemoryBackendStr: Don't crash if no hugetlbfs is mounted

2016-09-19 Thread Michal Privoznik
When trying to migrate a huge page enabled guest, I've noticed the following crash. Apparently, if no specific hugepages are requested: and there are no hugepages configured on the destination, we try to dereference a NULL pointer. Program received signal SIGSEGV, Segmentation fault.