[Qemu-devel] [PATCH for-2.9 v2] fix :cirrus_vga fix OOB read case qemu Segmentation fault

2017-03-13 Thread hangaohuai
off-by: hangaohuai --- Changes from v1: - Add bltheight check. [Gerd Hoffmann] hw/display/cirrus_vga_rop.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/hw/display/cirrus_vga_rop.h b/hw/display/cirrus_vga_rop.h index 0925a00..b7447f8 100644 --- a/hw/display/cirrus_vga_rop.h ++

[Qemu-devel] [PATCH] fix :cirrus_vga fix OOB read case qemu Segmentation fault

2017-03-13 Thread hangaohuai
off-by: hangaohuai --- hw/display/cirrus_vga_rop.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/hw/display/cirrus_vga_rop.h b/hw/display/cirrus_vga_rop.h index 0925a00..12a15e0 100644 --- a/hw/display/cirrus_vga_rop.h +++ b/hw/display/cirrus_vga_rop.h @@ -97,6 +97,11 @@ glue(g

Re: [Qemu-devel] [PATCH] Fix the vm state after vm migration when vm panic

2017-03-06 Thread hangaohuai
HOSTB virsh list vm crashed ->virsh list vm running I will check the new libvirt about handling the state. Thanks On 2017/3/7 2:11, Paolo Bonzini wrote: > > On 06/03/2017 15:05, hangaohuai wrote: >> Bug steps: >> 1. windows VM with pvpanic device:in xml >>

[Qemu-devel] [PATCH] Fix the vm state after vm migration when vm panic

2017-03-06 Thread hangaohuai
Bug steps: 1. windows VM with pvpanic device:in xml 2. inject the panic in windows, the vm state is paused (guest-panicked) 3. migrate the vm to other host, vm state is running Check the vmstate before runstate_set(RUN_STATE_RUNNING) Signed-off-by: hangaohuai --- cpus.c | 3

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-19 Thread hangaohuai
Hi, Kai Huang and Xiao Guangrong. For the problem mentioned above, there may be a bug related to PML and probably on Broadwell CPUs. I've been reading the code for PML for days, but I haven't found any clews. Do you have any idea about this BUG ? Hope you can help! On 2017/2/10 23:28, Chris F

Re: [Qemu-devel] kvm bug in __rmap_clear_dirty during live migration

2017-02-13 Thread hangaohuai
Hi, Chris Friesen. We notice that you can reliably trigger the BUG during the live-migration stress test, however we can't. Could you descripe your test steps so that we can re-trigger the BUG and get more information about it ? On 2017/2/10 23:28, Chris Friesen wrote: > > Well, not so much sol

[Qemu-devel] [Help] Windows2012 as Guest 64+cores on KVM Halts

2017-02-08 Thread hangaohuai
Dear all: I try to boot windows2012R2 (more than 64 cores)on kvm platform with hyper-v on**. the guest halts on the starting time. Also tested in these cases: - boot sucess - boot sucess - boot sucess - boot failed - boot sucess(in Guest we can found 64) - boot failed Environment: GU

[Qemu-devel] [PATCH v4] bugfix: vm halt when in reset looping

2016-12-18 Thread hangaohuai
via 40h:0067h; 4. Guest halt; Signed-off-by: hangaohuai --- hw/timer/mc146818rtc.c | 12 1 file changed, 12 insertions(+) diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c index da209d0..637f872 100644 --- a/hw/timer/mc146818rtc.c +++ b/hw/timer/mc146818rtc.c @@ -946,11

[Qemu-devel] [PATCH v3] bugfix: vm halt when in reset looping

2016-12-16 Thread hangaohuai
via 40h:0067h; 4. Guest halt; Signed-off-by: hangaohuai --- hw/timer/mc146818rtc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c index da209d0..341b233 100644 --- a/hw/timer/mc146818rtc.c +++ b/hw/timer/mc146818rtc.c @@ -946,11

[Qemu-devel] [PATCH v2] bugfix: vm halt when in reset looping

2016-12-15 Thread hangaohuai
via 40h:0067h; 4. Guest halt; Signed-off-by: hangaohuai --- hw/timer/mc146818rtc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c index da209d0..302905c 100644 --- a/hw/timer/mc146818rtc.c +++ b/hw/timer/mc146818rtc.c @@ -946,11

Re: [Qemu-devel] [PATCH] bugfix: vm halt when in reset looping

2016-12-14 Thread Hangaohuai
Thanks for the review and proposals . I will think over the suspend and resume of VM. On 14/12/2016 07:48, hangaohuai wrote: > reset mc146818rtc device when RESET event happens. > > Fix the problem: > 1. Guest boot the second cpu, set CMOS_RESET_CODE 0x0a to protect selfboo

[Qemu-devel] [PATCH] bugfix: vm halt when in reset looping

2016-12-13 Thread hangaohuai
via 40h:0067h; 4. Guest halt; Signed-off-by: hangaohuai --- hw/timer/mc146818rtc.c | 8 1 file changed, 8 insertions(+) diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c index da209d0..67d707d 100644 --- a/hw/timer/mc146818rtc.c +++ b/hw/timer/mc146818rtc.c @@ -946,11