From: Muli Ben-Yehuda <muli@il.ibm.com>
To: Avi Kivity <avi@redhat.com>
Cc: Eran Borovik <BOROVE@il.ibm.com>,
kvm@vger.kernel.org, Ben-Ami Yassour <BENAMI@il.ibm.com>,
Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [RFC] KVM: Balloon support for device assignment
Date: Wed, 17 Feb 2010 19:52:37 +0200 [thread overview]
Message-ID: <20100217175237.GI11999@il.ibm.com> (raw)
In-Reply-To: <4B7BC47D.4030808@redhat.com>
On Wed, Feb 17, 2010 at 12:27:09PM +0200, Avi Kivity wrote:
> On 02/17/2010 11:43 AM, borove@il.ibm.com wrote:
> >From: Eran Borovik<borove@il.ibm.com>
> >
> >This patch adds modifications to allow correct
> >balloon operation when a virtual guest uses a direct assigned device.
> >The modifications include a new interface between qemu and kvm to allow
> >mapping and unmapping the pages from the IOMMU as well as pinning and unpinning as needed.
>
> The plan for iommu support is to push it into uio. Instead of kvm
> managing the iommu directly, I'd like qemu to open a uio device and
> set up an iommu mapping there, which will just happen to match the
> kvm memory slots. Similarly, interrupts will be forwarded using
> irqfds. This will allow using the iommu without kvm, and reduce the
> amount of special purpose kvm code.
>
> These patches make the transition more difficult which worries me.
That's a fair point, but they also address a real short-coming of the
current device assignment code, which pins all of the guest's memory
unconditionally. Unless the uio effort is in progress and expected to
complete shortly, I would think the benefit of these simple patches
trumps the cost.
Cheers,
Muli
next prev parent reply other threads:[~2010-02-17 17:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-17 9:43 [RFC] Balloon support for device assignment borove
2010-02-17 9:43 ` [RFC] KVM: " borove
2010-02-17 9:43 ` [RFC] QEMU: " borove
2010-02-17 10:28 ` Avi Kivity
2010-02-17 10:27 ` [RFC] KVM: " Avi Kivity
2010-02-17 17:52 ` Muli Ben-Yehuda [this message]
2010-02-21 8:53 ` Avi Kivity
[not found] ` <20100221131732.GC7677@il.ibm.com>
2010-02-21 13:25 ` Avi Kivity
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=20100217175237.GI11999@il.ibm.com \
--to=muli@il.ibm.com \
--cc=BENAMI@il.ibm.com \
--cc=BOROVE@il.ibm.com \
--cc=avi@redhat.com \
--cc=kraxel@redhat.com \
--cc=kvm@vger.kernel.org \
/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