search for: qemudir

Displaying 18 results from an estimated 18 matches for "qemudir".

Did you mean: qemudie
2013 Jan 30
1
[PATCH] tests: Handle changing QEMUDIR
qemu-wrapper isn't regenerated if QEMUDIR is changed, so just delete it and force regeneration. Additionally we can drop the silent binary check, since check-with-upstream-qemu-1 already does a similar test with --version that will actually report an error to the user. --- Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletio...
2012 Dec 07
1
[PATCH v2] tests: Fix qemu-wrapper.sh generation
...-1: $(top_builddir)/qemu-wrapper.sh $(QEMUBINARY) --version - $(MAKE) LIBGUESTFS_QEMU=$(top_builddir)/qemu-wrapper.sh check + $(MAKE) LIBGUESTFS_QEMU=$(abs_builddir)/qemu-wrapper.sh check $(top_builddir)/qemu-wrapper.sh: Makefile rm -f $@ $@-t - echo exec "$(QEMUBINARY)" -L "$(QEMUDIR)/pc-bios" "$$@" > $@-t + echo -e "#!/bin/sh\nexec" "$(QEMUBINARY)" -L "$(QEMUDIR)/pc-bios" \"\$$@\" > $@-t chmod +x,-w $@-t mv $@-t $@ -- 1.8.0
2012 Dec 06
0
[PATCH] tests: Fix qemu-wrapper.sh generation
--- There's some other issues with check-with-upstream-qemu, like qemu-wrapper isn't regenerated if we specify a new QEMUDIR. Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 2eebefa..4f88311 100644 --- a/Makefile.am +++ b/Makefile.am @@ -356,7 +356,7 @@ check-with-upstream-qemu-1: $(top_builddir)/qemu-wrapper.sh $(top_builddir)/qemu-wrapper.sh: Makefile...
2014 Jan 25
2
Re: Errors Running on Ubuntu 13.10
Not that I know of, resource usage seems totally normal. Also, as I mentioned, virt-install and virt-manager can both access and run vm's on qmeu without any trouble. Ulimit is also unset. On Fri, Jan 24, 2014 at 2:42 PM, Richard W.M. Jones <rjones@redhat.com>wrote: > On Fri, Jan 24, 2014 at 12:45:43PM -0800, Tim Fall wrote: > > Here’s the trace you requested. I can dump the
2014 Jan 25
0
Re: Errors Running on Ubuntu 13.10
...whether this is a kernel problem or a qemu problem: ---------------------------------------------------------------------- git clone git://git.qemu.org/qemu.git cd qemu sudo apt-get build-dep qemu ./configure --target-list=x86_64-softmmu make -j2 cat > qemu.wrapper <<EOF #!/bin/bash - qemudir=$(pwd) exec \$qemudir/x86_64-softmmu/qemu-system-x86_64 -L \$qemudir/pc-bios "\$@" EOF chmod +x qemu.wrapper export LIBGUESTFS_QEMU=$(pwd)/qemu.wrapper libguestfs-test-tool ---------------------------------------------------------------------- Rich. -- Richard Jones, Virtualization...
2011 Oct 10
1
Child process died
Hello, I have installed libguestfs on RHEL 5.5 64 bit. 3 packages i have installed. libguestfs-tools-c-1.9.10-1.1 libguestfs-tools-1.9.10-1.1 libguestfs-1.9.10-1.1 When i am trying to run virt-resize it gives me error: virt-resize -expand /dev/sda1 vm01.scilab vm01.scilab-15GB -d libguestfs: trace: add_drive_opts "vm01.scilab" "readonly:true" libguestfs: trace:
2012 Apr 04
1
Notes on libguestfs with Ubuntu 12.04 (Precise)
Ubuntu are now supplying a libguestfs package (or to be more accurate, they are just copying the Debian package) but it doesn't work out of the box. There is a bug in apt which we worked around in febootstrap 3.14, but the supplied version of febootstap is only 3.12. Hence you will get errors like this during installation: febootstrap: aptitude: error: no file was downloaded corresponding
2018 Jun 27
5
[PATCH 0/3] test-tool: small options-related improvements
*** BLURB HERE *** Pino Toscano (3): test-tool: implement --short-options & --long-options test-tool: add a documentation test bash: add a completion script for libguestfs-test-tool .gitignore | 1 + bash/Makefile.am | 3 ++- bash/virt-v2v-copy-to-local | 6 +++++ test-tool/Makefile.am
2018 Jun 27
0
[PATCH 1/3] test-tool: implement --short-options & --long-options
...e.h" @@ -81,8 +82,10 @@ main (int argc, char *argv[]) static const char options[] = "t:V?"; static const struct option long_options[] = { { "help", 0, 0, '?' }, + { "long-options", 0, 0, 0 }, { "qemu", 1, 0, 0 }, { "qemudir", 1, 0, 0 }, + { "short-options", 0, 0, 0 }, { "timeout", 1, 0, 't' }, { "version", 0, 0, 'V' }, { 0, 0, 0, 0 } @@ -103,7 +106,11 @@ main (int argc, char *argv[]) switch (c) { case 0: /* options which are long only *...
2009 Nov 09
1
use STREQ(a,b), not strcmp(a,b) == 0
...e, "helper")) helper = optarg; - else if (strcmp (long_options[option_index].name, "qemu") == 0) + else if (STREQ (long_options[option_index].name, "qemu")) set_qemu (optarg, 0); - else if (strcmp (long_options[option_index].name, "qemudir") == 0) + else if (STREQ (long_options[option_index].name, "qemudir")) set_qemu (optarg, 1); else { fprintf (stderr, -- 1.6.5.2.351.g0943 >From 539bf7e8983c53c4cf79ffa64302bef1585bec31 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redh...
2015 Jun 14
2
[PATCH] pod: Use F<> for filenames instead of C<>.
...ains an empty element or C<.>. For example C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would -search the current directory and then C</usr/lib/guestfs>. +search the current directory and then F</usr/lib/guestfs>. =head2 QEMU WRAPPERS @@ -1361,7 +1361,7 @@ qemu from source: qemudir=/home/rjones/d/qemu exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios "$@" -Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, +Save this script as F</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and then use it by setting...
2016 Apr 04
0
[PATCH 2/2] Use 'error' function for fprintf followed by exit.
...L; struct stat statbuf; int fd; FILE *fp; if (getenv ("LIBGUESTFS_QEMU") != NULL || - getenv ("LIBGUESTFS_HV") != NULL) { - fprintf (stderr, - _("LIBGUESTFS_HV/LIBGUESTFS_QEMU environment variable is already set, so\n" - "--qemu/--qemudir options cannot be used.\n")); - exit (EXIT_FAILURE); - } + getenv ("LIBGUESTFS_HV") != NULL) + error (EXIT_FAILURE, 0, + _("LIBGUESTFS_HV/LIBGUESTFS_QEMU environment variable is already set, so\n" + "--qemu/--qemudir options cannot be...
2009 Nov 20
1
fix new failures from latest-from-gnulib syntax-check
...); + exit (EXIT_SUCCESS); } static char qemuwrapper[] = "/tmp/libguestfs-test-tool-wrapper-XXXXXX"; @@ -280,7 +280,7 @@ set_qemu (const char *path, int use_wrapper) fprintf (stderr, _("LIBGUESTFS_QEMU environment variable is already set, so\n" "--qemu/--qemudir options cannot be used.\n")); - exit (1); + exit (EXIT_FAILURE); } if (!use_wrapper) { @@ -288,7 +288,7 @@ set_qemu (const char *path, int use_wrapper) fprintf (stderr, _("Binary '%s' does not exist or is not executable\n"),...
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
..."Usage:\n" - " libguestfs-test-tool [--options]\n" - "Options:\n" - " --help Display usage\n" - " --helper libguestfs-test-tool-helper\n" - " Helper program (default: %s)\n" - " --qemudir dir Specify QEMU source directory\n" - " --qemu qemu Specify QEMU binary\n" - " --timeout n\n" - " -t n Set launch timeout (default: %d seconds)\n" - ), - DEFAULT_HELPER, DEFAULT_TIMEOUT); + "Copyright (C) 2009 Re...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...t_qemu (guestfs_h *g, const char *path, int use_wrapper) if (getenv ("LIBGUESTFS_QEMU") != NULL || getenv ("LIBGUESTFS_HV") != NULL) { fprintf (stderr, - _("LIBGUESTFS_HV/LIBGUESTFS_QEMU environment variable is already set, so\n" - "--qemu/--qemudir options cannot be used.\n")); + _("LIBGUESTFS_HV/LIBGUESTFS_QEMU environment variable is already set, so\n" + "--qemu/--qemudir options cannot be used.\n")); exit (EXIT_FAILURE); } diff --git a/tests/mount-local/test-parallel-mount-local.c b/tests/moun...
2015 Oct 29
16
[PATCH 00/16] Refactoring of configure.ac and guestfs.pod
Two (not related to each other) refactorings: Patches 1-12 split configure.ac into smaller files using the m4_include mechanism. Patches 13-15 split out parts of guestfs.pod (ie. guestfs(3)) into three new manual pages: guestfs-hacking(3) - how to extend and contribute to libguestfs guestfs-internals(3) - architecture and internals guestfs-security(3) - security and CVEs Patch 16 is a
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
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
Wherever we had code which did: if (something_bad) { perror (...); exit (EXIT_FAILURE); } replace this with use of the error(3) function: if (something_bad) error (EXIT_FAILURE, errno, ...); The error(3) function is supplied by glibc, or by gnulib on platforms which don't have it, and is much more flexible than perror(3). Since we already use error(3), there seems to be