mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Without it being present it won't be possible to use some libxl__device_type's callbacks for virtio devices as the common code can only invoke these callbacks (by dereferencing a pointer) for valid libxl__device_type's elements when iterating over device_type_tbl[]. Please note, there is no issue within current the code base as virtio devices don't use callbacks that depend on libxl__virtio_devtype presence in device_type_tbl[]. The issue will appear as soon as we start using these callbacks (for example, dm_needed). Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Anthony PERARD <anthony.perard@citrix.com>