Re: [PATCH v1 10/11] KVM: x86: add KVM_CAP_X2APIC_API

2016-07-01 Thread Radim Krčmář
2016-07-01 11:09-0700, David Matlack: > On Thu, Jun 30, 2016 at 1:54 PM, Radim Krčmář wrote: >> KVM_CAP_X2APIC_API can be enabled to extend APIC ID in get/set ioctl and MSI >> addresses to 32 bits. Both are needed to support x2APIC. >> >> The capability has to be toggleable and disabled by defaul

Re: [PATCH v1 10/11] KVM: x86: add KVM_CAP_X2APIC_API

2016-07-01 Thread David Matlack
On Thu, Jun 30, 2016 at 1:54 PM, Radim Krčmář wrote: > KVM_CAP_X2APIC_API can be enabled to extend APIC ID in get/set ioctl and MSI > addresses to 32 bits. Both are needed to support x2APIC. > > The capability has to be toggleable and disabled by default, because get/set > ioctl shifted and trunc

Re: [PATCH v1 10/11] KVM: x86: add KVM_CAP_X2APIC_API

2016-07-01 Thread Radim Krčmář
2016-07-01 10:24+0200, Paolo Bonzini: > On 30/06/2016 22:54, Radim Krčmář wrote: >> KVM_CAP_X2APIC_API can be enabled to extend APIC ID in get/set ioctl and MSI >> addresses to 32 bits. Both are needed to support x2APIC. >> >> The capability has to be toggleable and disabled by default, because g

Re: [PATCH v1 10/11] KVM: x86: add KVM_CAP_X2APIC_API

2016-07-01 Thread Paolo Bonzini
On 30/06/2016 22:54, Radim Krčmář wrote: > KVM_CAP_X2APIC_API can be enabled to extend APIC ID in get/set ioctl and MSI > addresses to 32 bits. Both are needed to support x2APIC. > > The capability has to be toggleable and disabled by default, because get/set > ioctl shifted and truncated APIC

[PATCH v1 10/11] KVM: x86: add KVM_CAP_X2APIC_API

2016-06-30 Thread Radim Krčmář
KVM_CAP_X2APIC_API can be enabled to extend APIC ID in get/set ioctl and MSI addresses to 32 bits. Both are needed to support x2APIC. The capability has to be toggleable and disabled by default, because get/set ioctl shifted and truncated APIC ID to 8 bits by using a non-standard protocol inspire