xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Anthony PERARD <anthony.perard@citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Xen Devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH 0/2] Handle xen_platform_pci=0 case
Date: Fri, 22 Nov 2013 17:24:54 +0000	[thread overview]
Message-ID: <528F9366.1050601@eu.citrix.com> (raw)
In-Reply-To: <20131122171834.GC10855@perard.uk.xensource.com>

On 22/11/13 17:18, Anthony PERARD wrote:
> On Fri, Nov 22, 2013 at 03:56:13PM +0000, Ian Campbell wrote:
>> On Fri, 2013-11-22 at 15:13 +0000, Anthony PERARD wrote:
>>> There are two patches, the first one adds an option to specifies the QEMU
>>> machine that a user wants and we handle the xen_platform_pci=0 case using the
>>> new option.
>> I'm thinking we should make this new option an enum of actually
>> supported machine types, rather than just a free reign. Makes more sense
>> from a "what do we support" PoV.
> And start with the following list ?
> pc
> pc-i440fx-1.7
> pc-i440fx-1.6
> pc-i440fx-1.5
> pc-i440fx-1.4
> pc-1.3
> pc-1.2
> pc-1.1
> pc-1.0
> pc-0.15
> pc-0.14
> pc-0.13
> pc-0.12
> pc-0.11
> pc-0.10
> xenfv
>
> I wonder how many of this will work. I suspect most of them. The only
> down side is that it will be necessary to patch libxl if one want to
> try, let say q35.

In a way I think that's the point -- by allowing the user to specify an 
arbitrary sting, we are implicitly supporting a gigantic range of things 
which may work in one release or in one particular configuration and 
then break in a different one.  By making an enum, we bake in the exact 
ones which we consider to be valid.

Also, we've been trying to get away from exposing a bunch of qemu-isms 
to the user via libxl and the xl config file.  What might the *user* be 
trying to do in specifying this option?  We should make sure the 
interface specifies things the user actually wants, and then use qemu's 
options to implement that, rather than asking the user to specify qemu 
stuff directly.

  -George

  parent reply	other threads:[~2013-11-22 17:24 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-22 15:13 [PATCH 0/2] Handle xen_platform_pci=0 case Anthony PERARD
2013-11-22 15:13 ` [PATCH 1/2] libxl: adding support to use -machine option of QEMU Anthony PERARD
2013-11-29 12:29   ` Stefano Stabellini
2013-11-22 15:13 ` [PATCH 2/2] libxl: Handle xen_platform_pci=0 case with qemu-xen Anthony PERARD
2013-11-29 12:31   ` Stefano Stabellini
2013-11-29 12:49     ` Fabio Fantoni
     [not found] ` <20131122151838.GA10855@perard.uk.xensource.com>
2013-11-22 15:30   ` Processed: Re: [PATCH 0/2] Handle xen_platform_pci=0 case xen
2013-11-22 15:49 ` Fabio Fantoni
2013-11-22 16:54   ` Anthony PERARD
2013-11-25  9:04     ` Fabio Fantoni
2013-11-25 11:11       ` Anthony PERARD
2013-11-29 16:06         ` Fabio Fantoni
2013-11-29 16:20           ` Sander Eikelenboom
2013-11-26 19:08     ` Konrad Rzeszutek Wilk
2013-11-26 20:09       ` Konrad Rzeszutek Wilk
2013-11-28 16:14         ` Anthony PERARD
2013-11-22 15:56 ` Ian Campbell
2013-11-22 17:18   ` Anthony PERARD
2013-11-22 17:23     ` Ian Campbell
2013-11-22 17:31       ` Ian Campbell
2013-11-22 17:40         ` Anthony PERARD
2013-11-22 17:24     ` George Dunlap [this message]
2013-11-22 17:06 ` George Dunlap

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=528F9366.1050601@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=anthony.perard@citrix.com \
    --cc=stefano.stabellini@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).