@@ -101,16 +101,17 @@ static const struct option options[] = {
OPT_GROUP("Basic options:"),
OPT_INTEGER('c', "cpus", &nrcpus, "Number of CPUs"),
OPT_U64('m', "mem", &ram_size, "Virtual machine memory size in MiB."),
- OPT_CALLBACK('i', "image", NULL, "image", "Disk image", img_name_parser),
+ OPT_CALLBACK('d', "disk", NULL, "image", "Disk image", img_name_parser),
OPT_STRING('\0', "console", &console, "serial or virtio",
"Console to use"),
- OPT_BOOLEAN('\0', "virtio-rng", &virtio_rng,
+ OPT_BOOLEAN('\0', "rng", &virtio_rng,
"Enable virtio Random Number Generator"),
+ OPT_STRING('\0', "kvm-dev", &kvm_dev, "kvm-dev", "KVM device file"),
OPT_GROUP("Kernel options:"),
OPT_STRING('k', "kernel", &kernel_filename, "kernel",
"Kernel to boot in virtual machine"),
- OPT_STRING('r', "initrd", &initrd_filename, "initrd",
+ OPT_STRING('i', "initrd", &initrd_filename, "initrd",
"Initial RAM disk image"),
OPT_STRING('p', "params", &kernel_cmdline, "params",
"Kernel command line arguments"),
@@ -124,14 +125,14 @@ static const struct option options[] = {
"Assign this address to the guest side NIC"),
OPT_STRING('\0', "tapscript", &script, "Script path",
"Assign a script to process created tap device"),
+
OPT_GROUP("Debug options:"),
- OPT_STRING('d', "kvm-dev", &kvm_dev, "kvm-dev", "KVM device file"),
- OPT_BOOLEAN('s', "single-step", &single_step,
- "Enable single stepping"),
- OPT_BOOLEAN('g', "ioport-debug", &ioport_debug,
- "Enable ioport debugging"),
OPT_BOOLEAN('\0', "debug", &do_debug_print,
"Enable debug messages"),
+ OPT_BOOLEAN('\0', "debug-single-step", &single_step,
+ "Enable single stepping"),
+ OPT_BOOLEAN('\0', "debug-ioport-debug", &ioport_debug,
+ "Enable ioport debugging"),
OPT_END()
};