diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-05 14:22:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-05 14:22:28 +0000 |
commit | bb36d4708bc93874af95db54da2a9cee0d30a84d (patch) | |
tree | 5a57b4daada78670aefb208b9514fa0b47f10db9 /vl.c | |
parent | 1aff381f59b508a422f6fe03965fbc3728d3c45a (diff) | |
download | qemu-bb36d4708bc93874af95db54da2a9cee0d30a84d.zip |
initial USB support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1597 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -153,6 +153,7 @@ CharDriverState *parallel_hds[MAX_PARALLEL_PORTS]; #ifdef TARGET_I386 int win2k_install_hack = 0; #endif +int usb_enabled = 0; /***********************************************************/ /* x86 ISA bus support */ @@ -2986,6 +2987,7 @@ enum { QEMU_OPTION_pidfile, QEMU_OPTION_no_kqemu, QEMU_OPTION_win2k_hack, + QEMU_OPTION_usb, }; typedef struct QEMUOption { @@ -3060,6 +3062,7 @@ const QEMUOption qemu_options[] = { { "full-screen", 0, QEMU_OPTION_full_screen }, { "pidfile", HAS_ARG, QEMU_OPTION_pidfile }, { "win2k-hack", 0, QEMU_OPTION_win2k_hack }, + { "usb", 0, QEMU_OPTION_usb }, /* temporary options */ { "pci", 0, QEMU_OPTION_pci }, @@ -3646,6 +3649,9 @@ int main(int argc, char **argv) kqemu_allowed = 0; break; #endif + case QEMU_OPTION_usb: + usb_enabled = 1; + break; } } } |