Michael S. Tsirkin 20e9c11012 virtio_console: fix uninitialized variable use
[ Upstream commit 2055997f983c6db7b5c3940ce5f8f822657d5bc3 ]

We try to disable callbacks on c_ivq even without multiport
even though that vq is not initialized in this configuration.

Fixes: c743d09dbd01 ("virtio: console: Disable callbacks for virtqueues at start of S4 freeze")
Suggested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-28 18:29:04 +01:00
..
2017-06-07 12:07:48 +02:00
2016-07-14 16:21:53 +09:00
2016-08-05 09:48:22 -04:00
2019-10-05 12:30:35 +02:00