|
From: | David Hildenbrand |
Subject: | Re: [Qemu-devel] [PATCH v4 5/5] s390x/cpu: Allow hotplug of CPUs |
Date: | Thu, 18 Feb 2016 10:46:52 +0100 |
> > #if !defined(CONFIG_USER_ONLY) > > +void s390_hot_add_cpu(const int64_t id, Error **errp) > > +{ > to make it future-proof wrt migration it could be better to > enforce here that 'id' grows in +1 steps so user > won't be able create cpus with gaps. That should be already covered by: if (id != next_cpu_id) ... or am I missing something? David
[Prev in Thread] | Current Thread | [Next in Thread] |