Il 22/04/2013 13:48, Amos Kong ha scritto: >>> > > Libvirt doesn't have a stable way to know option support >>> > > detail. This patch introdued a new qmp command to query >>> > > configuration schema information. hmp command isn't added. >> > >> > Can you introspect QemuOpts instead? All new options are added there. > > It would be exact to use QemuOpts. I tried to output the vm_config_groups[] > in qemu-config.c, but it seems not enough. (desc list of -netdev, -drive, > -device are all empty)
That's expected because they are parsed otherwise, depending on the backend type. -chardev is currently working but it's an implementation detail. Paolo