]> 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)
commit045f1286bdb2fe35cfa25cec27447598f5a426ee
treeacf5eabccb93d35035547fd80489f222a1538256
parent2658f9f2ffa4d2e43a3ffb310ed34d54a86deafc
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