[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] libxl: Add missing libxl__virtio_devtype to device_type_tbl array
On 26-07-23, 17:14, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx> > > 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[]. > > Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx> > --- > tools/libs/light/libxl_create.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/libs/light/libxl_create.c b/tools/libs/light/libxl_create.c > index 393c535579..c91059d713 100644 > --- a/tools/libs/light/libxl_create.c > +++ b/tools/libs/light/libxl_create.c > @@ -1887,6 +1887,7 @@ const libxl__device_type *device_type_tbl[] = { > &libxl__dtdev_devtype, > &libxl__vdispl_devtype, > &libxl__vsnd_devtype, > + &libxl__virtio_devtype, > NULL > }; Reviewed-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx> -- viresh
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |