[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V7 02/12] cpus: stop vm in suspended runstate
From: |
Peter Xu |
Subject: |
Re: [PATCH V7 02/12] cpus: stop vm in suspended runstate |
Date: |
Mon, 11 Dec 2023 14:25:18 +0800 |
On Wed, Dec 06, 2023 at 10:09:32PM +0100, Philippe Mathieu-Daudé wrote:
> What about runstate_is_vcpu_clock_ticking() then?
The problem is vCPU clock ticks can only be one part of "VM is running"
state (no matter whether vCPUs are running or not). I'm even thinking
whether cpu_enable_ticks() should one day be put into a vm state change
notifier instead to be even clearer that it's not special (I hope I didn't
overlook its specialty..).
Thanks,
--
Peter Xu
[PATCH V7 07/12] migration: preserve suspended for snapshot, Steve Sistare, 2023/12/06
[PATCH V7 09/12] tests/qtest: migration events, Steve Sistare, 2023/12/06
[PATCH V7 08/12] migration: preserve suspended for bg_migration, Steve Sistare, 2023/12/06
[PATCH V7 06/12] migration: preserve suspended runstate, Steve Sistare, 2023/12/06
[PATCH V7 11/12] tests/qtest: precopy migration with suspend, Steve Sistare, 2023/12/06
[PATCH V7 10/12] tests/qtest: option to suspend during migration, Steve Sistare, 2023/12/06
[PATCH V7 12/12] tests/qtest: postcopy migration with suspend, Steve Sistare, 2023/12/06