[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <569E3D47.2020702@redhat.com>
Date: Tue, 19 Jan 2016 14:42:31 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: "Wu, Feng" <feng.wu@...el.com>,
Radim Krcmár <rkrcmar@...hat.com>
Cc: "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 1/2] KVM: x86: Use vector-hashing to deliver
lowest-priority interrupts
On 19/01/2016 05:44, Wu, Feng wrote:
> > I think Radim's suggestion is fine. You can print an error (just once
> > per guest) to dmesg if the result of the hashing computation corresponds
> > to a disabled APIC.
>
> Good idea, is there already a convenient way to do this in KVM?
No, you can just use something like the definition of printk_once (in
include/linux/printk.h), but with a flag in struct kvm_arch.
Paolo
Powered by blists - more mailing lists