From 4a6ab0cec7c3d5acdd20c5dbe1466bd06388e63f Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Mon, 29 Mar 2021 13:03:08 +0800 Subject: add testusb.sh --- testusb.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 testusb.sh diff --git a/testusb.sh b/testusb.sh new file mode 100755 index 0000000..bed799b --- /dev/null +++ b/testusb.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Copyright (C) 2021 Iru Cai +# SPDX-License-Identifier: GPL-3.0-or-later + +# Test the live USB in QEMU, you need to run this script as root +qemu-system-x86_64 -enable-kvm -cpu host -m 2G -drive "file=$1,format=raw" -- cgit v1.2.3