Re: [Qemu-devel] [PATCH v2 02/15] qdev: Fix scanning across single-bus devices

2010-05-31 Thread Gerd Hoffmann
On 05/29/10 09:38, Markus Armbruster wrote: [cc: kraxel] Jan Kiszka writes: From: Jan Kiszka As long as we allow /dev.1 as shortcut for /dev1/bus1, we also have to make sure that /dev1/dev2 works for /dev1/bus1/dev2/bus2 - as long as there is only one child bus per device. We auto-root a p

Re: [Qemu-devel] [PATCH v2 02/15] qdev: Fix scanning across single-bus devices

2010-05-29 Thread Markus Armbruster
[cc: kraxel] Jan Kiszka writes: > From: Jan Kiszka > > As long as we allow /dev.1 as shortcut for /dev1/bus1, we also have to > make sure that /dev1/dev2 works for /dev1/bus1/dev2/bus2 - as long as > there is only one child bus per device. We auto-root a path not starting with '/' via conventi

Re: [Qemu-devel] [PATCH v2 02/15] qdev: Fix scanning across single-bus devices

2010-05-29 Thread Jan Kiszka
Markus Armbruster wrote: > [cc: kraxel] > > Jan Kiszka writes: > >> From: Jan Kiszka >> >> As long as we allow /dev.1 as shortcut for /dev1/bus1, we also have to >> make sure that /dev1/dev2 works for /dev1/bus1/dev2/bus2 - as long as >> there is only one child bus per device. > > We auto-root

[Qemu-devel] [PATCH v2 02/15] qdev: Fix scanning across single-bus devices

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka As long as we allow /dev.1 as shortcut for /dev1/bus1, we also have to make sure that /dev1/dev2 works for /dev1/bus1/dev2/bus2 - as long as there is only one child bus per device. Signed-off-by: Jan Kiszka --- docs/qdev-device-use.txt |4 hw/qdev.c|