|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [V6 PATCH 1/4] net: announce self after vm start |
Date: | Wed, 02 May 2012 10:32:33 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120425 Thunderbird/12.0 |
Il 02/05/2012 09:59, Jason Wang ha scritto: > I don't like this external flag. As this is only related to migration > I think we can add a new state RUN_STATE_MIG_PRELAUNCH. In vm_start > call qemu_announce_self only if the state was > RUN_STATE_MIG_PRELAUNCH. This will we useful if we will need to do > something else when resuming a migrated guest. I don't think this global is replacing a runstate. It is simply saying that some work has been delayed to the next time the CPU runs. Perhaps we can instead use a runstate-change notifier and keep the global hidden to vl.c. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |