[PATCH 5/8] initialize affinities

Glauber Costa
2008-03-04T16:21:58Z

store default process affinities before we get the chance to process
any options

Signed-off-by: Glauber Costa <gcosta@redhat.com>
---
qemu/vl.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/qemu/vl.c b/qemu/vl.c
index f10fbd8..6a94724 100644
--- a/qemu/vl.c
+++ b/qemu/vl.c
@@ -8717,6 +8717,9 @@ int main(int argc, char **argv)
}
#endif

+#ifdef USE_KVM
+ kvm_register_default_affinities();
+#endif
register_machines();
machine = first_machine;
cpu_model = NULL;
--
1.5.0.6