blob: 87d3b09bd1da32c8429c6bfb5e8d35eb3532b462 [file] [log] [blame]
#!/bin/bash
# Copyright 2017 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
### start fuchsia in qemu via netboot
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"/lib/image_build_vars.sh
source "${FUCHSIA_DIR}/buildtools/vars.sh"
qemu_dir="${BUILDTOOLS_QEMU_DIR}/bin"
"${FUCHSIA_DIR}/zircon/scripts/run-zircon" \
-o "${ZIRCON_BUILD_DIR}" \
-a "${FUCHSIA_ARCH}" \
-q "${qemu_dir}" \
-x "${FUCHSIA_BUILD_DIR}/${IMAGE_NETBOOT_RAM}" \
"$@"