[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-arm] [Qemu-devel] [RFC PATCH] tests/device-introspe
From: |
Peter Maydell |
Subject: |
Re: [Qemu-ppc] [Qemu-arm] [Qemu-devel] [RFC PATCH] tests/device-introspect: Test devices with all machines, not only with "none" |
Date: |
Tue, 17 Apr 2018 13:52:38 +0100 |
On 17 April 2018 at 13:12, Markus Armbruster <address@hidden> wrote:
> Thomas Huth <address@hidden> writes:
>> In case someone wants to help with creating some bug fix patches
>> during the QEMU hard freeze phase: This test can now be used to
>> trigger lots of introspection bugs that we were not aware of yet.
>> I think most of the bugs are due to wrong handling of instance_init
>> vs. realize functions.
>
> Yes, that's a common class of bugs. There's little guidance on what
> kind of work belongs where, and plenty of bad examples. Some of the bad
> examples crash (as you found). Some work fine, typically because the
> device doesn't support unplug.
I've been vaguely wondering if we should start to recommend that
all devices have a correctly implemented code path for destroying
them post-realize, even if they don't actually implement hotplug...
thanks
-- PMM
- Re: [Qemu-ppc] [Qemu-devel] [RFC PATCH] tests/device-introspect: Test devices with all machines, not only with "none", Markus Armbruster, 2018/04/17
- Re: [Qemu-ppc] [Qemu-arm] [Qemu-devel] [RFC PATCH] tests/device-introspect: Test devices with all machines, not only with "none",
Peter Maydell <=
- Re: [Qemu-ppc] [Qemu-devel] [RFC PATCH] tests/device-introspect: Test devices with all machines, not only with "none", Thomas Huth, 2018/04/26
- Re: [Qemu-ppc] [Qemu-devel] [RFC PATCH] tests/device-introspect: Test devices with all machines, not only with "none", Markus Armbruster, 2018/04/26
- [Qemu-ppc] [Qemu-devel] qom-test (was: [RFC PATCH] tests/device-introspect: Test devices with all machines, not only with "none"), Thomas Huth, 2018/04/27
- Re: [Qemu-ppc] [Qemu-devel] qom-test, Markus Armbruster, 2018/04/27
- Re: [Qemu-ppc] [Qemu-arm] [Qemu-devel] qom-test (was: [RFC PATCH] tests/device-introspect: Test devices with all machines, not only with "none"), Peter Maydell, 2018/04/27
- Re: [Qemu-ppc] [Qemu-arm] [Qemu-devel] qom-test, Thomas Huth, 2018/04/27