All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Davis <scott.davis@starlab.io>
To: Julien Grall <julien@xen.org>, Jason Andryuk <jandryuk@gmail.com>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: Ian Jackson <iwj@xenproject.org>, Wei Liu <wl@xen.org>,
	George Dunlap <george.dunlap@citrix.com>,
	Nick Rosbrook <rosbrookn@ainfosec.com>,
	Anthony PERARD <anthony.perard@citrix.com>,
	Juergen Gross <jgross@suse.com>
Subject: Re: [PATCH] tools/xl: Add stubdomain_cmdline option to xl.cfg
Date: Wed, 21 Jul 2021 22:30:24 +0000	[thread overview]
Message-ID: <DF05B6D6-A0B1-4951-9F3B-2B647B1E41BF@starlab.io> (raw)
In-Reply-To: <c8a1120b-0a4e-60ef-66c0-5c33ab988a54@xen.org>

Thanks for the feedback, all.

On 7/21/21, 4:21 AM, Julien Grall wrote:
> May I ask why embedding the command line in the kernel would not be a
> solution? Do you expect it to change from stubdom to stubdom?

Of course. For Crucible, we're using a common kernel and initramfs for 
stubdomains and driver domains. The command line lets us tell each domain 
type how to configure itself on boot via the tool stack.

> Please add a LIBXL_HAVE_... in include/libxl.h. This is used by external
> toolstack (e.g. libvirt) to know whether a given version of libxl
> provide the field.

Ack. It appears there was not an entry added there for the other 
Linux-based "stubdomain_*" fields when they were inserted last year, so I 
will add a single entry in v2 to cover those three (memkb, kernel, and 
ramdisk) plus cmdline, unless there is an objection.

On 7/21/21, 8:42 AM, Jason Andryuk wrote:
> I think this option actually sets the string, so you want "Set
> B<STRING> as the device-model stubdomain kernel command line." or
> something equivalent?

Ack. As you later noted, I copied the "Append" wording from the cmdline 
option on the assumption that xl was leaving room for itself to add other 
items to the command line in the future. Will use "Set" in v2 for clarity, 
though.

Good day,

-Scott Davis 


  parent reply	other threads:[~2021-07-21 22:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-20 17:56 [PATCH] tools/xl: Add stubdomain_cmdline option to xl.cfg Scott Davis
2021-07-21  8:21 ` Julien Grall
2021-07-21  9:00   ` Juergen Gross
2021-07-21  9:06   ` Andrew Cooper
2021-07-21  9:11     ` Julien Grall
2021-07-21  9:57       ` Ian Jackson
2021-07-21 22:30   ` Scott Davis [this message]
2021-07-21 12:42 ` Jason Andryuk
2021-07-21 12:50   ` Ian Jackson
2021-07-21 13:26     ` Jason Andryuk
2021-07-21 14:03       ` Ian Jackson

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=DF05B6D6-A0B1-4951-9F3B-2B647B1E41BF@starlab.io \
    --to=scott.davis@starlab.io \
    --cc=anthony.perard@citrix.com \
    --cc=george.dunlap@citrix.com \
    --cc=iwj@xenproject.org \
    --cc=jandryuk@gmail.com \
    --cc=jgross@suse.com \
    --cc=julien@xen.org \
    --cc=rosbrookn@ainfosec.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.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.