~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to vl.c

  • Committer: bellard
  • Date: 2004-12-12 16:56:30 UTC
  • Revision ID: git-v1:3d11d0eb33f0474f8299c2373f3a91bb416b81c6
keymaps support (initial patch by Johannes Schindelin)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1173 c046a42c-6fe2-441c-8c8c-71466251a162

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
int bios_size;
113
113
static DisplayState display_state;
114
114
int nographic;
 
115
const char* keyboard_layout = NULL;
115
116
int64_t ticks_per_sec;
116
117
int boot_device = 'c';
117
118
int ram_size;
2541
2542
           "-snapshot       write to temporary files instead of disk image files\n"
2542
2543
           "-m megs         set virtual RAM size to megs MB [default=%d]\n"
2543
2544
           "-nographic      disable graphical output and redirect serial I/Os to console\n"
 
2545
           "-k language     use keyboard layout (for example \"fr\" for French)\n"
2544
2546
           "-enable-audio   enable audio support\n"
2545
2547
           "-localtime      set the real time clock to local time [default=utc]\n"
2546
2548
           "-full-screen    start in full screen\n"
2658
2660
    QEMU_OPTION_pci,
2659
2661
    QEMU_OPTION_isa,
2660
2662
    QEMU_OPTION_prep,
 
2663
    QEMU_OPTION_k,
2661
2664
    QEMU_OPTION_localtime,
2662
2665
    QEMU_OPTION_cirrusvga,
2663
2666
    QEMU_OPTION_g,
2689
2692
    { "snapshot", 0, QEMU_OPTION_snapshot },
2690
2693
    { "m", HAS_ARG, QEMU_OPTION_m },
2691
2694
    { "nographic", 0, QEMU_OPTION_nographic },
 
2695
    { "k", HAS_ARG, QEMU_OPTION_k },
2692
2696
    { "enable-audio", 0, QEMU_OPTION_enable_audio },
2693
2697
 
2694
2698
    { "nics", HAS_ARG, QEMU_OPTION_nics},
3092
3096
            case QEMU_OPTION_prep:
3093
3097
                prep_enabled = 1;
3094
3098
                break;
 
3099
            case QEMU_OPTION_k:
 
3100
                keyboard_layout = optarg;
 
3101
                break;
3095
3102
            case QEMU_OPTION_localtime:
3096
3103
                rtc_utc = 0;
3097
3104
                break;