Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-09-23 Thread Lan Tianyu
On 2016年09月23日 13:26, Peter Xu wrote: > On Thu, Sep 22, 2016 at 12:34:36PM +0800, Chao Gao wrote: >> Hi, we had 3 problems left here. >> 1. IRQremapping can't work with x2apic_cluster mode. >> 2. apic_id > 255 can't receive devices interrupts. >> 3. windows crash when present IRQremapping

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-09-22 Thread Peter Xu
On Thu, Sep 22, 2016 at 12:34:36PM +0800, Chao Gao wrote: > Hi, we had 3 problems left here. > 1. IRQremapping can't work with x2apic_cluster mode. > 2. apic_id > 255 can't receive devices interrupts. > 3. windows crash when present IRQremapping capability to it. For (3), I don't know whether

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-09-21 Thread Chao Gao
Hi, we had 3 problems left here. 1. IRQremapping can't work with x2apic_cluster mode. 2. apic_id > 255 can't receive devices interrupts. 3. windows crash when present IRQremapping capability to it. I test with latest kernel v4.8-rc7 and find all of them are unsolved. Also in the qemu and kernel

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-11 Thread Igor Mammedov
On Thu, 11 Aug 2016 13:10:57 +0800 Peter Xu wrote: > On Wed, Aug 10, 2016 at 10:51:51AM +0200, Igor Mammedov wrote: > > [...] > > > > > Upstream guest kernel 4.7.0+ (d52bd54db) crashes when booting with irq > > > > remapping on: > > > > > > > > ./qemu-system-x86_64

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-10 Thread Peter Xu
On Wed, Aug 10, 2016 at 10:51:51AM +0200, Igor Mammedov wrote: [...] > > > Upstream guest kernel 4.7.0+ (d52bd54db) crashes when booting with irq > > > remapping on: > > > > > > ./qemu-system-x86_64 -enable-kvm -smp > > > 1,sockets=9,cores=32,threads=1,maxcpus=288 -device > > >

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-10 Thread Igor Mammedov
On Tue, 9 Aug 2016 21:35:04 +0800 Peter Xu wrote: > On Tue, Aug 09, 2016 at 10:28:41AM +0200, Igor Mammedov wrote: > > On Mon, 8 Aug 2016 16:57:14 +0800 > > Peter Xu wrote: > > > > > On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: > > > > HI,

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Luiz Capitulino
On Tue, 9 Aug 2016 21:35:04 +0800 Peter Xu wrote: > On Tue, Aug 09, 2016 at 10:28:41AM +0200, Igor Mammedov wrote: > > On Mon, 8 Aug 2016 16:57:14 +0800 > > Peter Xu wrote: > > > > > On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: > > > > HI,

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Peter Xu
On Tue, Aug 09, 2016 at 10:28:41AM +0200, Igor Mammedov wrote: > On Mon, 8 Aug 2016 16:57:14 +0800 > Peter Xu wrote: > > > On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: > > > HI, everyone. > > > > > > We have done some tests after merging this patch set into the

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Radim Krčmář
2016-08-09 16:19+0800, Chao Gao: > On Tue, Aug 09, 2016 at 02:18:15PM +0800, Peter Xu wrote: >>On Tue, Aug 09, 2016 at 12:33:17PM +0800, Chao Gao wrote: >>> On Mon, Aug 08, 2016 at 04:57:14PM +0800, Peter Xu wrote: >>> >On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: >>> >> HI, everyone.

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Radim Krčmář
2016-08-09 15:09+0800, Peter Xu: > On Tue, Aug 09, 2016 at 08:33:13AM +0200, Jan Kiszka wrote: >> On 2016-08-09 08:24, Peter Xu wrote: >> > On Tue, Aug 09, 2016 at 02:18:15PM +0800, Peter Xu wrote: >> >> On Tue, Aug 09, 2016 at 12:33:17PM +0800, Chao Gao wrote: >> >>> On Mon, Aug 08, 2016 at

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Igor Mammedov
On Mon, 8 Aug 2016 16:57:14 +0800 Peter Xu wrote: > On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: > > HI, everyone. > > > > We have done some tests after merging this patch set into the lastest qemu > > master. In kvm aspect, we use the lastest kvm linux-next

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Igor Mammedov
On Tue, 9 Aug 2016 11:23:58 +0800 Chao Gao wrote: > On Mon, Aug 08, 2016 at 11:18:20AM +0200, Igor Mammedov wrote: > >On Mon, 8 Aug 2016 15:41:23 +0800 > >Chao Gao wrote: > > > >> HI, everyone. > >> > >> We have done some tests after merging this patch

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Chao Gao
On Tue, Aug 09, 2016 at 02:18:15PM +0800, Peter Xu wrote: >On Tue, Aug 09, 2016 at 12:33:17PM +0800, Chao Gao wrote: >> On Mon, Aug 08, 2016 at 04:57:14PM +0800, Peter Xu wrote: >> >On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: >> >> HI, everyone. >> >> >> >> We have done some tests

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Peter Xu
On Tue, Aug 09, 2016 at 08:33:13AM +0200, Jan Kiszka wrote: > On 2016-08-09 08:24, Peter Xu wrote: > > On Tue, Aug 09, 2016 at 02:18:15PM +0800, Peter Xu wrote: > >> On Tue, Aug 09, 2016 at 12:33:17PM +0800, Chao Gao wrote: > >>> On Mon, Aug 08, 2016 at 04:57:14PM +0800, Peter Xu wrote: > On

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Jan Kiszka
On 2016-08-09 08:24, Peter Xu wrote: > On Tue, Aug 09, 2016 at 02:18:15PM +0800, Peter Xu wrote: >> On Tue, Aug 09, 2016 at 12:33:17PM +0800, Chao Gao wrote: >>> On Mon, Aug 08, 2016 at 04:57:14PM +0800, Peter Xu wrote: On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: > HI,

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Peter Xu
On Tue, Aug 09, 2016 at 02:18:15PM +0800, Peter Xu wrote: > On Tue, Aug 09, 2016 at 12:33:17PM +0800, Chao Gao wrote: > > On Mon, Aug 08, 2016 at 04:57:14PM +0800, Peter Xu wrote: > > >On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: > > >> HI, everyone. > > >> > > >> We have done some

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-09 Thread Peter Xu
On Tue, Aug 09, 2016 at 12:33:17PM +0800, Chao Gao wrote: > On Mon, Aug 08, 2016 at 04:57:14PM +0800, Peter Xu wrote: > >On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: > >> HI, everyone. > >> > >> We have done some tests after merging this patch set into the lastest qemu > >> master.

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-08 Thread Chao Gao
On Mon, Aug 08, 2016 at 04:57:14PM +0800, Peter Xu wrote: >On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: >> HI, everyone. >> >> We have done some tests after merging this patch set into the lastest qemu >> master. In kvm aspect, we use the lastest kvm linux-next branch. Here are >>

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-08 Thread Chao Gao
On Mon, Aug 08, 2016 at 11:18:20AM +0200, Igor Mammedov wrote: >On Mon, 8 Aug 2016 15:41:23 +0800 >Chao Gao wrote: > >> HI, everyone. >> >> We have done some tests after merging this patch set into the lastest qemu >> master. In kvm aspect, we use the lastest kvm linux-next

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-08 Thread Igor Mammedov
On Mon, 8 Aug 2016 15:41:23 +0800 Chao Gao wrote: > HI, everyone. > > We have done some tests after merging this patch set into the lastest qemu > master. In kvm aspect, we use the lastest kvm linux-next branch. Here are > some problems we have met. > > 1. We can't boot up

Re: [Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-08 Thread Peter Xu
On Mon, Aug 08, 2016 at 03:41:23PM +0800, Chao Gao wrote: > HI, everyone. > > We have done some tests after merging this patch set into the lastest qemu > master. In kvm aspect, we use the lastest kvm linux-next branch. Here are > some problems we have met. > > 1. We can't boot up a 288 vcpus

[Qemu-devel] [PATCH for-2.8 00/18] pc: q35: x2APIC support in kvm_apic mode

2016-08-05 Thread Igor Mammedov
Changes since RFC: - use new KVM_CAP_X2APIC_API to detect x2APIC IDs support - rebase on top of 2.7-rc1, since many deps were merged - fix etc/boot-cpus to account for -device provided cpus - include not yet merged _PXM fix as prereq - add 2.8 machine type and bump up maxcpus count