Re: [Qemu-devel] [PATCH v4 8/10] qemu-binfmt-conf.sh: add option --clear

2019-03-11 Thread Laurent Vivier
On 11/03/2019 14:19, Unai Martinez Corral wrote: > 2019/3/11 12:04, Laurent Vivier: >>> +find /proc/sys/fs/binfmt_misc/ -type f -name $names -exec sh -c >>> 'printf %s -1 > {}' \; >> >> The qemu-* will be expanded here if you have a qemu-XXX in the current >> directory. You must use "$names".

Re: [Qemu-devel] [PATCH v4 8/10] qemu-binfmt-conf.sh: add option --clear

2019-03-11 Thread Unai Martinez Corral
2019/3/11 12:04, Laurent Vivier: > > +find /proc/sys/fs/binfmt_misc/ -type f -name $names -exec sh -c > > 'printf %s -1 > {}' \; > > The qemu-* will be expanded here if you have a qemu-XXX in the current > directory. You must use "$names". You are correct. Indeed, I had not spotted it because

Re: [Qemu-devel] [PATCH v4 8/10] qemu-binfmt-conf.sh: add option --clear

2019-03-11 Thread Laurent Vivier
On 11/03/2019 11:31, Unai Martinez-Corral wrote: > This is a partial implementation. > > Allows to remove a single or a list of already registered binfmt > interpreters. Valid values are those in qemu_target_list. > If TARGETS is empty, all the existing 'qemu-*' interpreters are > removed. > > Th

[Qemu-devel] [PATCH v4 8/10] qemu-binfmt-conf.sh: add option --clear

2019-03-11 Thread Unai Martinez-Corral
This is a partial implementation. Allows to remove a single or a list of already registered binfmt interpreters. Valid values are those in qemu_target_list. If TARGETS is empty, all the existing 'qemu-*' interpreters are removed. This is partial because 'debian' and 'systemd' configurations are n