Identifying qemu configuration and launch arguments on incus-os

I am trying to launch an obscure OS in a VM on incus. I know that it’s pretty particular about the launch options, and I’d like to see the default qemu options so I can understand what to consider modifying. On plain-vanilla incus, I can look at some files to see wha the default is, but obviously I can’t inspect the files on incus-os. Is there a way for me to identify what the default qemu configuration is for a given vm?

The command used can be found by looking at the debug logs (incus/internal/server/instance/drivers/driver_qemu.go at c15337072086dd6b9925352ffe99296f681349e5 · lxc/incus · GitHub).

A way to do it is to run incus monitor [<remote>:] --loglevel=debug --format=pretty --type=logging, and look for Starting QEMU in it.

1 Like