Commit 2055997f authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

virtio_console: fix uninitialized variable use

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

Fixes: c743d09d

 ("virtio: console: Disable callbacks for virtqueues at start of S4 freeze")
Suggested-by: default avatarMike Galbraith <efault@gmx.de>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent fe36cbe0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment