From: Greg Kurz <groug@kaod.org>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: David Gibson <david@gibson.dropbear.id.au>,
Alexey Kardashevskiy <aik@ozlabs.ru>,
lvivier@redhat.com, qemu-devel@nongnu.org,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
qemu-ppc@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 2/4] ppc: add CPU IRQ state to PPC VMStateDescription
Date: Wed, 13 Sep 2017 19:13:09 +0200 [thread overview]
Message-ID: <20170913191309.56bf8fa4@bahia.lan> (raw)
In-Reply-To: <760c3889-8561-9bce-e565-ccbcb9eb8cf5@ilande.co.uk>
[-- Attachment #1: Type: text/plain, Size: 2589 bytes --]
On Wed, 13 Sep 2017 17:44:54 +0100
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> wrote:
> On 13/09/17 07:02, David Gibson wrote:
>
> >>> Alexey - do you recall from your analysis why these fields were no
> >>> longer deemed necessary, and how your TCG tests were configured?
> >>
> >> I most certainly did not do analysis (my bad. sorry) - I took the patch
> >> from David as he left the team, fixed to compile and pushed away. I am also
> >> very suspicions we did not try migrating TCG or anything but pseries. My
> >> guest that things did not break (if they did not which I am not sure about,
> >> for the TCG case) because the interrupt controller (XICS) or the
> >> pseries-guest took care of resending an interrupt which does not seem to be
> >> the case for mac99.
> >
> > Right, that's probably true. The main point, though, is that these
> > fields were dropped a *long* time ago, when migration was barely
> > working to begin with. In particular I'm pretty sure most of the
> > non-pseries platforms were already pretty broken for migration
> > (amongst other things).
> >
> > Polishing the mac platforms up to working again, including migration,
> > is a reasonable goal. But it can't be at the expense of pseries,
> > which is already working, used in production, and much better tested
> > than mac99 or g3beige ever were.
>
> Oh I completely agree since I'm well aware pseries likely has more users
> than the Mac machines - my question was directed more about why we
> support backwards migration.
>
Downstream support backward migration because end users/customers ask for it
for maximum flexibility when it comes to move workloads around different systems
with different QEMU versions. This is fairly usual in data centers with many
systems.
As others already said, breaking things upstream may turn downstream work
into a nightmare (and FWIW, most of the people working on ppc are also
involved in downstream work).
Cheers,
--
Greg
> I spent several hours yesterday poking my Darwin test case with trying
> the different combinations of pending_interrupts, irq_input_state and
> access_type and could easily provoke migration failures unless all 3 of
> the fields were present so a practical test shows they are still
> required for TCG migration. I think ppc_set_irq()'s use of the interrupt
> fields in hw/ppc/ppc.c and the subsequent reference to pending
> interrupts in target/ppc may explain why I see freezes/hangs until a key
> is pressed in many cases.
>
>
> ATB,
>
> Mark.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2017-09-13 17:13 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-10 14:37 [Qemu-devel] [PATCH 0/4] ppc: migration fixes for TCG Mark Cave-Ayland
2017-09-10 14:37 ` [Qemu-devel] [PATCH 1/4] ppc: change CPUPPCState access_type from int to uint8_t Mark Cave-Ayland
2017-09-10 16:30 ` Laurent Vivier
2017-09-10 18:00 ` Mark Cave-Ayland
2017-09-10 14:37 ` [Qemu-devel] [PATCH 2/4] ppc: add CPU IRQ state to PPC VMStateDescription Mark Cave-Ayland
2017-09-11 7:50 ` [Qemu-devel] [Qemu-ppc] " Greg Kurz
2017-09-11 9:30 ` Dr. David Alan Gilbert
2017-09-11 10:48 ` David Gibson
2017-09-11 16:46 ` Mark Cave-Ayland
2017-09-11 17:19 ` Dr. David Alan Gilbert
2017-09-13 7:03 ` David Gibson
2017-09-12 16:21 ` Dr. David Alan Gilbert
2017-09-12 16:41 ` Mark Cave-Ayland
2017-09-12 16:46 ` Mark Cave-Ayland
2017-09-13 2:23 ` Alexey Kardashevskiy
2017-09-13 6:02 ` David Gibson
2017-09-13 16:44 ` Mark Cave-Ayland
2017-09-13 17:13 ` Greg Kurz [this message]
2017-09-14 3:48 ` David Gibson
2017-09-14 3:30 ` David Gibson
2017-09-10 14:37 ` [Qemu-devel] [PATCH 3/4] ppc: add CPU access_type into the migration stream Mark Cave-Ayland
2017-09-11 10:57 ` David Gibson
2017-09-11 16:52 ` Mark Cave-Ayland
2017-09-13 7:19 ` David Gibson
2017-09-13 17:17 ` Mark Cave-Ayland
2017-09-14 3:54 ` David Gibson
2017-09-10 14:37 ` [Qemu-devel] [PATCH 4/4] ppc: ensure we update the decrementer value during migration Mark Cave-Ayland
2017-09-13 7:12 ` David Gibson
2017-09-13 17:11 ` Mark Cave-Ayland
2017-09-13 17:58 ` Laurent Vivier
2017-09-14 3:52 ` David Gibson
2017-09-15 12:45 ` Mark Cave-Ayland
2017-09-19 8:36 ` David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170913191309.56bf8fa4@bahia.lan \
--to=groug@kaod.org \
--cc=aik@ozlabs.ru \
--cc=david@gibson.dropbear.id.au \
--cc=dgilbert@redhat.com \
--cc=lvivier@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).