Marcelo Tosatti wrote:
On Wed, Mar 25, 2009 at 11:26:19AM -0300, Marcelo Tosatti wrote:
On Wed, Mar 25, 2009 at 01:45:52PM +0200, Avi Kivity wrote:
Marcelo Tosatti wrote:
From: Yaniv Kamay <ya...@qumranet.com>

Stop cpus before devices when stopping the VM, start cpus after devices
when starting VM.

Why is this needed?
A vcpu could access a stopped device otherwise.

Actually on vm_stop its safe because the order happens to be correct,
but on vm_start its the other way around (vcpus start first, and they
should be started last).

But, we are holding qemu_mutex.  How can vcpus access the devices?


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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to