Re: [PATCH 3/3] scripts/qmp/qom-fuse: Fix getattr(), read() for files in /

2020-07-24 Thread John Snow
On 7/23/20 10:27 AM, Markus Armbruster wrote: path, prop = "type".rsplit('/', 1) sets path to "", which doesn't work. Correct to "/". BOTD. If it works for you, that's good news. Reviewed-by: John Snow Signed-off-by: Markus Armbruster --- scripts/qmp/qom-fuse | 10 -- 1 file c

Re: [PATCH 3/3] scripts/qmp/qom-fuse: Fix getattr(), read() for files in /

2020-07-24 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > On 7/23/20 4:27 PM, Markus Armbruster wrote: >> path, prop = "type".rsplit('/', 1) sets path to "", which doesn't >> work. Correct to "/". >> >> Signed-off-by: Markus Armbruster >> --- >> scripts/qmp/qom-fuse | 10 -- >> 1 file changed, 8 insertions(+)

Re: [PATCH 3/3] scripts/qmp/qom-fuse: Fix getattr(), read() for files in /

2020-07-23 Thread Philippe Mathieu-Daudé
On 7/23/20 4:27 PM, Markus Armbruster wrote: > path, prop = "type".rsplit('/', 1) sets path to "", which doesn't > work. Correct to "/". > > Signed-off-by: Markus Armbruster > --- > scripts/qmp/qom-fuse | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/scripts

[PATCH 3/3] scripts/qmp/qom-fuse: Fix getattr(), read() for files in /

2020-07-23 Thread Markus Armbruster
path, prop = "type".rsplit('/', 1) sets path to "", which doesn't work. Correct to "/". Signed-off-by: Markus Armbruster --- scripts/qmp/qom-fuse | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/qmp/qom-fuse b/scripts/qmp/qom-fuse index 405e6ebd67..7c7cff8e