Re: Building assigned device guest dt node from host device tree ...

2015-09-01 Thread Eric Auger
Hi Alex, On 09/01/2015 07:00 PM, Alexander Graf wrote: > > >> Am 01.09.2015 um 17:29 schrieb Eric Auger : >> >> Dear all, >> >> I am currently investigating the usage of sysfs to retrieve info from >> the host device tree to build guest dt node for assigned devices (just >> to explain a bit of co

Re: Building assigned device guest dt node from host device tree ...

2015-09-01 Thread Alexander Graf
> Am 01.09.2015 um 17:29 schrieb Eric Auger : > > Dear all, > > I am currently investigating the usage of sysfs to retrieve info from > the host device tree to build guest dt node for assigned devices (just > to explain a bit of context for Peter & Alex added in cc). For more > complex devices

Re: Building assigned device guest dt node from host device tree ...

2015-09-01 Thread Peter Maydell
On 1 September 2015 at 16:29, Eric Auger wrote: > - the device directory can be somewhere in /sys/devices/platform, ie. > can be in sub-directories. The first difficulty is to locate it. Do you > know any C routing doing find-file matching a file name pattern? Didn't > find any in qemu, nor in gli

Building assigned device guest dt node from host device tree ...

2015-09-01 Thread Eric Auger
Dear all, I am currently investigating the usage of sysfs to retrieve info from the host device tree to build guest dt node for assigned devices (just to explain a bit of context for Peter & Alex added in cc). For more complex devices we could typically copy host settings on guest side (mac @, var