search for: qemuopts_add_arg

Displaying 2 results from an estimated 2 matches for "qemuopts_add_arg".

2017 Apr 27
4
[PATCH 0/4] common: Add a simple mini-library for handling qemu command and config files.
Currently we have an OCaml library for generating the qemu command line (used only by ‘virt-v2v -o qemu’). However we also generate a qemu command line in ‘lib/launch-direct.c’, and we might in future need to generate a ‘-readconfig’-compatible configuration file if we want to go beyond 10,000 drives for scalability testing. Therefore this patch series reimplements the qemu command line code as
2018 Nov 30
1
[PATCH] Replace -nodefconfig with -no-user-config.
...qemuopts_set_binary (qopts, "qemu-system-x86_64")); CHECK_ERROR (-1, "qemuopts_add_flag", - qemuopts_add_flag (qopts, "-nodefconfig")); + qemuopts_add_flag (qopts, "-no-user-config")); CHECK_ERROR (-1, "qemuopts_add_arg", qemuopts_add_arg (qopts, "-m", "1024")); CHECK_ERROR (-1, "qemuopts_add_arg_format", @@ -116,7 +116,7 @@ main (int argc, char *argv[]) const char *expected = "qemu-system-x86_64 \\\n" - " -nodefconfig \\\n"...