search for: cmd3

Displaying 20 results from an estimated 22 matches for "cmd3".

Did you mean: cmd
2014 Apr 29
2
Adventures in building libguestfs on non-x86 architectures for Debian
...s://buildd.debian.org/status/package.php?p=libguestfs diff --git a/src/launch-direct.c b/src/launch-direct.c index 1460c56..2332368 100644 --- a/src/launch-direct.c +++ b/src/launch-direct.c @@ -1020,6 +1020,10 @@ test_qemu (guestfs_h *g, struct backend_direct_data *data) guestfs___cmd_add_arg (cmd3, g->hv); guestfs___cmd_add_arg (cmd3, "-display"); guestfs___cmd_add_arg (cmd3, "none"); +#ifdef MACHINE_TYPE + guestfs___cmd_add_arg (cmd3, "-M"); + guestfs___cmd_add_arg (cmd3, MACHINE_TYPE); +#endif guestfs___cmd_add_arg (cmd3, "-machine");...
2016 Mar 22
0
[PATCH v3 07/11] launch: direct: Don't run qemu -version.
...emu what options this qemu supports. */ static int test_qemu (guestfs_h *g, struct backend_direct_data *data) { CLEANUP_CMD_CLOSE struct command *cmd1 = guestfs_int_new_command (g); CLEANUP_CMD_CLOSE struct command *cmd2 = guestfs_int_new_command (g); - CLEANUP_CMD_CLOSE struct command *cmd3 = guestfs_int_new_command (g); int r; free (data->qemu_help); data->qemu_help = NULL; - free (data->qemu_version); - data->qemu_version = NULL; free (data->qemu_devices); data->qemu_devices = NULL; @@ -960,34 +955,24 @@ test_qemu (guestfs_h *g, struct backend_...
2015 Oct 02
1
[PATCH 1/2] launch: direct: Use a single -machine [type, ]accel=... option.
...;-enable-kvm")) - ADD_CMDLINE ("-enable-kvm"); - } - if (g->smp > 1) { ADD_CMDLINE ("-smp"); ADD_CMDLINE_PRINTF ("%d", g->smp); @@ -997,12 +983,12 @@ test_qemu (guestfs_h *g, struct backend_direct_data *data) guestfs_int_cmd_add_arg (cmd3, g->hv); guestfs_int_cmd_add_arg (cmd3, "-display"); guestfs_int_cmd_add_arg (cmd3, "none"); -#ifdef MACHINE_TYPE - guestfs_int_cmd_add_arg (cmd3, "-M"); - guestfs_int_cmd_add_arg (cmd3, MACHINE_TYPE); -#endif guestfs_int_cmd_add_arg (cmd3, "-machine...
2013 Dec 09
1
[PATCH] launch: switch from -nographic to -display none
..."); guestfs___cmd_set_stdout_callback (cmd2, read_all, &data->qemu_version, CMD_STDOUT_FLAG_WHOLE_BUFFER); @@ -938,7 +941,8 @@ test_qemu (guestfs_h *g, struct backend_direct_data *data) parse_qemu_version (g, data); guestfs___cmd_add_arg (cmd3, g->hv); - guestfs___cmd_add_arg (cmd3, "-nographic"); + guestfs___cmd_add_arg (cmd3, "-display"); + guestfs___cmd_add_arg (cmd3, "none"); guestfs___cmd_add_arg (cmd3, "-machine"); guestfs___cmd_add_arg (cmd3, "accel=kvm:tcg"); guestf...
2016 May 17
2
[PATCH 0/2] Use -bios bios-fast.bin where supported.
NOTE: Not for upstream, yet. This depends on 3 non-upstream patches. - The qemu rework in libguestfs, which in turn depends on what Pino is up to. - Support for '-L ?' in qemu: https://lists.gnu.org/archive/html/qemu-devel/2016-05/threads.html#02596 - Support for bios-fast.bin in qemu: https://lists.gnu.org/archive/html/qemu-devel/2016-05/threads.html#02408 This commit
2016 May 18
2
[PATCH v2 0/2] Use -bios bios-fast.bin where supported.
This commit uses -bios bios-fast.bin if available, which basically stops SeaBIOS from trying to do PCI probing during boot, which is a waste of time when using the -kernel option. v1 -> v2: - Rebase on top of Pino's work. This still has 3 dependencies: - The qemu memoization work (v2). - Support for '-L ?' in qemu:
2016 May 25
4
[PATCH 0/4] qemu: Use sqlite to store qemu detection data.
Patches 1 & 2 were posted previously here: https://www.redhat.com/archives/libguestfs/2016-May/msg00134.html Patch 3 is a hack so I can test this using my own version of qemu (the `-L ?' stuff is not upstream). Patch 4 is where the real action takes place: Replace the caching of qemu features in blob-like files with a sqlite database. Probably the best way to approach this patch is to
2009 Nov 09
1
HDT 0.3.5 (mojito) is out
...prove readibility - Reboot If your system features the reboot.c32 module, the "reboot" command will restart your computer. The floppy/iso images we provides includes this module to enable this feature. - Automatic Commands When starting HDT, you can specifiy a new auto='<cmd1;cmd2,cmd3>' option. This option will automaticaly runs commands cmd1;cmd2;cmd3 in this order and then fallback to the CLI. It can be used to run automatic diagnostic when booting HDT. auto='show summary' This example will show the summary and the enter the CLI. auto='show summary; exit...
2009 Nov 04
0
HDT-0.3.5-pre3 is out
...have in 0.3.5: - Reboot If your system features the reboot.c32 module, the "reboot" command will restart your computer. The floppy/iso images we provides includes this module to enable this feature. - Automatic Commands When starting HDT, you can specifiy a new auto='<cmd1;cmd2,cmd3>' option. This option will automaticaly runs commands cmd1;cmd2;cmd3 in this order and then fallback to the CLI. It can be used to run automatic diagnostic when booting HDT. auto='show summary' This example will show the summary and the enter the CLI. auto='show summary; exit&...
2009 Nov 09
1
HDT 0.3.5 (mojito) is out
...prove readibility - Reboot If your system features the reboot.c32 module, the "reboot" command will restart your computer. The floppy/iso images we provides includes this module to enable this feature. - Automatic Commands When starting HDT, you can specifiy a new auto='<cmd1;cmd2,cmd3>' option. This option will automaticaly runs commands cmd1;cmd2;cmd3 in this order and then fallback to the CLI. It can be used to run automatic diagnostic when booting HDT. auto='show summary' This example will show the summary and the enter the CLI. auto='show summary; exit...
2016 Nov 04
0
[PATCH 4/5] v2v: ova: don't extract files from OVA if it's not needed
...@@ object tmpfile in + (* Untar only ovf and manifest from the archive *) + let untar_partial file outdir = + let cmd1 = [ "tar"; "-tf" ; file ] in + let cmd2 = [ "grep"; "\\.\\(ovf\\|mf\\)$" ] in + let cmd3 = [ "xargs"; "tar"; "-xf" ; file; "-C"; outdir ] in + if shell_command ((stringify_args cmd1) ^ " | " ^ (stringify_args cmd2) ^ " | " ^ (stringify_args cmd3)) <> 0 then + error (f_"error unpacking %s, see ear...
2016 Mar 22
19
[PATCH v3 0/11] tests/qemu: Add program for tracing and analyzing boot times.
Lots of changes since v2, too much to remember or summarize. Please ignore patch 11/11, it's just for my testing. Rich.
2006 Oct 31
0
6271998 gcc and cmd/mailx don''t get along
...5588624ba3f99 Log message: 6271998 gcc and cmd/mailx don''t get along 6271054 gcc and cmd/find don''t get along Files: update: usr/src/cmd/find/find.c update: usr/src/cmd/mailx/Makefile update: usr/src/cmd/mailx/cmd1.c update: usr/src/cmd/mailx/cmd2.c update: usr/src/cmd/mailx/cmd3.c update: usr/src/cmd/mailx/cmdtab.c update: usr/src/cmd/mailx/collect.c update: usr/src/cmd/mailx/fio.c update: usr/src/cmd/mailx/head.c update: usr/src/cmd/mailx/main.c update: usr/src/cmd/mailx/names.c update: usr/src/cmd/mailx/optim.c update: usr/src/cmd/mailx/send.c update: usr/src/cm...
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers. These aren't valid for global names in C++. (http://stackoverflow.com/a/228797) These large but completely mechanical patches change the illegal identifiers to legal ones. Rich.
2016 Nov 04
10
[PATCH 0/5] Import directly from OVA tar archive if possible
This is still a draft, not ready for commit yet. But feedback is welcomed. This series is related to the problem of inefficient import of OVA files. The needed enhancements of QEMU was merged into the codebase and should be available in QEMU 2.8. From there we can use 'size' and 'offset' options in raw driver to tell QEMU to use only subset of a file as an image. The first three
2009 Feb 17
3
R scripts and parameters
A couple of weeks ago I asked how it is possible to run an R script (not a function) passing some parameters. Someone suggested the function "commandArgs()". I read the on-line help and found no clarifying example. Therefore I do not know how to use it appropriately. I noticed this function returns the pathname of the R executable which is not what I need. I meant to ask if it is
2008 Feb 19
32
storing SOM epoch in EA
Good day, some time ago we discussed that it would be very helpful to store epoch in inode on mds. the perfect solution could be to store epoch in old inode body, but there is no much space for this in the body and with DMU we''ll have this problem again. given the minimal inode size we use on MDS is 512 bytes, we can store upto 13 stripes in the body. larger EAs go to a dedicated block.
2010 Jul 08
0
[ANNOUNCE] libguestfs 1.4.0 - tools for accessing and modifying disk images and virtual machines
..._ /foo content _end_ - Some guestfish commands now print their output in octal or hex where appropriate (RHBZ#583242). - Allow dash prefix on guestfish command line. This ignores any error from the second command: (RHBZ#578407) guestfish -- cmd1 : -cmd2 : cmd3 - guestfish -h / help command now returns an error for non-existent commands (RHBZ#597145). - New 'supported' command in guestfish to list optional groups of commands which are supported by the daemon / configuration. - virt-inspector and guestfish -i now work for filenames whic...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...STDOUT_FLAG_WHOLE_BUFFER); + CMD_STDOUT_FLAG_WHOLE_BUFFER); r = guestfs_int_cmd_run (cmd2); if (r == -1 || !WIFEXITED (r) || WEXITSTATUS (r) != 0) goto error; @@ -994,7 +994,7 @@ test_qemu (guestfs_h *g, struct backend_direct_data *data) guestfs_int_cmd_clear_capture_errors (cmd3); guestfs_int_cmd_set_stderr_to_stdout (cmd3); guestfs_int_cmd_set_stdout_callback (cmd3, read_all, &data->qemu_devices, - CMD_STDOUT_FLAG_WHOLE_BUFFER); + CMD_STDOUT_FLAG_WHOLE_BUFFER); r = guestfs_int_cmd_run (cmd3); if (r == -1 ||...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste. --- align/scan.c | 35 ++++++++++--------- cat/cat.c | 39 +++++++++++---------- cat/filesystems.c | 69 +++++++++++++++++++------------------- cat/log.c | 35 ++++++++++--------- cat/ls.c | 61 +++++++++++++++++---------------- df/main.c | 43 ++++++++++++------------ diff/diff.c | 67