[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] avoid creating a circular list of cpus
From: |
Rafael Espíndola |
Subject: |
[Qemu-devel] [PATCH] avoid creating a circular list of cpus |
Date: |
Fri, 15 Sep 2006 09:57:33 -0300 |
The attached patch avoids creating a circular list of cpus in do_fork.
Currently, cpu_init returns a pointer to the last element of the list.
This element is then overwritten by memcpy, including the cpu_index
and next_cpu fields. The patch simply restores these fields to the
correct values.
The circular list causes a test program to halt when cpu_exec_init is
called again.
Best Regards,
Rafael
list.patch
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] avoid creating a circular list of cpus,
Rafael Espíndola <=