qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 1/6] Use IO port for qemu<->guest BIOS commun


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH v2 1/6] Use IO port for qemu<->guest BIOS communication.
Date: Wed, 27 Aug 2008 11:18:52 +0300
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Blue Swirl wrote:

Put the lock in memory.  Or even simpler, have the boot cpu extract the
 parameters and place them in memory, and then wake up other cpus.

Where in the memory?

Anywhere you like. Of course that doesn't work if you need the information to get memory to work.

 What about reset, when all CPUs are online? And
CPUs would need to know if they are the boot CPU or not without
disturbing our IO port.

On x86, reset has once cpu running and the rest in a holding pattern.

If your arch has all cpus running on reset, and you can't determine which is cpu 0, you can construct a lock device using mmio which doesn't require any atomic ops.

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]