kvm: reduce code duplication in config_iothread
authorAmit Shah <amit.shah@redhat.com>
Thu, 4 Feb 2010 14:46:22 +0000 (20:16 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Feb 2010 18:45:04 +0000 (12:45 -0600)
commitd0e9059d315234da8bdb172ea0399d5d921cebcd
tree21e3a131735c780bce46d4b284118a57b79c9602
parent7b90941b433d0ef7d6a58ec6f37603d7a2fc0bcf
kvm: reduce code duplication in config_iothread

We have some duplicated code in the CONFIG_IOTHREAD #ifdef and #else
cases. Fix that.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kvm-all.c