[libvirt] [PATCH 05/40] Simplify the Xen get type driver method