Public bug reported:
We are using kvm virtualization on our servers, We use
"qemu-monitor-command"(drive-backup) to take qcow2 backups and to monitor them
we use "qemu-monitor-event" command
For eg:-
/usr/bin/virsh qemu-monitor-event VPSNAME --event
"BLOCK_JOB_COMPLETED\|BLOCK_JOB_ERROR" --reg
[ 20.653310]
Bus error
[ 20.655575] MCE: CPU0: machine check (Harmless) Host UE Indeterminate [Not
recovered]
[ 20.655575] MCE: CPU0: NIP: [c008023a00e8] mcetest_tlbie+0xe8/0xf0
[mcetest_tlbie]
[ 20.655576] MCE: CPU0: Initiator CPU
[ 20.655576] MCE: CPU0: Unknown
Signed-off-by: G
check error waits
till the first processor is done reading the error log.
The first processor issues "ibm,nmi-interlock" call
when the error log is consumed.
Signed-off-by: Aravinda Prasad
[Register fwnmi RTAS calls in core_rtas_register_types()
where other RTAS calls are registered]
Si
From: Aravinda Prasad
This patch sets the default value of SPAPR_CAP_FWNMI_MCE
to SPAPR_CAP_ON for machine type 5.0.
Signed-off-by: Aravinda Prasad
Signed-off-by: Ganesh Goudar
---
hw/ppc/spapr.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc
recoverable errors, the guest performs recovery actions and
logs the error.
Signed-off-by: Aravinda Prasad
[Assume SLOF has allocated enough room for rtas error log]
Signed-off-by: Ganesh Goudar
Reviewed-by: David Gibson
---
hw/ppc/spapr_events.c | 220
: Aravinda Prasad
Signed-off-by: Ganesh Goudar
Reviewed-by: David Gibson
Reviewed-by: Greg Kurz
---
cpus.c | 5 +
include/qemu/main-loop.h | 8
2 files changed, 13 insertions(+)
diff --git a/cpus.c b/cpus.c
index b612116f95..b4f8b84b61 100644
--- a/cpus.c
+++ b
to migration state
and reprhase the commit message]
Signed-off-by: Ganesh Goudar
Reviewed-by: David Gibson
---
hw/ppc/spapr.c | 2 ++
hw/ppc/spapr_caps.c| 18 ++
include/hw/ppc/spapr.h | 5 -
target/ppc/kvm.c | 8
target/ppc/kvm_ppc.h | 6
-by: Aravinda Prasad
[Do not set FWNMI cap in post_load, now its done in .apply hook]
Signed-off-by: Ganesh Goudar
---
hw/ppc/spapr.c | 47 ++
hw/ppc/spapr_events.c | 16 +-
hw/ppc/spapr_rtas.c| 2 ++
include/hw/ppc/spapr.h | 2
reason
set to KVM_EXIT_NMI in such cases. This patch handles
KVM_EXIT_NMI exit.
[1] https://www.spinics.net/lists/kvm-ppc/msg12637.html
(e20bbd3d and related commits)
Signed-off-by: Aravinda Prasad
Signed-off-by: Ganesh Goudar
Reviewed-by: David Gibson
Reviewed-by: Greg Kurz
---
hw/ppc
This patch set adds support for FWNMI in PowerKVM guests.
System errors such as SLB multihit and memory errors
that cannot be corrected by hardware is passed on to
the kernel for handling by raising machine check
exception (an NMI). Upon such machine check exceptions,
if the address in error belon
On 1/20/20 6:18 AM, David Gibson wrote:
On Fri, Jan 17, 2020 at 03:08:54PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
This patch includes migration support for machine check
handling. Especially this patch blocks VM migration
requests until the machine check error handling is
On 1/20/20 6:16 AM, David Gibson wrote:
On Fri, Jan 17, 2020 at 03:08:53PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
This patch adds support in QEMU to handle "ibm,nmi-register"
and "ibm,nmi-interlock" RTAS calls.
The machine check notification address is save
check error waits
till the first processor is done reading the error log.
The first processor issues "ibm,nmi-interlock" call
when the error log is consumed.
Signed-off-by: Aravinda Prasad
[Register fwnmi RTAS calls in core_rtas_register_types()
where other RTAS calls are registered]
Si
recoverable errors, the guest performs recovery actions and
logs the error.
Signed-off-by: Aravinda Prasad
[Assume SLOF has allocated enough room for rtas error log]
Signed-off-by: Ganesh Goudar
Reviewed-by: David Gibson
---
hw/ppc/spapr_events.c | 220
reason
set to KVM_EXIT_NMI in such cases. This patch handles
KVM_EXIT_NMI exit.
[1] https://www.spinics.net/lists/kvm-ppc/msg12637.html
(e20bbd3d and related commits)
Signed-off-by: Aravinda Prasad
Signed-off-by: Ganesh Goudar
Reviewed-by: David Gibson
Reviewed-by: Greg Kurz
---
hw/ppc
to migration state
and reprhase the commit message]
Signed-off-by: Ganesh Goudar
---
hw/ppc/spapr.c | 2 ++
hw/ppc/spapr_caps.c| 18 ++
include/hw/ppc/spapr.h | 5 -
target/ppc/kvm.c | 8
target/ppc/kvm_ppc.h | 6 ++
5 files changed, 38
From: Aravinda Prasad
This patch sets the default value of SPAPR_CAP_FWNMI_MCE
to SPAPR_CAP_ON for machine type 4.2.
Signed-off-by: Aravinda Prasad
Signed-off-by: Ganesh Goudar
---
hw/ppc/spapr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc
-by: Aravinda Prasad
[Do not set FWNMI cap in post_load, now its done in .apply hook]
Signed-off-by: Ganesh Goudar
---
hw/ppc/spapr.c | 47 ++
hw/ppc/spapr_events.c | 16 +-
hw/ppc/spapr_rtas.c| 2 ++
include/hw/ppc/spapr.h | 2
: Aravinda Prasad
Signed-off-by: Ganesh Goudar
Reviewed-by: David Gibson
Reviewed-by: Greg Kurz
---
cpus.c | 5 +
include/qemu/main-loop.h | 8
2 files changed, 13 insertions(+)
diff --git a/cpus.c b/cpus.c
index be2d655f37..c06a2ad20b 100644
--- a/cpus.c
+++ b
This patch set adds support for FWNMI in PowerKVM guests.
System errors such as SLB multihit and memory errors
that cannot be corrected by hardware is passed on to
the kernel for handling by raising machine check
exception (an NMI). Upon such machine check exceptions,
if the address in error belon
On 1/16/20 10:09 PM, Ganesh Goudar wrote:
This patch set adds support for FWNMI in PowerKVM guests.
System errors such as SLB multihit and memory errors
that cannot be corrected by hardware is passed on to
the kernel for handling by raising machine check
exception (an NMI). Upon such machine
From: Aravinda Prasad
This patch sets the default value of SPAPR_CAP_FWNMI_MCE
to SPAPR_CAP_ON for machine type 4.2.
Signed-off-by: Aravinda Prasad
Signed-off-by: Ganesh Goudar
---
hw/ppc/spapr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc
-by: Aravinda Prasad
[Do not set FWNMI cap in post_load, now its done in .apply hook]
Signed-off-by: Ganesh Goudar
---
hw/ppc/spapr.c | 47 ++
hw/ppc/spapr_events.c | 16 +-
hw/ppc/spapr_rtas.c| 4
include/hw/ppc/spapr.h | 2
check error waits
till the first processor is done reading the error log.
The first processor issues "ibm,nmi-interlock" call
when the error log is consumed.
Signed-off-by: Aravinda Prasad
[Register fwnmi RTAS calls in core_rtas_register_types()
where other RTAS calls are registered]
Si
: Aravinda Prasad
Signed-off-by: Ganesh Goudar
Reviewed-by: David Gibson
Reviewed-by: Greg Kurz
---
cpus.c | 5 +
include/qemu/main-loop.h | 8
2 files changed, 13 insertions(+)
diff --git a/cpus.c b/cpus.c
index be2d655f37..c06a2ad20b 100644
--- a/cpus.c
+++ b
reason
set to KVM_EXIT_NMI in such cases. This patch handles
KVM_EXIT_NMI exit.
[1] https://www.spinics.net/lists/kvm-ppc/msg12637.html
(e20bbd3d and related commits)
Signed-off-by: Aravinda Prasad
Signed-off-by: Ganesh Goudar
Reviewed-by: David Gibson
Reviewed-by: Greg Kurz
---
hw/ppc
recoverable errors, the guest performs recovery actions and
logs the error.
Signed-off-by: Aravinda Prasad
[Assume SLOF has allocated enough room for rtas error log]
Signed-off-by: Ganesh Goudar
Reviewed-by: David Gibson
---
hw/ppc/spapr_events.c | 220
to migration state
and reprhase the commit message]
Signed-off-by: Ganesh Goudar
---
hw/ppc/spapr.c | 2 ++
hw/ppc/spapr_caps.c| 18 ++
include/hw/ppc/spapr.h | 5 -
target/ppc/kvm.c | 8
target/ppc/kvm_ppc.h | 6 ++
5 files changed, 38
This patch set adds support for FWNMI in PowerKVM guests.
System errors such as SLB multihit and memory errors
that cannot be corrected by hardware is passed on to
the kernel for handling by raising machine check
exception (an NMI). Upon such machine check exceptions,
if the address in error belon
On 1/8/20 6:34 AM, David Gibson wrote:
On Tue, Jan 07, 2020 at 11:57:08AM +0530, Ganesh wrote:
On 1/3/20 7:49 AM, David Gibson wrote:
On Thu, Jan 02, 2020 at 01:21:09PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
This patch adds support in QEMU to handle "ibm,nmi-register"
On 1/6/20 3:15 PM, Greg Kurz wrote:
On Thu, 2 Jan 2020 13:21:07 +0530
Ganesh Goudar wrote:
From: Aravinda Prasad
Memory error such as bit flips that cannot be corrected
by hardware are passed on to the kernel for handling.
If the memory address in error belongs to guest then
the guest
On 1/6/20 2:37 PM, Greg Kurz wrote:
On Thu, 2 Jan 2020 13:21:06 +0530
Ganesh Goudar wrote:
From: Aravinda Prasad
Introduce fwnmi an spapr capability and validate it against
the kernels existing capability by trying to enable it.
I see this patch indeed adds a KVM helper to do that but
On 1/3/20 7:55 AM, David Gibson wrote:
On Thu, Jan 02, 2020 at 01:21:10PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
This patch includes migration support for machine check
handling. Especially this patch blocks VM migration
requests until the machine check error handling is
complete
On 1/5/20 8:47 PM, Greg Kurz wrote:
On Thu, 2 Jan 2020 13:21:05 +0530
Ganesh Goudar wrote:
From: Aravinda Prasad
Introduce a wrapper function to wait on condition for
the main loop mutex. This function atomically releases
the main loop mutex and causes the calling thread to
block on the
On 1/3/20 7:49 AM, David Gibson wrote:
On Thu, Jan 02, 2020 at 01:21:09PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
This patch adds support in QEMU to handle "ibm,nmi-register"
and "ibm,nmi-interlock" RTAS calls.
The machine check notification address is save
From: Aravinda Prasad
Memory error such as bit flips that cannot be corrected
by hardware are passed on to the kernel for handling.
If the memory address in error belongs to guest then
the guest kernel is responsible for taking suitable action.
Patch [1] enhances KVM to exit guest with exit reaso
From: Aravinda Prasad
This patch sets the default value of SPAPR_CAP_FWNMI_MCE
to SPAPR_CAP_ON for machine type 4.2.
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 4acdc30100..e705b0f
check error waits
till the first processor is done reading the error log.
The first processor issues "ibm,nmi-interlock" call
when the error log is consumed.
[Move fwnmi registration to .apply hook]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw
From: Aravinda Prasad
Introduce a wrapper function to wait on condition for
the main loop mutex. This function atomically releases
the main loop mutex and causes the calling thread to
block on the condition. This wrapper is required because
qemu_global_mutex is a static variable.
Signed-off-by:
FWNMI cap in post_load, now its done in .apply hook]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr.c | 41 +
hw/ppc/spapr_events.c | 20 +++-
hw/ppc/spapr_rtas.c| 4
include/hw/ppc/spapr.h
From: Aravinda Prasad
Introduce fwnmi an spapr capability and validate it against
the kernels existing capability by trying to enable it.
[eliminate cap_ppc_fwnmi, add fwnmi cap to migration state
and reprhase the commit message]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
This patch set adds support for FWNMI in PowerKVM guests.
System errors such as SLB multihit and memory errors
that cannot be corrected by hardware is passed on to
the kernel for handling by raising machine check
exception (an NMI). Upon such machine check exceptions,
if the address in error belon
recoverable errors, the guest performs recovery actions and
logs the error.
[Assume SLOF has allocated enough room for rtas error log]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
Reviewed-by: David Gibson
---
hw/ppc/spapr_events.c | 220
On 12/5/19 10:25 AM, Ganesh wrote:
On 11/19/19 8:09 AM, David Gibson wrote:
On Thu, Oct 24, 2019 at 01:13:05PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
This patch adds support in QEMU to handle "ibm,nmi-register"
and "ibm,nmi-interlock" RTAS calls.
The machin
On 12/6/19 6:52 AM, David Gibson wrote:
On Thu, Dec 05, 2019 at 10:39:29AM +0530, Ganesh wrote:
On 11/19/19 8:15 AM, David Gibson wrote:
On Thu, Oct 24, 2019 at 01:13:06PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
This patch includes migration support for machine check
handling
On 11/19/19 8:15 AM, David Gibson wrote:
On Thu, Oct 24, 2019 at 01:13:06PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
This patch includes migration support for machine check
handling. Especially this patch blocks VM migration
requests until the machine check error handling is
On 11/19/19 8:09 AM, David Gibson wrote:
On Thu, Oct 24, 2019 at 01:13:05PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
This patch adds support in QEMU to handle "ibm,nmi-register"
and "ibm,nmi-interlock" RTAS calls.
The machine check notification address is save
On 11/6/19 4:37 PM, Ganesh wrote:
On 11/4/19 9:40 PM, David Gibson wrote:
On Thu, Oct 24, 2019 at 01:13:04PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
Upon a machine check exception (MCE) in a guest address space,
KVM causes a guest exit to enable QEMU to build and pass the
error
On 11/4/19 9:40 PM, David Gibson wrote:
On Thu, Oct 24, 2019 at 01:13:04PM +0530, Ganesh Goudar wrote:
From: Aravinda Prasad
Upon a machine check exception (MCE) in a guest address space,
KVM causes a guest exit to enable QEMU to build and pass the
error to the guest in the PAPR defined
check error waits
till the first processor is done reading the error log.
The first processor issues "ibm,nmi-interlock" call
when the error log is consumed.
[Move fwnmi registeration to .apply hook]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw/p
From: Aravinda Prasad
Introduce fwnmi an spapr capability and validate it against
the kernels existing capability by trying to enable it.
[eliminate cap_ppc_fwnmi, add fwnmi cap to migration state
and reprhase the commit message]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
From: Aravinda Prasad
Introduce a wrapper function to wait on condition for
the main loop mutex. This function atomically releases
the main loop mutex and causes the calling thread to
block on the condition. This wrapper is required because
qemu_global_mutex is a static variable.
Signed-off-by:
From: Aravinda Prasad
This patch sets the default value of SPAPR_CAP_FWNMI_MCE
to SPAPR_CAP_ON for machine type 4.2.
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index e0d0f95ec0..4e7def1
From: Aravinda Prasad
Memory error such as bit flips that cannot be corrected
by hardware are passed on to the kernel for handling.
If the memory address in error belongs to guest then
the guest kernel is responsible for taking suitable action.
Patch [1] enhances KVM to exit guest with exit reaso
FWNMI cap in post_load, now its done in .apply hook]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr.c | 41 +
hw/ppc/spapr_events.c | 16 +++-
hw/ppc/spapr_rtas.c| 2 ++
include/hw/ppc/spapr.h | 2
recoverable errors, the guest performs recovery actions and
logs the error.
[Assume SLOF has allocated enough room for rtas error log]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr_events.c | 220 -
hw/ppc/spapr_rtas.c
This patch set adds support for FWNMI in PowerKVM guests.
System errors such as SLB multihit and memory errors
that cannot be corrected by hardware is passed on to
the kernel for handling by raising machine check
exception (an NMI). Upon such machine check exceptions,
if the address in error belon
FWNMI cap in post_load, now its done in .apply hook]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr.c | 41 +
hw/ppc/spapr_events.c | 16 +++-
hw/ppc/spapr_rtas.c| 2 ++
include/hw/ppc/spapr.h | 2
From: Aravinda Prasad
This patch sets the default value of SPAPR_CAP_FWNMI_MCE
to SPAPR_CAP_ON for machine type 4.2.
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index eac3123d83..d27c1f1
From: Aravinda Prasad
Memory error such as bit flips that cannot be corrected
by hardware are passed on to the kernel for handling.
If the memory address in error belongs to guest then
the guest kernel is responsible for taking suitable action.
Patch [1] enhances KVM to exit guest with exit reaso
x27;s 0x200 vector.
This patch also introduces fwnmi-mce capability to
deal with the case when a guest with the
KVM_CAP_PPC_FWNMI capability enabled is attempted
to migrate to a host that does not support this
capability.
[eliminate cap_ppc_fwnmi]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda P
recoverable errors, the guest performs recovery actions and
logs the error.
[Assume SLOF has allocated enough room for rtas error log]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr_events.c | 220 -
hw/ppc/spapr_rtas.c
check error waits
till the first processor is done reading the error log.
The first processor issues "ibm,nmi-interlock" call
when the error log is consumed.
[Move fwnmi registeration to .apply hook]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw/p
This patch set adds support for FWNMI in PowerKVM guests.
System errors such as SLB multihit and memory errors
that cannot be corrected by hardware is passed on to
the kernel for handling by raising machine check
exception (an NMI). Upon such machine check exceptions,
if the address in error belon
From: Aravinda Prasad
Introduce a wrapper function to wait on condition for
the main loop mutex. This function atomically releases
the main loop mutex and causes the calling thread to
block on the condition. This wrapper is required because
qemu_global_mutex is a static variable.
Signed-off-by:
From: Aravinda Prasad
This patch sets the default value of SPAPR_CAP_FWNMI_MCE
to SPAPR_CAP_ON for machine type 4.2.
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index eb267d4c43..a1ed36d
From: Aravinda Prasad
Introduce a wrapper function to wait on condition for
the main loop mutex. This function atomically releases
the main loop mutex and causes the calling thread to
block on the condition. This wrapper is required because
qemu_global_mutex is a static variable.
Signed-off-by:
This patch set adds support for FWNMI in PowerKVM guests.
System errors such as SLB multihit and memory errors
that cannot be corrected by hardware is passed on to
the kernel for handling by raising machine check
exception (an NMI). Upon such machine check exceptions,
if the address in error belon
check error waits
till the first processor is done reading the error log.
The first processor issues "ibm,nmi-interlock" call
when the error log is consumed.
[Move fwnmi registeration to .apply hook]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw/p
recoverable errors, the guest performs recovery actions and
logs the error.
[Assume SLOF has allocated enough room for rtas error log]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr_events.c | 220 -
hw/ppc/spapr_rtas.c
x27;s 0x200 vector.
This patch also introduces fwnmi-mce capability to
deal with the case when a guest with the
KVM_CAP_PPC_FWNMI capability enabled is attempted
to migrate to a host that does not support this
capability.
[eliminate cap_ppc_fwnmi]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda P
FWNMI cap in post_load, now its done in .apply hook]
Signed-off-by: Ganesh Goudar
Signed-off-by: Aravinda Prasad
---
hw/ppc/spapr.c | 41 +
hw/ppc/spapr_events.c | 16 +++-
hw/ppc/spapr_rtas.c| 2 ++
include/hw/ppc/spapr.h | 2
From: Aravinda Prasad
Memory error such as bit flips that cannot be corrected
by hardware are passed on to the kernel for handling.
If the memory address in error belongs to guest then
the guest kernel is responsible for taking suitable action.
Patch [1] enhances KVM to exit guest with exit reaso
,host=04:00.0 -device pci-assign,host=03:00.0
The two PCI devices in question are behind a PCIe bridge which is connected to
the rootport. The crash seems to be happening when cleaning up the PCIe tree
of the passed-through PCI devices. I tried passing through the downstream
ports of the bridge as well, but that is not supported by qemu.
Am I doing something wrong/unexpected here ? Any help in understanding this
issue will help me fix the issue properly.
Thanks,
Ganesh
.
please guide me,
How to resole this error
-Ganesh.
Did I learn something today? If not, I wasted it.
note:
The same image with with vmlinuz.
please guide me..
-Ganesh.
Did I learn something today? If not, I wasted it.
76 matches
Mail list logo