[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] dom0 kenrel crashes for openstack + libvirt + libxl
Hi, I git clone nova-juno from github and searched for 'pygrub'. Here is what i get. .//etc/nova/rootwrap.d/compute.filters:104:# nova/virt/xenapi/vm_utils.py: 'pygrub', '-qn', dev_path .//etc/nova/rootwrap.d/compute.filters:105:pygrub: CommandFilter, pygrub, root .//nova/tests/unit/virt/xenapi/test_xenapi.py:667:    Âself.assertEqual(self.vm['PV_bootloader'], 'pygrub') .//nova/virt/xenapi/vm_utils.py:298:      Ârec['PV_bootloader'] = 'pygrub' It seems that nova does not specify absolute path for pygrub. I checked libvirt source code and found the following definition. .//src/libxl/libxl_conf.h:52:# define LIBXL_BOOTLOADER_PATH BINDIR "/pygrub" Searched further for difinition of BINDIR revealed the followings. Xing:libvirt-1.2.2 xing$ grep BINDIR -Rn ./ .//ChangeLog:48645: ÂSBINDIR "/libvirtd" .//ChangeLog:48646: ÂSBINDIR "/libvirtd_dbg" .//build-aux/ltmain.sh:2408: Â-bindir BINDIR  Âspecify path to binaries directory (for systems where .//gnulib/lib/Makefile.in:2499: Âecho '#define BINDIR "$(bindir)"'; \ .//gnulib/lib/Makefile.in:2500: Âecho '#define SBINDIR "$(sbindir)"'; \ .//gnulib/lib/gnulib.mk:303: Âecho '#define BINDIR "$(bindir)"'; \ .//gnulib/lib/gnulib.mk:304: Âecho '#define SBINDIR "$(sbindir)"'; \ I guess BINDIR was pointed to /usr/bin. -Xing On Thu, Nov 20, 2014 at 2:30 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote: On Wed, 2014-11-19 at 11:57 -0700, Xing Lin wrote: _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |