summaryrefslogtreecommitdiff
path: root/qemu-support
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-01-14 23:21:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-01-14 23:21:09 +0000
commit7151e00b86dfaee2efc7ff39d437afb81d17c93f (patch)
treeb7cb9139ae2cf33dd2838a97c832bdcf3134abed /qemu-support
parent652ee6e12452efc6c3b75c1ad50cae731dcf1caf (diff)
2010-01-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* qemu-nic: Add some more help.
Diffstat (limited to 'qemu-support')
-rw-r--r--qemu-support/ChangeLog4
-rwxr-xr-xqemu-support/qemu-nic8
2 files changed, 10 insertions, 2 deletions
diff --git a/qemu-support/ChangeLog b/qemu-support/ChangeLog
index 20902cb..bf57cad 100644
--- a/qemu-support/ChangeLog
+++ b/qemu-support/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-14 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * qemu-nic: Add some more help.
+
2010-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* qemu-nic: Up to 64 MB.
diff --git a/qemu-support/qemu-nic b/qemu-support/qemu-nic
index 1f565ec..cd83305 100755
--- a/qemu-support/qemu-nic
+++ b/qemu-support/qemu-nic
@@ -13,7 +13,9 @@ QEMUDIR=/home/joel
fatal()
{
echo $*
- echo FATAL ERROR
+ echo "Usage: [-v] [-n NIC]"
+ echo ""
+ echo "Supported NICs: i82559er i82551 i82557b rtl8139 ne2k_isa"
exit 1
}
@@ -48,7 +50,9 @@ case ${nic} in
# ISA NIC model: ne2k_isa
ne2k_isa) MODEL="-M isapc" ; NIC=${nic} ;;
none) ;;
- *) fatal Unknown NIC ${nic} ;;
+ *)
+ fatal Unknown NIC ${nic}
+ ;;
esac
ARGS="${MODEL} -m 64 \