[PATCH 0/3] domain capabilites improvements

Jim Fehlig jfehlig at suse.com
Wed Sep 7 21:20:44 UTC 2022


On 9/6/22 14:42, Jim Fehlig wrote:
> The first two patches add USB redirect and channel devices to
> domcapabilities. Patch3 fixes reporting of spice support.
> 
> Patch1 was sent previously, before I noticed the others were needed

Another capability I'd like to expose is the functionality provided by qemu's 
audio-spice module, which IIUC is essentially `-audiodev spice`. After peeking 
at the qmp ref manual [1] I expected to find an "audiodev" object, however

# virsh qemu-monitor-command test \
   --cmd '{"execute":"qom-list-types"}' | grep -i audiodev
#
# virsh qemu-monitor-command test --cmd \
   '{"execute":"qom-list-properties","arguments":{"typename":"audiodev"}}'
{"id":"libvirt-411","error":{"class":"DeviceNotFound","desc":"Class 'audiodev' 
not found"}}
# virsh qemu-monitor-command test --cmd \
   '{"execute":"device-list-properties","arguments":{"typename":"audiodev"}}'
{"id":"libvirt-412","error":{"class":"DeviceNotFound","desc":"Device 'audiodev' 
not found"}}

Command line help is not available either, which spawned Claudio's qemu patch [2]

# qemu-system-x86_64 -audiodev help
qemu-system-x86_64: -audiodev help: Help is not available for this option

Have I overlooked alternatives for detecting `-audiodev spice` support?

Thanks!
Jim

[1] https://qemu-project.gitlab.io/qemu/interop/qemu-qmp-ref.html#qapidoc-3005
[2] https://lists.gnu.org/archive/html/qemu-devel/2022-09/msg01181.html



More information about the libvir-list mailing list