All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: George Dunlap <George.Dunlap@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	cyliu@suse.com
Subject: Re: [PATCH 0 of 2] pci passthrough: support "managed" pci device in xend for libvirt usage
Date: Fri, 18 Jan 2013 10:48:16 -0500	[thread overview]
Message-ID: <20130118154816.GH9973@phenom.dumpdata.com> (raw)
In-Reply-To: <CAFLBxZZ-aUxyuK69dLxJF7LUZDwiLM=ZSyw8rNzCbsKrHaQa+w@mail.gmail.com>

On Thu, Jan 17, 2013 at 06:00:56PM +0000, George Dunlap wrote:
> On Thu, Jan 17, 2013 at 5:29 AM, <cyliu@suse.com> wrote:
> 
> > One of our customers requests parallel pci passthrough functionality
> > between xen
> > (xend and libxl) and kvm, including support managed host pci devices. A
> > "managed" pci device will be made assignable before vm start  and reattach
> > to
> > its original dirver after vm shut off.
> >
> > Currently, libvirt supports "managed=yes/no" options in pci device
> > definition.
> > Qemu driver already supports managed pci devices, libxl driver will add
> > that
> > support in libvirt source code. For xend driver, since it's stateful,
> > libvirt
> > can't do much things because libvirt doesn't store much informtion and most
> > work is done by calling xend directly. Even "managed" option won't be
> > stored if
> > xend doesn't support it. For that reason, this patch series tries to add
> > code in
> > xend toolstack to support managed pci devices first, then libvirt can call
> > xend
> > operations directly to support "managed" host pci devices.
> >
> > Syntax for managed pci device could be:
> > pci=['0000:00:1a.0,managed=1']
> >
> > Please share your comments. Thanks!
> >
> 
> The first question (before I look at the code closely) is whether we want
> to accept new features into xend.  It's not being actively maintained, and
> we would like to get rid of it at some point.
> 
> Given that you seem primarily to be using libvirt, after the 4.3 release,
> will there be a strong reason to use xend, instead of just using libxl?
> 
> Note I'm not rejecting it outright; I just think a case needs to be made.

I am actually in favour of adding things in both. There are multiple distros
that are still using Xen 4.1 and some of them have a long life-cycle. Adding in
features that are also reflected in 'xl' looks to be the doing the right
thing for the customers and with the future in mind.

> :-)
> 
>  -George

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  parent reply	other threads:[~2013-01-18 15:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-17  5:29 [PATCH 0 of 2] pci passthrough: support "managed" pci device in xend for libvirt usage cyliu
2013-01-17  5:29 ` [PATCH 1 of 2] pci passtrough: add xm pci-assignable-add/remove commands cyliu
2013-01-17  5:29 ` [PATCH 2 of 2] pci passthrough: handle managed pci devices cyliu
2013-01-17 18:00 ` [PATCH 0 of 2] pci passthrough: support "managed" pci device in xend for libvirt usage George Dunlap
2013-01-17 19:12   ` Jim Fehlig
2013-01-18 13:39     ` George Dunlap
2013-01-21  4:50       ` Jim Fehlig
2013-01-21 11:40         ` George Dunlap
2013-01-18 15:48   ` Konrad Rzeszutek Wilk [this message]
2013-01-18 16:16     ` Ian Campbell

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=20130118154816.GH9973@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=cyliu@suse.com \
    --cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.