Re: [PATCH 3/8] spapr/xive: Query the characteristics of a source in KVM

2020-08-20 Thread Cédric Le Goater
On 8/20/20 3:33 AM, David Gibson wrote: > On Wed, Aug 19, 2020 at 03:08:38PM +0200, Cédric Le Goater wrote: >> When running a guest with a kernel IRQ chip enabled, the XIVE >> characteristics of the interrupts are advertised to the guest in the >> H_INT_GET_SOURCE_INFO hcall. These characteristics

Re: [PATCH 3/8] spapr/xive: Query the characteristics of a source in KVM

2020-08-19 Thread David Gibson
On Wed, Aug 19, 2020 at 03:08:38PM +0200, Cédric Le Goater wrote: > When running a guest with a kernel IRQ chip enabled, the XIVE > characteristics of the interrupts are advertised to the guest in the > H_INT_GET_SOURCE_INFO hcall. These characteristics depend on the > underlying HW interrupts but

[PATCH 3/8] spapr/xive: Query the characteristics of a source in KVM

2020-08-19 Thread Cédric Le Goater
When running a guest with a kernel IRQ chip enabled, the XIVE characteristics of the interrupts are advertised to the guest in the H_INT_GET_SOURCE_INFO hcall. These characteristics depend on the underlying HW interrupts but today, QEMU simply advertises its own without checking what the host suppo