sudo qemu=/path-to/qemu/build/qemu-system-x86_64 run_qemu.sh --git-qemu --cxl-debug
if [[ $_arg_cxl_legacy == "on" ]] || [[ $_arg_cxl == "on" ]]; then
_arg_git_qemu="on"
fi
if [[ $_arg_git_qemu == "on" ]]; then
qemu=~/git/qemu/x86_64-softmmu/qemu-system-x86_64
qemu_img=~/git/qemu/qemu-img
qmp=~/git/qemu/scripts/qmp/qmp-shell
# upstream changed where binaries go recently
if [ ! -f "$qemu_img" ]; then
qemu=~/git/qemu/build/qemu-system-x86_64
qemu_img=~/git/qemu/build/qemu-img
fi
sudo qemu=/path-to/qemu/build/qemu-system-x86_64 run_qemu.sh --git-qemu --cxl-debug