From: Sheng Yang Date: Tue, 6 Jan 2009 08:25:11 +0000 (+0800) Subject: KVM: Add support to disable MSI for assigned device X-Git-Tag: v2.6.30-rc1~664^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17071fe74fe0fbfdb03cd9b82f2490447cf1f986;p=pandora-kernel.git KVM: Add support to disable MSI for assigned device MSI is always enabled by default for msi2intx=1. But if msi2intx=0, we have to disable MSI if guest require to do so. The patch also discard unnecessary msi2intx judgment if guest want to update MSI state. Notice KVM_DEV_IRQ_ASSIGN_MSI_ACTION is a mask which should cover all MSI related operations, though we only got one for now. Signed-off-by: Sheng Yang Signed-off-by: Avi Kivity --- Reading git-diff-tree failed