]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
virtio_console: don't tie bufs to a vq
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 20 Apr 2018 16:54:23 +0000 (19:54 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 14 Aug 2018 10:23:45 +0000 (12:23 +0200)
commita187aa7e359b7e737949e3e9356f3288a0718ba3
tree6c1f7a3ab98a442a7855abc9850924d6481c4821
parente82f639156459346f15e9207512a00340bcc157d
virtio_console: don't tie bufs to a vq

BugLink: http://bugs.launchpad.net/bugs/1778265
commit 2855b33514d290c51d52d94e25d3ef942cd4d578 upstream.

an allocated buffer doesn't need to be tied to a vq -
only vq->vdev is ever used. Pass the function the
just what it needs - the vdev.

Cc: stable@vger.kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/char/virtio_console.c