Description of problem: It should be possible to launch a VM with GDB debugging stub enabled, without having to bypass libvirt Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Since this is for debugging and a reasonably rare case, IMO it should be fine just to use qemu command line passthrough here. Closing, but reopen if anyone disagrees
I can't find qemu command line passthrough? Where is that feature?
I am using virt-manager 1.4
This is illustrated here: https://libvirt.org/drvqemu.html#qemucommand You nede to use 'virsh edit' to modify the XML to include this, rather than virt-manager.
or you can use: virt-xml $VMNAME --edit --qemu-passthrough '-gdb ...'
errrr that's virt-xml --qemu-commandline ...