Re: [v4 01/16] KVM: Extend struct pi_desc for VT-d Posted-Interrupts

2015-06-24 Thread Paolo Bonzini
On 24/06/2015 07:42, Wu, Feng wrote: Do you mean we don't use bitfields at all, or the following format is acceptable, in which, we use bitfileds as less as possible? union { struct { u16 on : 1, /* bit 256 - Outstanding Notification */ sn

Re: [v4 01/16] KVM: Extend struct pi_desc for VT-d Posted-Interrupts

2015-06-23 Thread Paolo Bonzini
On 11/06/2015 12:51, Feng Wu wrote: + union { + struct { + /* bit 256 - Outstanding Notification */ + u64 on : 1, + /* bit 257 - Suppress Notification */ + sn

RE: [v4 01/16] KVM: Extend struct pi_desc for VT-d Posted-Interrupts

2015-06-23 Thread Wu, Feng
-Original Message- From: Paolo Bonzini [mailto:pbonz...@redhat.com] Sent: Tuesday, June 23, 2015 11:50 PM To: Wu, Feng; kvm@vger.kernel.org; linux-ker...@vger.kernel.org Cc: mtosa...@redhat.com; alex.william...@redhat.com; eric.au...@linaro.org Subject: Re: [v4 01/16] KVM: Extend