[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set
From: |
Markus Armbruster |
Subject: |
Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set |
Date: |
Tue, 20 Oct 2020 07:30:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> writes:
> One thing I have thought about is being able to mark a link property
> as mandatory so if a value hasn't been set before realize then you
A non-null value, I presume.
> receive a fatal error. This would be for cases like this where 2
> internal devices are connected together without any formal interface,
> i.e. in cases where -device wouldn't work anyway.
Moves the check from code one step closer to data: from the realize
method to the object_property_add_link() call.
I like doing things in data, because data is easier to reason about than
code.
[...]
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, (continued)
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, David Gibson, 2020/10/11
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, Philippe Mathieu-Daudé, 2020/10/12
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, David Gibson, 2020/10/12
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, BALATON Zoltan, 2020/10/12
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, Philippe Mathieu-Daudé, 2020/10/12
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, Markus Armbruster, 2020/10/19
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, BALATON Zoltan, 2020/10/19
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, Markus Armbruster, 2020/10/19
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, Mark Cave-Ayland, 2020/10/19
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, BALATON Zoltan, 2020/10/19
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set,
Markus Armbruster <=
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, BALATON Zoltan, 2020/10/20
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, Markus Armbruster, 2020/10/20
- Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, BALATON Zoltan, 2020/10/21
Re: [PATCH] hw/pci-host/grackle: Verify PIC link is properly set, Mark Cave-Ayland, 2020/10/12