qemu: Use QEMU_MODULE_DIR env variable (!1736)

The upstream patch uses this environment variable. With pmaports temp/qemu
removed, qemu should be run with the env var used in upstream.
This commit is contained in:
Robert Yang 2019-01-02 16:46:17 -05:00
parent f16bdaf0ca
commit bd7ea8330e
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ def command_qemu(args, arch, device, img_path, spice_enabled):
command = [qemu_bin]
else:
rootfs_native = args.work + "/chroot_native"
env = {"QEMU_MODULE_PATH": rootfs_native + "/usr/lib/qemu",
env = {"QEMU_MODULE_DIR": rootfs_native + "/usr/lib/qemu",
"GBM_DRIVERS_PATH": rootfs_native + "/usr/lib/xorg/modules/dri",
"LIBGL_DRIVERS_PATH": rootfs_native + "/usr/lib/xorg/modules/dri"}