search for: nmsrs

Displaying 14 results from an estimated 14 matches for "nmsrs".

Did you mean: msrs
2020 Jul 21
0
[PATCH v9 56/84] KVM: introspection: add KVMI_VCPU_GET_REGISTERS
...allowed (use *KVMI_VM_CHECK_EVENT* first) * -KVM_EAGAIN - the selected vCPU can't be introspected yet +11. KVMI_VCPU_GET_REGISTERS +--------------------------- + +:Architectures: x86 +:Versions: >= 1 +:Parameters: + +:: + + struct kvmi_vcpu_hdr; + struct kvmi_vcpu_get_registers { + __u16 nmsrs; + __u16 padding1; + __u32 padding2; + __u32 msrs_idx[0]; + }; + +:Returns: + +:: + + struct kvmi_error_code; + struct kvmi_vcpu_get_registers_reply { + __u32 mode; + __u32 padding; + struct kvm_regs regs; + struct kvm_sregs sregs; + struct kvm_msrs msrs; + }; + +For the given vCPU and the...
2020 Feb 07
0
[RFC PATCH v7 54/78] KVM: introspection: add KVMI_VCPU_GET_REGISTERS
...s restricted by the host * -KVM_EOPNOTSUPP - one the events can't be intercepted in the current setup +11. KVMI_VCPU_GET_REGISTERS +--------------------------- + +:Architectures: x86 +:Versions: >= 1 +:Parameters: + +:: + + struct kvmi_vcpu_hdr; + struct kvmi_vcpu_get_registers { + __u16 nmsrs; + __u16 padding1; + __u32 padding2; + __u32 msrs_idx[0]; + }; + +:Returns: + +:: + + struct kvmi_error_code; + struct kvmi_vcpu_get_registers_reply { + __u32 mode; + __u32 padding; + struct kvm_regs regs; + struct kvm_sregs sregs; + struct kvm_msrs msrs; + }; + +For the given vCPU and the...
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 reported? Regards, Tanmoy Sinha ============================================= libguestfs: command: run: \ --verbo...
2018 Mar 23
2
Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
...debian 9 guest, hosted on a ESXi platform with nested virtualisation enabled. On this debian 9 guest when I run libguesfs-test-tool, it fails with an error: "qemu-system-x86_64: /build/qemu-DqynNa/qemu-2.8+dfsg/target-i386/kvm.c:1805: kvm_put_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed." Instead when I use a wrapper script and hook it with the env variable LIBGUESTFS_HV=/tmp/qemu.wrapper, things work fine, as in the script I just spawn the guest with the specific machine type pc-i440fx-2.1 over KVM. exec qemu-system-x86_64 -enable-kvm -machine *pc-i440fx-2.**1*...
2018 Mar 24
4
Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
...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 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 reported? > > Does it work if you set: > > export LIBGUESTFS_BAC...
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 23
0
Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
...rm with nested > virtualisation enabled. > > On this debian 9 guest when I run libguesfs-test-tool, it fails with an > error: > > "qemu-system-x86_64: > /build/qemu-DqynNa/qemu-2.8+dfsg/target-i386/kvm.c:1805: kvm_put_msrs: > Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed." See also https://bugzilla.redhat.com/show_bug.cgi?id=1456407 This is basically a bug in VMware and the qemu bug https://bugs.launchpad.net/qemu/+bug/1661386 has a couple of hints about what it can be changed in VMware to avoid this situation. -- Pino Toscano
2018 Mar 23
0
Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
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 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 reported? Does it work if you set: export LIBGUESTFS_BACKEND_SETTINGS=force_tcg ? Rich. --...
2018 Mar 24
0
Re: Issue with libguestfs-test-tool on a guest hosted on VMWare ESXi
...8PM +0000, Tanmoy Sinha wrote: >> > 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 reported? >> >> Does it work if you set:...
2018 Nov 21
0
Re: DEBUGGING LIBGUESTFS
...)> Original error from libvirt: internal error: process exited while connecting to monitor: 2018-11-21T08:15:39.670714Z qemu-kvm: error: failed to set MSR 0x38d to 0x0 > qemu-kvm: /builddir/build/BUILD/qemu-2.10.0/target/i386/kvm.c:1809: kvm_put_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed. [code=1 int1=-1] Yes this is unfortunately a recent bug in qemu which has come up several times. I don't believe there is a resolution yet, but please see: https://bugzilla.redhat.com/show_bug.cgi?id=1651021 https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg03509.html If...
2020 Jul 21
87
[PATCH v9 00/84] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VMs (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place
2020 Feb 07
78
[RFC PATCH v7 00/78] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VMs (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VM-s (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VM-s (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place