Wei Wang
a229989d97
virtio: don't allocate vqs when names[i] = NULL
...
Some vqs may not need to be allocated when their related feature bits
are disabled. So callers may pass in such vqs with "names = NULL".
Then we skip such vq allocations.
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Cc: stable@vger.kernel.org
Fixes: 86a559787e6f ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT")
2019-01-14 20:15:19 -05:00
..
2018-11-27 08:44:07 +01:00
2017-11-15 18:21:04 -08:00
2018-12-17 08:26:24 +01:00
2018-08-21 23:54:18 -04:00
2018-12-20 22:21:20 +11:00
2018-09-25 20:21:02 +02:00
2018-12-10 16:23:27 +01:00
2019-01-08 07:58:37 -05:00
2018-07-07 09:59:35 +02:00
2018-02-11 14:34:03 -08:00
2018-11-01 11:46:27 -07:00
2018-11-26 16:59:48 +01:00
2019-01-14 20:15:19 -05:00
2018-12-21 14:46:50 +11:00
2018-12-28 12:11:50 -08:00
2018-10-15 20:54:17 +02:00
2018-12-06 15:53:15 +01:00
2019-01-03 18:57:57 -08:00
2018-09-14 15:36:20 +02:00
2018-09-14 15:36:20 +02:00
2018-09-14 15:36:20 +02:00
2017-12-18 15:59:17 +01:00
2018-09-12 09:46:46 +02:00
2017-08-28 16:55:49 +02:00
2018-03-15 18:20:51 +01:00
2018-07-16 13:30:47 +02:00
2018-11-11 09:13:19 -08:00
2018-09-12 09:46:46 +02:00
2018-01-09 17:03:57 +01:00
2017-12-07 18:45:31 +01:00
2018-01-09 17:03:57 +01:00
2018-09-12 09:31:00 +02:00
2018-02-11 14:34:03 -08:00
2017-12-07 18:45:31 +01:00
2018-09-12 09:31:00 +02:00
2018-05-14 16:35:42 +02:00
2017-12-18 16:00:57 +01:00
2017-08-28 16:55:48 +02:00
2017-12-07 18:45:31 +01:00
2017-08-28 16:55:49 +02:00
2018-11-27 08:58:52 +01:00
2018-09-25 20:21:02 +02:00
2018-12-28 20:54:57 -08:00
2017-08-28 16:55:48 +02:00
2018-07-19 11:46:57 +01:00
2018-02-11 14:34:03 -08:00
2017-12-17 12:52:34 +01:00
2018-11-27 08:26:01 +01:00
2018-09-25 20:20:59 +02:00
2018-04-23 13:31:27 +02:00
2018-07-07 17:44:52 +02:00
2018-12-06 15:42:18 +01:00
2018-12-28 20:54:57 -08:00