回复: 回复: [PATCH] target/i386: Clear xsave pkru bit when KVM XCR0 not support

2023-05-20 Thread Yuchen
quot; (2.6 EXTENDED CONTROL REGISTERS (INCLUDING XCR0)). > -邮件原件- > 发件人: yuchen (Cloud) > 发送时间: 2023年5月20日 9:58 > 收件人: 'Paolo Bonzini' ; > 'qemu-devel@nongnu.org' > 抄送: 'r...@twiddle.net' ; 'ehabk...@redhat.com' > ; 'Dongli Zhang' > 主题: 回复: 回复: [PATCH] target/i386: Cl

回复: 回复: [PATCH] target/i386: Clear xsave pkru bit when KVM XCR0 not support

2023-05-19 Thread Yuchen
to kernel and improves the robustness of qemu. > -邮件原件- > 发件人: Paolo Bonzini > 发送时间: 2023年5月20日 1:37 > 收件人: yuchen (Cloud) > 主题: Re: 回复: [PATCH] target/i386: Clear xsave pkru bit when KVM > XCR0 not support > > On 5/18/23 14:37, Yuchen wrote: > > Yes, b

[PATCH] target/i386: Clear xsave pkru bit when KVM XCR0 not support

2023-05-17 Thread Yuchen
copy from user Signed-off-by: YuChen --- target/i386/xsave_helper.c | 8 1 file changed, 8 insertions(+) diff --git a/target/i386/xsave_helper.c b/target/i386/xsave_helper.c index 996e9f3bfe..64e2b969fe 100644 --- a/target/i386/xsave_helper.c +++ b/target/i386/xsave_helper.c @@ -6,6 +6,8

Re: [Qemu-devel][bug] qemu crash when migrate vm and vm's disks

2021-04-09 Thread Yuchen
> -邮件原件- > 发件人: Dr. David Alan Gilbert [mailto:dgilb...@redhat.com] > 发送时间: 2021年4月8日 19:27 > 收件人: yuchen (Cloud) ; pbonz...@redhat.com; > m...@redhat.com > 抄送: qemu-devel@nongnu.org > 主题: Re: [Qemu-devel][bug] qemu crash when migrate vm and vm's disks > >

[Qemu-devel][bug] qemu crash when migrate vm and vm's disks

2021-04-08 Thread Yuchen
When migrate vm and vm’s disks target host qemu crash due to an invalid free. #0 object_unref (obj=0x1000) at /qemu-2.12/rpmbuild/BUILD/qemu-2.12/qom/object.c:920 #1 0x560434d79e79 in memory_region_unref (mr=) at /qemu-2.12/rpmbuild/BUILD/qemu-2.12/memory.c:1730 #2 flatview_destroy

[Qemu-devel] 答复: [BUG] living migrate vm pause forever

2019-08-21 Thread Yuchen
Thank you for your attention. Yes, you are right, QEMU wait semaphore in this place. I use qemu-2.12.1, libvirt-4.0.0. Because I added some debug code, so the line numbers doesn't match open qemu -邮件原件- 发件人: Dr. David Alan Gilbert [mailto:dgilb...@redhat.com] 发送时间: 2019年8月21日 19:13 收件人: yuch

[Qemu-devel] [BUG] living migrate vm pause forever

2019-08-21 Thread Yuchen
Sometimes, living migrate vm pause forever, migrate job stop, but very small probability, I can’t reproduce. qemu wait semaphore from libvirt send migrate continue, however libvirt wait semaphore from qemu send vm pause. follow stack: qemu: Thread 6 (Thread 0x7f50445f3700 (LWP 18120)): #0

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

2017-07-27 Thread Yuchen
Bug Description 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/system