search for: force_tcg

Displaying 20 results from an estimated 102 matches for "force_tcg".

2018 Mar 24
4
Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
Yes it works if I use force_tcg env variable On Sat, 24 Mar 2018 at 4:37 AM, Richard W.M. Jones <rjones@redhat.com> wrote: > > On Fri, Mar 23, 2018 at 05:35:38PM +0000, Tanmoy Sinha wrote: > > Thanks. Reading the defect and the associated thread in > > https://bugs.launchpad.net/qemu/+bug/1661386, I enab...
2018 Sep 13
1
[PATCH] lib: direct: Query qemu binary for availability of KVM (RHBZ#1605071).
.... That's not reliable, since /dev/kvm - * might be openable by qemu but not by us (think: SELinux) in - * which case the user would not get hardware virtualization, - * although at least shouldn't fail. - */ - has_kvm = is_openable (g, "/dev/kvm", O_RDWR|O_CLOEXEC); - - force_tcg = guestfs_int_get_backend_setting_bool (g, "force_tcg"); - if (force_tcg == -1) - return -1; - - if (!has_kvm && !force_tcg) - debian_kvm_warning (g); - guestfs_int_launch_send_progress (g, 0); TRACE0 (launch_build_appliance_start); @@ -431,6 +415,17 @@ launch_dire...
2018 Mar 14
1
proposal for feature to add global setting for libguestfs emulation type
The man page for libguestfs says: export LIBGUESTFS_BACKEND_SETTINGS=force_tcg will force the direct and libvirt backends to use TCG (software emulation) instead of KVM (hardware accelerated virtualization). However, our application has many services (run by different users) which make use of libguestfs tools, and it is painful to have to set this environment variable for ea...
2018 Mar 24
0
Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
Even though force_tcg works, I intend not to run it on emulation. Is there way I can run it over kvm? The other observation is, without force_tcg if I use the machine type as *pc-i440fx-2.**1*,accel=kvm it works fine. The default machine type for my host *pc-i440fx-2.8, *which seems to crib. On Sat, 24 Mar 2018 at 09:...
2015 Oct 02
1
[PATCH 1/2] launch: direct: Use a single -machine [type, ]accel=... option.
...g_bool (g, "gdb") > 0) { ADD_CMDLINE ("-S"); @@ -388,35 +383,26 @@ launch_direct (guestfs_h *g, void *datav, const char *arg) warning (g, "qemu debugging is enabled, connect gdb to tcp::1234 to begin"); } + ADD_CMDLINE ("-machine"); + if (!force_tcg) + ADD_CMDLINE ( +#ifdef MACHINE_TYPE + MACHINE_TYPE "," +#endif + "accel=kvm:tcg"); + else + ADD_CMDLINE ( +#ifdef MACHINE_TYPE + MACHINE_TYPE "," +#endif + "accel=tcg"); + cpu_model =...
2018 Mar 24
2
Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
On Sat, Mar 24, 2018 at 03:08:16PM +0000, Tanmoy Sinha wrote: > Even though force_tcg works, I intend not to run it on emulation. Is there > way I can run it over kvm? The other observation is, without force_tcg if I > use the machine type as *pc-i440fx-2.**1*,accel=kvm it works fine. The > default machine type for my host *pc-i440fx-2.8, *which seems to crib. I don't...
2016 May 16
0
[PATCH] launch: direct: Add DAX root filesystem support.
...*name, const struct backend_ops *); diff --git a/src/launch-direct.c b/src/launch-direct.c index 01b7e07..a005bda 100644 --- a/src/launch-direct.c +++ b/src/launch-direct.c @@ -234,6 +234,7 @@ launch_direct (guestfs_h *g, void *datav, const char *arg) struct hv_param *hp; bool has_kvm; int force_tcg; + bool dax; const char *cpu_model; /* At present you must add drives before starting the appliance. In @@ -371,15 +372,29 @@ launch_direct (guestfs_h *g, void *datav, const char *arg) warning (g, "qemu debugging is enabled, connect gdb to tcp::1234 to begin"); } + /*...
2018 Mar 26
1
Re: Nested KVM on VMware ESXi failure (was: Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi)
...ms to have an > upstream fix already.] > > On Mon, Mar 26, 2018 at 09:13:45AM +0300, Roman Kagan wrote: > > On Sat, Mar 24, 2018 at 03:11:12PM +0000, Richard W.M. Jones wrote: > > > On Sat, Mar 24, 2018 at 03:08:16PM +0000, Tanmoy Sinha wrote: > > > > Even though force_tcg works, I intend not to run it on emulation. Is > there > > > > way I can run it over kvm? The other observation is, without > force_tcg if I > > > > use the machine type as *pc-i440fx-2.**1*,accel=kvm it works fine. > The > > > > default machine type fo...
2016 May 26
1
[PATCH] aarch64: launch: Only pass gic-version=host when KVM is likely to be enabled.
...MACHINE_TYPE "," #endif #ifdef __aarch64__ - "gic-version=host," + "%s" /* gic-version */ #endif "accel=%s", +#ifdef __aarch64__ + has_kvm && !force_tcg ? "gic-version=host," : "", +#endif !force_tcg ? "kvm:tcg" : "tcg"); cpu_model = guestfs_int_get_cpu_model (has_kvm && !force_tcg); -- 2.7.4
2014 Jan 31
2
Re: Double fault panic in L2 upon v2v conversion
...4 at 04:02:03PM +0200, Rom Freiman wrote: > Hey everybody, > Any news about the topic? I could not find anything relevant yet. Don't know about the kernel bug, but in (very very) recent versions of libguestfs it is now possible to force TCG by doing: export LIBGUESTFS_BACKEND_SETTINGS=force_tcg which should work around this bug. See: http://libguestfs.org/guestfs.3.html#backend-settings https://github.com/libguestfs/libguestfs/commit/26f7fb237b713c798e23a336a3c4973513f83551 https://github.com/libguestfs/libguestfs/commit/11ac9f702440fff5c8dad1f9756f24ca6867712c Rich. -- Richard Jone...
2016 May 18
1
[PATCH v3] launch: direct: Add DAX root filesystem support.
v2 -> v3: - Rebase on top of the other patches. Rich.
2016 May 17
1
[PATCH v2] launch: direct: Add DAX root filesystem support.
NOTE: not for upstream, yet. v1 -> v2: - Remove the dependency on enabling ACPI, since ACPI is now enabled all the time. Rich.
2018 Sep 03
3
[PATCH] ppc64le: Use -machine cap-htm=off unconditionally
Unfortunately I was not able to test this because I don't currently have access to a P9 machine. Rich.
2017 Jan 17
2
[PATCH 0/2] lib: appliance: qemu 2.9.0 supports TCG with -cpu host on x86 (RHBZ#1277744).
NB: This requires a qemu patch by Eduardo which is currently awaiting review: https://www.mail-archive.com/qemu-devel@nongnu.org/msg422959.html So not to be applied yet unless that qemu change goes upstream. Rich.
2018 Mar 23
2
Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
Thanks. Reading the defect and the associated thread in https://bugs.launchpad.net/qemu/+bug/1661386, I enabled performance counters in VMWare guest settings. Now the kvm assertion `ret == cpu->kvm_msr_buf->nmsrs' is gone. But the qemu/kvm hangs after printing "SeaBIOS (version 1.10.2-1)" I presume this too is a qemu/kvm issue for vmware platforms. Is there any existing issue
2017 Sep 05
1
error/crash on mount
Hi, I am having issues with libguestfs; I am unable to mount a disk either from cli or via python bindings. This was working previously, but in order to have access to python3.5 I am trying to upgrade from Debian 8/Jessie to Debian 9/Stretch. Unfortunately the libguestfs error is getting in the way. Output of libguestfs-test-tool is attached as per libguestfs.org help. My current environment:
2018 Mar 24
0
Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
..., 1996) pc-i440fx-2.2 Standard PC (i440FX + PIIX, 1996) *pc-i440fx-2.1* Standard PC (i440FX + PIIX, 1996) ..... On Sat, 24 Mar 2018 at 20:41 Richard W.M. Jones <rjones@redhat.com> wrote: > On Sat, Mar 24, 2018 at 03:08:16PM +0000, Tanmoy Sinha wrote: > > Even though force_tcg works, I intend not to run it on emulation. Is > there > > way I can run it over kvm? The other observation is, without force_tcg > if I > > use the machine type as *pc-i440fx-2.**1*,accel=kvm it works fine. The > > default machine type for my host *pc-i440fx-2.8, *which se...
2018 Mar 26
0
Nested KVM on VMware ESXi failure (was: Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi)
..., but FYI only as the bug seems to have an upstream fix already.] On Mon, Mar 26, 2018 at 09:13:45AM +0300, Roman Kagan wrote: > On Sat, Mar 24, 2018 at 03:11:12PM +0000, Richard W.M. Jones wrote: > > On Sat, Mar 24, 2018 at 03:08:16PM +0000, Tanmoy Sinha wrote: > > > Even though force_tcg works, I intend not to run it on emulation. Is there > > > way I can run it over kvm? The other observation is, without force_tcg if I > > > use the machine type as *pc-i440fx-2.**1*,accel=kvm it works fine. The > > > default machine type for my host *pc-i440fx-2.8, *whi...
2018 Sep 03
0
[PATCH] ppc64le: Use -machine cap-htm=off unconditionally (RHBZ#1614948).
...les changed, 13 insertions(+) diff --git a/lib/launch-direct.c b/lib/launch-direct.c index 47e8f37de..94dd995c6 100644 --- a/lib/launch-direct.c +++ b/lib/launch-direct.c @@ -523,6 +523,9 @@ launch_direct (guestfs_h *g, void *datav, const char *arg) #ifdef __aarch64__ if (has_kvm && !force_tcg) append_list ("gic-version=host"); +#endif +#ifdef __powerpc64__ + append_list ("cap-htm=off"); #endif append_list_format ("accel=%s", !force_tcg ? "kvm:tcg" : "tcg"); } end_list (); diff --git a/lib/launch-libvirt.c b/lib/launch-...
2018 Sep 03
1
[PATCH v2] ppc64le: Use -machine cap-htm=off unconditionally
v1 was here: https://www.redhat.com/archives/libguestfs/2018-September/thread.html#00000 v2: - Make conditional on qemu >= 2.11.2 and libvirt >= 4.6.0. - Fix the libvirt XML to match what went upstream. Still untested. Rich.