]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Add validation of input devices
authorHan Han <hhan@redhat.com>
Thu, 26 Jul 2018 07:27:33 +0000 (15:27 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 26 Jul 2018 21:16:01 +0000 (17:16 -0400)
commitdeb057fd364cb57614c6dea7b05c247231f9ae4f
tree95b44cdac359717836c9aabfa51a4d9bb73a2352
parent3bb75024da58a1432761c1469827e8b767298108
conf: Add validation of input devices

https://bugzilla.redhat.com/show_bug.cgi?id=1591151

Add function virDomainInputDefValidate to validate input devices.
Make sure evdev attribute of source element is not used by mouse,
keyboard, and tablet input device.

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.c