libvirt: Use DISTRO_FEATURES to enable Xen support
libvirt: Use DISTRO_FEATURES to enable Xen support

The Xen drivers in libvirt is needed when the build file system image
and kernel are running as dom0. The parts of the kernel needed to run as
dom0 are controlled by DISTRO_FEATURES, and thus there is no need for
the Xen drivers if DISTRO_FEATURES does not contain 'xen'.

Signed-off-by: Jonas Eriksson <dc0621c456d39f2e60985f0f5ca3eb277749d41d@enea.com>
Acked-by: Bruce Ashfield <284cc737d174a260eec2a2a6324a304f84b1ae0f@windriver.com>
Signed-off-by: Bruce Ashfield <284cc737d174a260eec2a2a6324a304f84b1ae0f@windriver.com>

cardoe/meta-virtualization,lgirdk/meta-virtualization,lgirdk/meta-virtualization,lgirdk/meta-virtualization,lgirdk/meta-virtualization,rcwoolley/meta-virtualization,cjp256/meta-virtualization,cardoe/meta-virtualization,fbertux/meta-virtualization,lgirdk/meta-virtualization,errordeveloper/oe-meta-virtualization,fbertux/meta-virtualization,cardoe/meta-virtualization,cjp256/meta-virtualization,cjp256/meta-virtualization,fbertux/meta-virtualization