[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] spapr: DRC cleanups (part VI)
From: |
Daniel Henrique Barboza |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 0/5] spapr: DRC cleanups (part VI) |
Date: |
Thu, 6 Jul 2017 11:31:35 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 07/05/2017 06:53 PM, Daniel Henrique Barboza wrote:
Worth a try. I'll see if I can make a POC of this DRC reset at incoming
migration time.
Just played a little with the idea of manual reset during migration.
I've created a
POC that resets the CPU DRCs in a pre_load hook. Then I've done the same
experiment - device_add on both source and target before the migration,
hot unplug the device after migration is completed. The hot unplug worked as
expected in both QEMU and guest.
To minimize the impact I am resetting only the DRCs of the CPUs that
were hotplugged
in the target instead of resetting everybody.
I'll see if this solution works for LMBs and PCI devices. In case
affirmative, and
if we are fine with this solution of resetting the DRCs in pre_load (not
sure if pre_load is
the right place for doing it - suggestions welcome), I can send a patch
to be applied on top
of this series.
Thanks,
Daniel