![]() | |||||||||||||
Messages in this thread |
Ar Iau, 2006-10-19 am 13:49 -0500, ysgrifennodd Anthony Liguori: > ioctls are probably wrong here though. Ideally, you would want to be > able to support an SMP guest. This means you need to have two virtual > processors executing in kernel space. If you use ioctls, it forces you Not really and in fact with qemu you'd want to halt a trap on the second virtual CPU until emulation was over if only to get I/O and other instruction ordering right. Thats not an argument that only that view should be supported of course. > If you used a read/write interface, you could poll for any number of > processors and handle IO emulation in a single userspace thread (which > seems closer to how hardware really works anyway). Agreed. Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2006-10-19 22:37 [from the cache] ©2003-2008 | |||||||||||||