All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: George Dunlap <George.Dunlap@eu.citrix.com>
Cc: Sander Eikelenboom <linux@eikelenboom.it>,
	xen-devel <xen-devel@lists.xen.org>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: Processed: Re: [HVM} xen_platform_pci=0 doesn't prevent platform device creation and disk and nic take over by PV drivers.
Date: Fri, 11 Oct 2013 18:31:36 +0100	[thread overview]
Message-ID: <20131011173136.GC3195@perard.uk.xensource.com> (raw)
In-Reply-To: <CAFLBxZbhrc67UaTqdPANY0qgAPmp3PDu0qaROjz2GUt-tX_vog@mail.gmail.com>

On Fri, Oct 11, 2013 at 06:10:32PM +0100, George Dunlap wrote:
> On Fri, Oct 11, 2013 at 5:53 PM, Anthony PERARD
> <anthony.perard@citrix.com> wrote:
> > On Fri, Oct 11, 2013 at 05:22:47PM +0200, Sander Eikelenboom wrote:
> >> > The original message was simply:
> >> >> While trying to get to the bottom of my passthrough problem with the rom bar,
> >> >> i noticed that specifiying "xen_platform_pci=0" in the config file does not prevent
> >> >> the platform device to appear in my HVM guest and consequently the disk and nic are taken over.
> >> >>
> >> >> Running latest xen-unstable, together with upstream qemu and upstream seabios.
> >
> > I've start looking at this, and the fix would be easy: removing the
> > creation of the xen-platform from QEMU, and let xl ask QEMU to create
> > it.
> >
> > But if one uses an older version of one project (qemu/xl) and a newer
> > version of the other, then we can end-up with no xen-platform or two
> > xen-platform ...
> 
> So what's the plan for compatibility here -- full forward and backward
> compatibily on both sides?  (i.e., newer qemu works with older Xen,
> newer Xen works with older qemu)?
> 
> > So should we try to be clever about this, or just backport patchs for
> > both qemu and xl?
> >
> > "Clever" option: There is a recent patch for xl that make use of
> > the -nodefault QEMU's command line option. So if it's present, we could
> > ask QEMU to not add xen-platform, and xl can decide.
> 
> I wouldn't mind doing something like this; but would it make more
> sense to have some kind of a "capability" or "version" interface, like
> we have between Xen and Linux, rather than relying on other quirks
> like the presence of "-nodefault"?

Well, we can always check if the xen-platform-pci is already there after
having started QEMU (through QMP) and react by adding it, display a
warning or do nothing more, depending the result and the config of the
vm.

-- 
Anthony PERARD

  reply	other threads:[~2013-10-11 17:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1571692646.20131009000945@eikelenboom.it>
     [not found] ` <1381320002.7600.10.camel@kazak.uk.xensource.com>
2013-10-09 12:15   ` Processed: Re: [HVM} xen_platform_pci=0 doesn't prevent platform device creation and disk and nic take over by PV drivers xen
2013-10-11 15:04     ` Ian Campbell
2013-10-11 15:22       ` Sander Eikelenboom
2013-10-11 16:53         ` Anthony PERARD
2013-10-11 17:10           ` George Dunlap
2013-10-11 17:31             ` Anthony PERARD [this message]
     [not found]     ` <1381505587.24708.59.camel@kazak.uk.xensource.com>
2013-10-11 15:45       ` Processed: " xen
2013-10-09 12:49   ` Sander Eikelenboom
2013-10-09 15:03     ` Stefano Stabellini
2013-10-09 16:56       ` Sander Eikelenboom
2013-10-09 15:32     ` George Dunlap
2013-10-09 17:39       ` Sander Eikelenboom
2013-10-10 10:03     ` George Dunlap
     [not found] ` <alpine.DEB.2.02.1310091235150.26077@kaball.uk.xensource.com>
     [not found]   ` <1869834341.20131009135452@eikelenboom.it>
2013-10-09 14:16     ` Sander Eikelenboom

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=20131011173136.GC3195@perard.uk.xensource.com \
    --to=anthony.perard@citrix.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=linux@eikelenboom.it \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.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 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.