diff options
-rw-r--r-- | qemu-support/ChangeLog | 4 | ||||
-rwxr-xr-x | qemu-support/qemu-nic | 8 |
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 \ |