]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: add validation if sound device is supported
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Tue, 20 Dec 2022 22:52:05 +0000 (23:52 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 21 Dec 2022 09:00:52 +0000 (10:00 +0100)
commitf2fe8a3504ec7340c789dad53cb11bfca212048b
treedbce64ef0cc826d372bcd28f37bc88b5b3a30952
parent4102acc608819b15658ca3e37ceca7c89efae16b
libxl: add validation if sound device is supported

Xen supports only subset of libvirt's sound devices, and starting with
Xen 4.17 it is enforced by libxl. Verify it early.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/libxl/libxl_domain.c