summaryrefslogtreecommitdiffstats
path: root/kernel/rcuclassic.c
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2008-11-24 14:32:56 +0800
committerAvi Kivity <avi@redhat.com>2008-12-31 16:55:02 +0200
commit6b9cc7fd469869bed38831c5adac3f59dc25eaf5 (patch)
tree63d526ff94b891116c37bf9705e42a45479271f0 /kernel/rcuclassic.c
parentf64769eb05565c74d7fce6fa75d65924f9cdaf79 (diff)
KVM: Enable MSI for device assignment
We enable guest MSI and host MSI support in this patch. The userspace want to enable MSI should set KVM_DEV_IRQ_ASSIGN_ENABLE_MSI in the assigned_irq's flag. Function would return -ENOTTY if can't enable MSI, userspace shouldn't set MSI Enable bit when KVM_ASSIGN_IRQ return -ENOTTY with KVM_DEV_IRQ_ASSIGN_ENABLE_MSI. Userspace can tell the support of MSI device from #ifdef KVM_CAP_DEVICE_MSI. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kernel/rcuclassic.c')
0 files changed, 0 insertions, 0 deletions