Re: [Qemu-devel] [PATCH 09/10] Exit loop if we have been there too long

2010-11-29 Thread Anthony Liguori
On 11/23/2010 05:03 PM, Juan Quintela wrote: From: Juan Quintela cheking each 64 pages is a random magic number as good as any other. We don't want to test too many times, but on the other hand, qemu_get_clock_ns() is not so expensive either. Signed-off-by: Juan Quintela Signed-off-by: Juan Qui

[Qemu-devel] [PATCH 09/10] Exit loop if we have been there too long

2010-11-23 Thread Juan Quintela
From: Juan Quintela cheking each 64 pages is a random magic number as good as any other. We don't want to test too many times, but on the other hand, qemu_get_clock_ns() is not so expensive either. Signed-off-by: Juan Quintela Signed-off-by: Juan Quintela --- arch_init.c | 16 ++