[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 0/8] Fix migration issues with arbitrary cpu-hot(u
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH 0/8] Fix migration issues with arbitrary cpu-hot(un)plug |
Date: |
Fri, 22 Jul 2016 14:35:05 +1000 |
User-agent: |
Mutt/1.6.2 (2016-07-01) |
On Fri, Jul 22, 2016 at 12:56:26AM +0300, Michael S. Tsirkin wrote:
> On Thu, Jul 21, 2016 at 05:54:31PM +0200, Igor Mammedov wrote:
> > 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.
> >
> > tested with:
> > SRC -snapshot -enable-kvm -smp 1,maxcpus=3 -m 256M guest.img -monitor
> > stdio \
> > -device qemu64-x86_64-cpu,id=cpudel,apic-id=1 \
> > -device qemu64-x86_64-cpu,apic-id=2
> > (qemu) device_del cpudel
> > (qemu) stop
> > (qemu) migrate "exec:gzip -c > STATEFILE.gz"
> >
> > DST -snapshot -enable-kvm -smp 1,maxcpus=3 -m 256M guest.img -monitor
> > stdio \
> > -device qemu64-x86_64-cpu,apic-id=2 \
> > -incoming "exec: gzip -c -d STATEFILE.gz"
> >
> > git tree to test with:
> > https://github.com/imammedo/qemu cpu-index-stable
> > to view
> > https://github.com/imammedo/qemu/commits/cpu-index-stable
>
> For PC bits:
>
> Reviewed-by: Michael S. Tsirkin <address@hidden>
>
> This would be nice to have in 2.7.
I agree. Despite the lateness, I think this will avoid substantial
future pain.
> Who's reviewing/merging the rest? Eduardo?
I've reviewed. I could merge through my tree if we don't have a
better option, but merging pc specific pieces through the ppc tree
would seem odd.
--
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
signature.asc
Description: PGP signature
- Re: [Qemu-ppc] [PATCH 6/8] spapr: init CPUState->cpu_index with index relative to core-id, (continued)
Re: [Qemu-ppc] [Qemu-devel] [PATCH 6/8] spapr: init CPUState->cpu_index with index relative to core-id, David Gibson, 2016/07/26
[Qemu-ppc] [PATCH 4/8] qdev: fix object reference leak in case device.realize() fails, Igor Mammedov, 2016/07/21
[Qemu-ppc] [PATCH 7/8] Revert "pc: Enforce adding CPUs contiguously and removing them in opposite order", Igor Mammedov, 2016/07/21
[Qemu-ppc] [PATCH 8/8] Revert "spapr: Ensure CPU cores are added contiguously and removed in LIFO order", Igor Mammedov, 2016/07/21
Re: [Qemu-ppc] [PATCH 0/8] Fix migration issues with arbitrary cpu-hot(un)plug, Michael S. Tsirkin, 2016/07/21
- Re: [Qemu-ppc] [PATCH 0/8] Fix migration issues with arbitrary cpu-hot(un)plug,
David Gibson <=