I tried adding "p2v.o=libvirt p2v.os=default" to the command line of a p2v entry that I created on our PXE boot server and was surprised that it doesn't seem to work. Then I read the manual page again and discovered that all those options are ignored unless you fix the server with the p2v.server option. I don't want to fix the server though - we have (currently) five servers and I want the user to be able to choose which one to use but have it default to creating a machine locally rather than just generating files on local disk. It seems to me that the vast majority of those options should be accepted anyway to just change the relevant default, though for backwards compatibility I guess you might want a new argument to enable that mode.
IIUC you want the kernel options to act as defaults for the GUI, so long as p2v.server isn't specified? It seems doable.
Exactly.
Fixed upstream: https://github.com/libguestfs/libguestfs/commit/fb74a275c1438e6e0569b7fea85d2a4841a07a4e Fix will appear in 1.33.23 (dev) / 1.34 (stable).