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