From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: x86: Extend KVM_SET_VCPU_EVENTS with selective updates Date: Sun, 06 Dec 2009 19:05:22 +0200 Message-ID: <4B1BE452.6090107@redhat.com> References: <4B1BE216.2090407@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm , Gleb Natapov To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:34459 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933916AbZLFRFR (ORCPT ); Sun, 6 Dec 2009 12:05:17 -0500 In-Reply-To: <4B1BE216.2090407@web.de> Sender: kvm-owner@vger.kernel.org List-ID: On 12/06/2009 06:55 PM, Jan Kiszka wrote: > User space may not want to overwrite asynchronously changing VCPU event > states on write-back. So allow to skip nmi.pending and sipi_vector by > setting corresponding bits in the flags field of kvm_vcpu_events. > I think a positive flag (do update nmi and sipi_vector) will cause less confusion, no? If we do that, we'll need to set them on KVM_GET_VCPU_EVENTS. -- error compiling committee.c: too many arguments to function