Hello,
I’m looking into building LXD from source into .deb packages. While working on the build, I noticed a few things that I cannot figure out or find information on the doc/installing.md page.
- What dependencies are required to run VMs with LXD?
After I compiled lxd & ran it, I saw the following error message:
Dec 16 14:40:05 test-lxd lxd[2205]: t=2021-12-16T14:40:05+0000
lvl=warn msg="Instance type not operational" driver=qemu
err="vhost_vsock kernel module not loaded: Failed to run: \
modprobe -b vhost_vsock: modprobe: ERROR: could not insert 'vhost_vsock':\
Device or resource busy" type=virtual-machine
I assume qemu
package might be the only thing required, but wanted to double check, as I don’t have a bare metal host to test right now.
-
Looking at the
Makefile
, I noticed a few references to$(DEBUG)
, but I’m unable to find the definition of these in the Makefile. Is this supposed to be reference to the-w
flag or is it something else? -
On upgrades, does
lxd
itself handle database migrations or is it handled by other tools/scripts that come with thesnap
version? -
In the compile output, I found 2 binaries -
deps
andmacroon-identity
. What are they used for?