Re: [Qemu-devel] [PATCH v4] module: Use QEMU_MODULE_DIR as a search path

2018-08-20 Thread Paolo Bonzini
On 04/07/2018 20:10, ryang wrote: > The current paths for modules are CONFIG_QEMU_MODDIR and paths relative > to the executable. Qemu and its modules can be installed and executed in > paths that are different from these search paths. This change allows > a search path to be specified by

Re: [Qemu-devel] [PATCH v4] module: Use QEMU_MODULE_DIR as a search path

2018-07-05 Thread Fam Zheng
On Wed, 07/04 14:10, ryang wrote: > The current paths for modules are CONFIG_QEMU_MODDIR and paths relative > to the executable. Qemu and its modules can be installed and executed in > paths that are different from these search paths. This change allows > a search path to be specified by

Re: [Qemu-devel] [PATCH v4] module: Use QEMU_MODULE_DIR as a search path

2018-07-05 Thread Daniel P . Berrangé
On Wed, Jul 04, 2018 at 02:10:10PM -0400, ryang wrote: > The current paths for modules are CONFIG_QEMU_MODDIR and paths relative > to the executable. Qemu and its modules can be installed and executed in > paths that are different from these search paths. This change allows > a search path to be

[Qemu-devel] [PATCH v4] module: Use QEMU_MODULE_DIR as a search path

2018-07-04 Thread ryang
The current paths for modules are CONFIG_QEMU_MODDIR and paths relative to the executable. Qemu and its modules can be installed and executed in paths that are different from these search paths. This change allows a search path to be specified by environment variable. An example usage for this is