Re: [PATCH v2 10/10] hw/isa/vt82c686: Create rtc-time alias in boards instead

2022-09-09 Thread Bernhard Beschow
Am 30. August 2022 21:46:57 UTC schrieb "Philippe Mathieu-Daudé" : >On 30/8/22 21:00, Bernhard Beschow wrote: >> According to good QOM practice, an object should only deal with objects >> of its own sub tree. Having devices create an alias on the machine >> object doesn't respect this good practic

Re: [PATCH v2 10/10] hw/isa/vt82c686: Create rtc-time alias in boards instead

2022-08-30 Thread Philippe Mathieu-Daudé via
On 30/8/22 21:00, Bernhard Beschow wrote: According to good QOM practice, an object should only deal with objects of its own sub tree. Having devices create an alias on the machine object doesn't respect this good practice. To resolve this, create the alias in the machine's code. IIUC, this is

[PATCH v2 10/10] hw/isa/vt82c686: Create rtc-time alias in boards instead

2022-08-30 Thread Bernhard Beschow
According to good QOM practice, an object should only deal with objects of its own sub tree. Having devices create an alias on the machine object doesn't respect this good practice. To resolve this, create the alias in the machine's code. Signed-off-by: Bernhard Beschow --- hw/isa/vt82c686.c |