From: Sheng Yang <sheng.yang@intel.com>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org, "Weidong\"" <weidong.han@intel.com>,
"Allen M\"" <allen.m.kay@intel.com>
Subject: [PATCH 0/4] Enable MSI support for KVM VT-d
Date: Fri, 26 Sep 2008 13:17:31 +0800 [thread overview]
Message-ID: <1222406255-27727-1-git-send-email-sheng.yang@intel.com> (raw)
In-Reply-To: <>
Hi, Avi
This patchset enable MSI support for KVM VT-d.
And here are only kernel space ones. The third patch would go to also goto x86
upstream.
The userspace code would looks like this:
assigned_irq_data.guest_msi_addr = *(uint32_t *)(d->msi_cap + 4);
assigned_irq_data.guest_msi_data = *(uint16_t *)(d->msi_cap + 8);
assigned_irq_data.flags |= KVM_DEV_IRQ_ASSIGN_ENABLE_MSI;
r = kvm_assign_irq(kvm_context, &assigned_irq_data);
I've test the patchset with some userspace hack, it works well.
Thanks!
--
regards
Yang, Sheng
next reply other threads:[~2008-09-26 5:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-26 5:17 Sheng Yang [this message]
2008-10-19 13:16 ` [PATCH 0/4] Enable MSI support for KVM VT-d Avi Kivity
2008-10-20 4:09 ` Zhang, Xiantao
2008-10-20 5:39 ` Yang, Sheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1222406255-27727-1-git-send-email-sheng.yang@intel.com \
--to=sheng.yang@intel.com \
--cc=allen.m.kay@intel.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=weidong.han@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox