Re: [PATCH 1/2] target/riscv: prioritize pmp errors in raise_mmu_exception()

2024-04-15 Thread Joseph Chan
Step 2 mentions the exception code should be " access-fault exception corresponding to the original access type". i.e. 1, 5, 7. All other steps should use " page-fault exception corresponding to the original access type". i.e. 12, 13, 15. Regards, Joseph Chan On Mon, Apr 15, 20

Re: [PATCH 1/2] target/riscv: prioritize pmp errors in raise_mmu_exception()

2024-04-15 Thread Joseph Chan
:" and "With physical address for instruction:" gives me the impression that when the implementation can distinguish between these situations, then reporting 12 , 13, 15 instead of 1, 5, 7 will provide a fine-grained reason for why things were broken. Regards, Joseph Chan On Sat, Apr

Re: Question about RISC-V brom register a1 set value

2022-10-05 Thread Eric Chan
Hi Zhiwei, thanks for your reply, I make a mistake, t0 is 0x1000 so both lw a1, 32(t0) or ld a1, 32(t0) just read from the brom offset 32byte. Thanks, Eric Chan 刘志伟 於 2022年10月5日 週三 下午5:47寫道: > I think the a1 from QEMU reset vector is the device tree(fdt_laddr) though > I don&

Question about RISC-V brom register a1 set value

2022-09-30 Thread Eric Chan
have an opportunity to fix this problem. If it is expected, why they must be done? Thanks, Eric Chan qemu/include/hw/riscv/boot_opensbi.h #define FW_DYNAMIC_INFO_MAGIC_VALUE 0x4942534f qemu/hw/riscv/boot.c void riscv_setup_rom_reset_vec(MachineState *machine, RISCVHartArrayState *

RE: Backtrace stopped: previous frame identical to this frame (corrupt stack?) , even with fresh qemu and linux build

2022-04-27 Thread Chan Kim
Hi folks, Sorry for many emails. I just found out by turning CONFIG_ARM64_PTR_AUTH off in armv8.3 when building linux, I can avoid this problem. (I noticed the instruction ‘pacia’ in the function assembly code) Thank you. Chan Kim From: Chan Kim Sent: Wednesday, April 27, 2022 6:05 PM

RE: Backtrace stopped: previous frame identical to this frame (corrupt stack?) , even with fresh qemu and linux build

2022-04-27 Thread Chan Kim
if I repeat fixing this stored x30 values, I can see more backtrace information. I filed a bug report to bug.linaro.org. This strange thing doesn’t happen with linux version < 5.10 to me so it doesn’t look like qemu bug. Chan Kim From: Chan Kim Sent: Tuesday, April 26, 2022 10:47

RE: Backtrace stopped: previous frame identical to this frame (corrupt stack?) , even with fresh qemu and linux build

2022-04-25 Thread Chan Kim
ach_dev function) is really 0xb8cd80001076a594 which is weird (not a kernel address). The following 3 values are function arguments for bus_for_each_dev and they look correct. From: Chan Kim Sent: Saturday, April 23, 2022 8:37 AM To: 'Mulyadi Santosa' Cc: 'qemu-devel&#

RE: Backtrace stopped: previous frame identical to this frame (corrupt stack?) , even with fresh qemu and linux build

2022-04-22 Thread Chan Kim
Hi, Mulyadi Thank you for replying. I found CONFIG_DEBUG_FRAME_POINTER, CONFIG_DEBUG_INFO are already set by default. And I tried adding CONFIG_DEBUG_KERNEL, CONFIG_KGDB, CONFIG_GDB_SCRIPTS, CONFIG_STACKTRACE all to no avail. Regards, Chan From: Mulyadi Santosa Sent: Friday, April 22

Backtrace stopped: previous frame identical to this frame (corrupt stack?) , even with fresh qemu and linux build

2022-04-22 Thread Chan Kim
: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Thank you. Chan Kim

[PATCH v8] Implement backend program convention command for vhost-user-blk

2019-12-08 Thread Micky Yun Chan(michiboo)
From: Micky Yun Chan This patch is to add standard commands defined in docs/interop/vhost-user.rst For vhost-user-* program Signed-off-by: Micky Yun Chan (michiboo) --- contrib/vhost-user-blk/vhost-user-blk.c | 108 ++-- docs/interop/vhost-user.json| 31

[PATCH v7] Implement backend program convention command for vhost-user-blk

2019-11-24 Thread Micky Yun Chan(michiboo)
From: Micky Yun Chan This patch is to add standard commands defined in docs/interop/vhost-user.rst For vhost-user-* program Signed-off-by: Micky Yun Chan (michiboo) --- contrib/vhost-user-blk/vhost-user-blk.c | 108 ++-- docs/interop/vhost-user.json| 31

[PATCH v6] Implement backend program convention command for vhost-user-blk

2019-11-20 Thread Micky Yun Chan
From: michan This patch is to add standard commands defined in docs/interop/vhost-user.rst For vhost-user-* program Signed-off-by: Micky Yun Chan (michiboo) --- contrib/vhost-user-blk/vhost-user-blk.c | 108 ++-- docs/interop/vhost-user.json| 31 +++ 2

[PATCH v5] Implement backend program convention command for vhost-user-blk

2019-11-18 Thread Micky Yun Chan
From: michan This patch is to add standard commands defined in docs/interop/vhost-user.rst For vhost-user-* program Signed-off-by: Micky Yun Chan (michiboo) --- contrib/vhost-user-blk/vhost-user-blk.c | 109 ++-- 1 file changed, 65 insertions(+), 44 deletions(-) diff

[PATCH v4] Implement backend program convention command for vhost-user-blk

2019-11-18 Thread Micky Yun Chan
From: michan This patch is to add standard commands defined in docs/interop/vhost-user.rst For vhost-user-* program Signed-off-by: Micky Yun Chan (michiboo) --- contrib/vhost-user-blk/vhost-user-blk.c | 109 ++-- 1 file changed, 65 insertions(+), 44 deletions(-) diff

[PATCH v3] Implement backend program convention command for vhost-user-blk

2019-11-18 Thread Micky Yun Chan
From: michan This patch is to add standard commands defined in docs/interop/vhost-user.rst For vhost-user-* program Signed-off-by: Micky Yun Chan (michiboo) --- contrib/vhost-user-blk/vhost-user-blk.c | 109 ++-- 1 file changed, 65 insertions(+), 44 deletions(-) diff

[PATCH v2] Implement backend program convention command for vhost-user-blk

2019-11-17 Thread Micky Yun Chan
From: michan Signed-off-by: Micky Yun Chan (michiboo) --- contrib/vhost-user-blk/vhost-user-blk.c | 102 ++-- 1 file changed, 58 insertions(+), 44 deletions(-) diff --git a/contrib/vhost-user-blk/vhost-user-blk.c b/contrib/vhost-user-blk/vhost-user-blk.c index ae61034656

[PATCH] Implement backend program convention command for vhost-user-blk

2019-11-14 Thread Micky Yun Chan
From: michan Signed-off-by: Micky Yun Chan (michiboo) --- contrib/vhost-user-blk/vhost-user-blk.c | 95 +++-- 1 file changed, 57 insertions(+), 38 deletions(-) diff --git a/contrib/vhost-user-blk/vhost-user-blk.c b/contrib/vhost-user-blk/vhost-user-blk.c index ae61034656

[Qemu-devel] [Bug 1723927] Re: Linux or windows guest boot failed by uefi on CPU of Intel Xeon X5675

2017-10-16 Thread chan
I success to capture the OVMF debug log. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1723927 Title: Linux or windows guest boot failed by uefi on CPU of Intel Xeon X5675 Status in QEMU: Ne

[Qemu-devel] [Bug 1723927] Re: Linux or windows guest boot failed by uefi on CPU of Intel Xeon X5675

2017-10-16 Thread chan
Ersek, thank you very much! I set up correctly in "/etc/libvirt/qemu.conf", so command -bios /usr/share/qemu-kvm/OVMF_CODE.fd also boot UEFI guest. Current, my question only in the platform in server of ProLiant BL460c G7, the same ovmf firmware. How can capture the OVMF debug log? I use your a

[Qemu-devel] [Bug 1723927] [NEW] Linux or windows guest boot failed by uefi on CPU of Intel Xeon X5675

2017-10-16 Thread chan
Public bug reported: Hi, I started windows server 2012 DC or redhat7.0, but boot failed by UEFI, and start process stop on "TianoCore" image by looking at VNCviewer. VM using the command:(redhat7.0) /usr/bin/kvm -name guest=ytest,debug-threads=on -S -object secret,id=masterKey0,format=raw,file

[Qemu-devel] [Bug 1615823] Re: Windows 10 reports no compatible TPM found yet device manager shows it?

2017-09-11 Thread Nelson Chan via Qemu-devel
My laptop has a TPM 1.2 chip made by IFX (dmesg: tpm_tis 00:07: 1.2 TPM (device-id 0x1B, rev-id 16)) I couldn't get it to work in libvirt (I am running ubuntu 17.04) until I upgraded my Windows 10 to version 1607. I needed to change the CPU to "core2duo" first before I could apply the version 1607

[Qemu-devel] [Bug 1706866] Re: migrate: add tls option in virsh, migrate failed

2017-07-27 Thread chan
ok, thank you! -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1706866 Title: migrate: add tls option in virsh, migrate failed Status in QEMU: Incomplete Bug description: version: libvir

[Qemu-devel] [Bug 1706866] Re: migrate: add tls option in virsh, migrate failed

2017-07-27 Thread chan
with libvirt test, qemu report error, this is problem for qemu,so report here! ** Changed in: qemu Status: Invalid => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1706866 Title: migrat

[Qemu-devel] [Bug 1706866] [NEW] migrate: add tls option in virsh, migrate failed

2017-07-27 Thread chan
Public bug reported: version: libvirt-3.4.0 + qemu-2.9.90(latest) domain: any step: 1. generate tls certificate in /etc/pki/libvirt-migrate 2. start vm 3. migrate vm, cmdline: virsh migrate rh7.1-3 --live --undefinesource --persistent --verbose --tls qemu+ssh://IP/sys