From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRtjg-0007qZ-1S for qemu-devel@nongnu.org; Tue, 26 Jul 2016 00:12:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRtjd-0005JY-Oz for qemu-devel@nongnu.org; Tue, 26 Jul 2016 00:12:51 -0400 Date: Tue, 26 Jul 2016 13:16:59 +1000 From: David Gibson Message-ID: <20160726031659.GH17429@voom.fritz.box> References: <1469440764-61619-1-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VkqCAaSJIySsbD6j" Content-Disposition: inline In-Reply-To: <1469440764-61619-1-git-send-email-imammedo@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/6] Fix migration issues with arbitrary cpu-hot(un)plug List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: qemu-devel@nongnu.org, Paolo Bonzini , Peter Crosthwaite , Richard Henderson , Eduardo Habkost , "Michael S. Tsirkin" , Alexander Graf , Riku Voipio , Bharata B Rao , qemu-ppc@nongnu.org --VkqCAaSJIySsbD6j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 25, 2016 at 11:59:18AM +0200, Igor Mammedov wrote: > Changes from v1: > - be conservative, drop QTAIL_*() macros hunks and do list element > check/cleanup localy in cpu_exec_exit() > - fix conflict caused by above > - update Reviewed-bys fom v1 > - drop spapr patches as they will be a bit different and depend > on not yet applied to master patch: > 'spapr: disintricate core-id from DT semantics' >=20 > Series fixes migration issues caused by unstable cpu_index which depended > on order cpus were created/destroyed. It follows David's idea to make > cpu_index assignable by selected boards if board supports cpu-hotplug > with device_add and needs stable cpu_index/'migration id' but leaves > behaviour of the same as before for users that don't care about > cpu-hot(un)plug making changes low-risk. >=20 > tested with: > SRC -snapshot -enable-kvm -smp 1,maxcpus=3D3 -m 256M guest.img -monitor= stdio \ > -device qemu64-x86_64-cpu,id=3Dcpudel,apic-id=3D1 \ > -device qemu64-x86_64-cpu,apic-id=3D2=20 > (qemu) device_del cpudel > (qemu) stop > (qemu) migrate "exec:gzip -c > STATEFILE.gz" > =20 > DST -snapshot -enable-kvm -smp 1,maxcpus=3D3 -m 256M guest.img -monitor= stdio \ > -device qemu64-x86_64-cpu,apic-id=3D2 \ > -incoming "exec: gzip -c -d STATEFILE.gz" >=20 > git tree to test with: > https://github.com/imammedo/qemu cpu-index-stable-v2 > to view > https://github.com/imammedo/qemu/commits/cpu-index-stable-v2 Eduardo, Igor said he thought these would probably go in via your tree. Do you have any kind of ETA for this? I've put these into my ppc-for-2.7 tree, not because I intend to push them from there, but so I can do the ppc specific fixups on top of them. I'm hoping these will disappear in a rebase before my next pull request. --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --VkqCAaSJIySsbD6j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXltYrAAoJEGw4ysog2bOSKmQQAI2vbLHbnRBm9Kgek2noBbUx xo5omh0Yec0jHawPLtz9x5zCtQ0BqNMNgMqE5sh1nOEO4/tQwzOEotr3u7V+H1S8 nDHAgGK8g1qLMiWlVIsjzNtTGqjtQOZr0sNVt7ojb0I2kZgu9Vd9uMw2plpe48J4 iv21f1vb01TLWdNJNzerQEMSSHJUTObimua5rGxqSR0VepxqWCxkoC/JtouH6NCz CkvN0Mh4YzPCydpkhy+43xwmhHpchvk1a9akF+9rKxPXMBd/MA1RnPGpc4DVCEdu upj4/803IRe3EQCCIPwvf/sljWpmS4hxbssmtAcLO25Old/UgJeI1enaWEE0Ic54 oUEimINVVbDx5cPPAqWDR2nutDNgf2ZfnaE/p7d/gyigcn0hrLmmp4IBlURvhr14 1RZoQQ4f0+xq400Xv6S7vmiJy04d2AeIyLjzSIUrRFqg/UUprTV52DPDXSG3vpNg IXmiVuoHumZz+GLwHV8FcIfutNAqPQWLl85Yrsz229p/nuUt07CkYUe7+a+/Yb8q DKLRjI7wsTsbFWqfTq4v02p8vtNKRD2nHPreiM8uLd6wDmUDxSFFVyTT9KBwIRl+ 51UtkdrQq7qFc9mTVsOctpEmxm/KYOZY5QIKr4EXzr3P+Bw93GTbj2zdxEi6hOWn 4tfuLuK7p1jcCgpae0ZI =ypyX -----END PGP SIGNATURE----- --VkqCAaSJIySsbD6j--