]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: console: Disable callbacks for virtqueues at start of S4 freeze
authorAmit Shah <amit.shah@redhat.com>
Fri, 6 Jan 2012 10:49:08 +0000 (16:19 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:45 +0000 (15:44 +1030)
commit4d0a7ddf37109c455016d67ff6ad05c5a9baa66b
treeacf5eabccb93d35035547fd80489f222a1538256
parentabc575e8e06b26879b40c515f3ab5f9a30db887a
virtio: console: Disable callbacks for virtqueues at start of S4 freeze

To ensure we don't receive any more interrupts from the host after we
enter the freeze function, disable all vq interrupts.

There wasn't any problem seen due to this in tests, but applying this
patch makes the freeze case more robust.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c