virtio: balloon: Move vq initialization into separate function
authorAmit Shah <amit.shah@redhat.com>
Thu, 22 Dec 2011 11:28:34 +0000 (16:58 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:46 +0000 (15:44 +1030)
commitbe91c33dd15eff6b0dffc60cee4c8042e75493d2
tree0e7738cfa3a30e00ef4ac7a6d87ad5f50e469dc1
parent0741bcb5584f9e2390ae6261573c4de8314999f2
virtio: balloon: Move vq initialization into separate function

The probe and PM restore functions will share this code.

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