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