Skip to contentSkip to conversation

Enable -k option on Win32

PATCH Applied Hervé Poussineau 3 participants 3 messages Mar 15, 2009 – Mar 28, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Enable -k option on Win32

Hi,

Attached patch enables -k option on Win32. There is no reason to disable it.

Hervé

PS: This patch can also be applied on stable branch.

vl.c +0 -2
Index: vl.c
===================================================================
@@ -4274,9 +4274,7 @@
     { "boot", HAS_ARG, QEMU_OPTION_boot },
     { "snapshot", 0, QEMU_OPTION_snapshot },
     { "m", HAS_ARG, QEMU_OPTION_m },
-#ifndef _WIN32
     { "k", HAS_ARG, QEMU_OPTION_k },
-#endif
 #ifdef HAS_AUDIO
     { "audio-help", 0, QEMU_OPTION_audio_help },
     { "soundhw", HAS_ARG, QEMU_OPTION_soundhw },
#1 lore raw
Quoted 3 lines · Hervé Poussineau

Hi,

Attached patch enables -k option on Win32. There is no reason to disable it.

A corresponding change is also needed for the help...

I rather like Blue Swirl's idea of having a single set of definitions for command line options. (Not sure how practical the texi part of that is, but the core idea seems quite sensible.)

Cheers,

Signature · 1 line
Stuart Brady