[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] migration: Correctly handle subsections with no

From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] migration: Correctly handle subsections with no 'needed' function
Date: Tue, 7 Aug 2018 14:25:22 +0100

On 7 August 2018 at 14:21, Peter Maydell <address@hidden> wrote:
>  If you want to make it a bug to
> not have a needed function, you need to have code that checks
> for this in device init and aborts, so that device authors
> don't fall into this trap.

We should also sanity-check the subsection names at device
init, because there's a hidden requirement that they start
with the name of the parent VMSD, and if you get that wrong
then nothing complains except that trying to reload the
vm state silently doesn't work right.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]