[libvirt] [PATCH v4 01/14] conf: hostdev: Enforce enum-in-switch compile-time checks