search for: default_qemu

Displaying 11 results from an estimated 11 matches for "default_qemu".

2019 May 24
3
[PATCH 0/2] libvirt: fix check of custom QEMU
In case you configure libguestfs with a custom QEMU, e.g.: $ ./configure [...] QEMU=/path/to/qemu then the libvirt backend did not use to override it, launching the appliance with the default QEMU for libvirt. This does not change the manual emulator overriding using set-hv. Pino Toscano (2): launch: libvirt: get default QEMU from domcapabilities launch: libvirt: fix custom hypervisor
2014 Nov 12
1
[PATCH] configure: simplify the qemu cpu mapping
...emu_system="$( - echo qemu-system-$host_cpu | - $SED -e 's/-i@<:@456@:>@86/-i386/g' \ - -e 's/-arm.*/-arm/g' \ - -e 's/-amd64/-x86_64/g' \ - -e 's/-powerpc64/-ppc64/g' \ - -e 's/-ppc64le/-ppc64/g' - )" -default_qemu="qemu-kvm kvm $qemu_system qemu" +AS_CASE([$host_cpu], + [i@<:@456@:>@86],[qemu_cpu=i386], + [arm*],[qemu_cpu=arm], + [amd64],[qemu_cpu=x86_64], + [powerpc64 | ppc64le],[qemu_cpu=ppc64], + [qemu_cpu=$host_cpu]) +default_qemu="qemu-kvm kvm qemu...
2017 Oct 05
0
[PATCH] build: Don't test for qemu virtio-serial at configure time.
...to basic 'qemu'. Allow the user to override it. + AS_CASE([$host_cpu], [i@<:@456@:>@86],[qemu_cpu=i386], [arm*],[qemu_cpu=arm], @@ -24,110 +25,78 @@ AS_CASE([$host_cpu], [powerpc64 | ppc64le | powerpc64le],[qemu_cpu=ppc64], [qemu_cpu=$host_cpu]) default_qemu="qemu-kvm kvm qemu-system-$qemu_cpu qemu" + AC_ARG_WITH([qemu], - [AS_HELP_STRING([--with-qemu="bin1 bin2 ..."], - [set default QEMU binary @<:@default="[qemu-kvm] qemu-system-<host> qemu"@:>@])], + [AS_HELP_STRING([--with-qemu=/path/to/qemu],...
2019 May 24
0
[PATCH 2/2] launch: libvirt: fix custom hypervisor check
...bvirt_xml (g, &params); if (!xml) @@ -873,13 +873,15 @@ parse_domcapabilities (guestfs_h *g, const char *domcapabilities_xml, } static int -is_custom_hv (guestfs_h *g) +is_custom_hv (guestfs_h *g, struct backend_libvirt_data *data) { + if (g->hv && STRNEQ (g->hv, data->default_qemu)) + return 1; #ifdef QEMU - return g->hv && STRNEQ (g->hv, QEMU); -#else - return 1; + if (STRNEQ (data->default_qemu, QEMU)) + return 1; #endif + return 0; } #if HAVE_LIBSELINUX @@ -1265,7 +1267,7 @@ construct_libvirt_xml_devices (guestfs_h *g, /* Path to hype...
2010 Nov 04
1
[PATCH] check for kvm
Hi, Debian calls qemu-kvm kvm so we should check for that one too. Please apply. Cheers, -- Guido -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Debian-calls-qemu-kvm-kvm.patch Type: text/x-diff Size: 899 bytes Desc: not available URL: <http://listman.redhat.com/archives/libguestfs/attachments/20101105/f7ccb908/attachment.bin>
2014 Jan 01
0
[PATCH] Allow ./configure --without-qemu.
...unch-direct.c | 4 ++ src/launch-libvirt.c | 4 ++ tests/regressions/rhbz501893.c | 2 + 5 files changed, 105 insertions(+), 58 deletions(-) diff --git a/configure.ac b/configure.ac index de0455e..6e93221 100644 --- a/configure.ac +++ b/configure.ac @@ -737,80 +737,90 @@ default_qemu="qemu-kvm kvm $qemu_system qemu" AC_ARG_WITH([qemu], [AS_HELP_STRING([--with-qemu="bin1 bin2 ..."], [set default QEMU binary @<:@default="[qemu-kvm] qemu-system-<host> qemu"@:>@])], - [], - [with_qemu="$default_qemu"])...
2020 Jan 16
7
[PATCH 0/4] Use libvirt firmware autoselection
Starting with 5.2.0, libvirt has a way to select the firmware by specifying its type, provided configuration files for the firmware are shipped. Currently we start the appliance as UEFI if any of the firmware are found, so instead we can try to just set the firmware type iff: - the libvirt autoselection works - the 'efi' firmware is available The only behaviour change is that the default
2014 Oct 23
0
[PATCH 16/16] configure: map also amd64 as host_cpu to x86_64 qemu
...ic 'qemu'. Allow the user to override it. qemu_system="$( echo qemu-system-$host_cpu | $SED -e 's/-i@<:@456@:>@86/-i386/g' \ - -e 's/-arm.*/-arm/g' + -e 's/-arm.*/-arm/g' \ + -e 's/-amd64/-x86_64/g' )" default_qemu="qemu-kvm kvm $qemu_system qemu" AC_ARG_WITH([qemu], -- 1.9.3
2014 Oct 23
17
[PATCH 00/16] Small bits of non-Linux porting
Hi, from time to time, there have been requests (or attempts, like the mingw port posted on the list some months ago) to make libguestfs work on OSes different than Linux. Of course this would imply using a fixed appliance, since it is currently heavily dependent on Linux. The attached series provides some easy changes in this direction, resolving some of the easy issues found in porting to
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
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...[$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin]) test "x$MKSQUASHFS" = "xno" && AC_MSG_ERROR([mksquashfs must be installed]) dnl Check for QEMU for running binaries on this $host_cpu, fall dnl back to basic 'qemu'. Allow the user to override it. default_qemu="qemu-kvm qemu-system-$host_cpu qemu" AC_ARG_WITH([qemu], - [AS_HELP_STRING([--with-qemu], - [set default QEMU binary @<:@default=[qemu-kvm] qemu-system-<host> qemu@:>@])], - [], - [with_qemu="$default_qemu"]) + [AS_HELP_STRING([--with-qemu], + [se...