On Wed, 13 Aug 2025 16:27:11 +0200
Daniel Kiper wrote:
> On Tue, Aug 12, 2025 at 06:55:15PM -0500, Aaron Rainbolt wrote:
> > On Tue, 12 Aug 2025 19:02:11 +0200 Daniel Kiper
> > wrote:
> > > On Mon, Aug 04, 2025 at 11:50:09PM -0500, Aaron Rainbolt wrote:
> >
On Tue, 12 Aug 2025 19:02:11 +0200
Daniel Kiper wrote:
> On Mon, Aug 04, 2025 at 11:50:09PM -0500, Aaron Rainbolt wrote:
> > Xen traditionally allows customizing guest behavior by passing
> > arguments to the VM kernel via the kernel command line. This is no
> > longer pos
n in the tip of GRUB's
master branch and the version in the tip of Xen's stable-4.20 branch is
provided below. [1]
--
Aaron
> Regards
> Vladimir 'phcoder' Serbinenko
>
> Le mar. 5 août 2025, 07:49, Aaron Rainbolt a
> écrit :
>
> > The xen.h header was
On Mon, 4 Aug 2025 23:50:09 -0500
Aaron Rainbolt wrote:
> Xen traditionally allows customizing guest behavior by passing
> arguments to the VM kernel via the kernel command line. This is no
> longer possible when using GRUB with Xen, as the kernel command line
> is decided
cores are permitted
in variable names, and all variable names must start with the string
"xen_grub_env_". This also allows room for expanding the command line
arguments accepted by GRUB in the future, should other arguments end up
becoming desirable in the future.
Signed-off-by: Aaron Rain
The xen.h header was using an overly generic name to refer to the
maximum length of the command line passed from Xen to a guest. Rename it
to avoid confusion or conflicts in the future.
Signed-off-by: Aaron Rainbolt
---
include/xen/xen.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
to ensure that boot
still worked.
[1] https://github.com/QubesOS/qubes-linux-pvgrub2/pull/16
[2] https://bpa.st/3SBQ
Aaron Rainbolt (2):
include/xen: Rename MAX_GUEST_CMDLINE to GRUB_XEN_MAX_GUEST_CMDLINE
kern/xen: Add Xen command line parsing
docs/grub.texi| 51 +
gr
On Mon, 4 Aug 2025 17:17:43 +0200
Daniel Kiper wrote:
> On Sun, Aug 03, 2025 at 10:57:03AM -0500, Aaron Rainbolt wrote:
> > On Fri, 1 Aug 2025 14:55:36 +0200 Daniel Kiper
> > wrote:
> > > On Fri, Jul 25, 2025 at 03:31:12PM -0500, Aaron Rainbolt wrote:
> >
On Fri, 1 Aug 2025 14:55:36 +0200
Daniel Kiper wrote:
> On Fri, Jul 25, 2025 at 03:31:12PM -0500, Aaron Rainbolt wrote:
> > Xen traditionally allows customizing guest behavior by passing
> > arguments to the VM kernel via the kernel command line. This is no
> > longer pos
ion (one memory leak and a couple of places where an
extra byte was allocated that didn't need to be).
[1] https://github.com/QubesOS/qubes-linux-pvgrub2/pull/16
[2] https://lists.gnu.org/archive/html/grub-devel/2025-06/msg00011.html
Aaron Rainbolt (1):
kern/xen: Add Xen command line
cores are permitted
in variable names, and all variable names must start with the string
"xen_grub_env_". This also allows room for expanding the command line
arguments accepted by GRUB in the future, should other arguments end up
becoming desirable in the future.
Signed-off-by: Aaron Rain
rub-devel ML on it so as to avoid excessive noise).
[1] https://lists.xenproject.org/archives/html/xen-devel/2025-06/msg00298.html
[2] https://lists.xenproject.org/archives/html/xen-devel/2025-06/msg00299.html
--
Aaron
> Daniel
>
> On Mon, Jul 21, 2025 at 06:42:25PM -0500, Aaron Rainbol
cores are permitted
in variable names, and all variable names must start with the string
"xen_grub_env_". This also allows room for expanding the command line
arguments accepted by GRUB in the future, should other arguments end up
becoming desirable in the future.
Signed-off-by: Aaron Rain
ion (one memory leak and a couple of places where an
extra byte was allocated that didn't need to be).
[1] https://github.com/QubesOS/qubes-linux-pvgrub2/pull/16
[2] https://lists.gnu.org/archive/html/grub-devel/2025-06/msg00011.html
Aaron Rainbolt (1):
kern/xen: Add Xen command line
cores are permitted
in variable names, and all variable names must start with the string
"xen_grub_env_". This also allows room for expanding the command line
arguments accepted by GRUB in the future, should other arguments end up
becoming desirable in the future.
Signed-off-by: Aaron Rain
s://bpa.st/5C7A
Aaron Rainbolt (1):
kern/xen: Add Xen command line parsing
docs/grub.texi| 50 +
grub-core/Makefile.core.def | 2 +
grub-core/kern/i386/xen/pvh.c | 14 ++
grub-core/kern/main.c | 12 ++
grub-core/kern/xen/cmdline.c | 343
cores are permitted
in variable names, and all variable names must start with the string
"xen_grub_env_". This also allows room for expanding the command line
arguments accepted by GRUB in the future, in case additional APIs using
the Xen kernel command line need to be introduced.
Signe
6
[2] https://bpa.st/Z45A
Aaron Rainbolt (1):
kern/xen: Add Xen command line parsing
docs/grub.texi| 50 +
grub-core/Makefile.core.def | 2 +
grub-core/kern/i386/xen/pvh.c | 14 ++
grub-core/kern/main.c | 12 ++
grub-core/
h.
> Regards
> Vladimir 'phcoder' Serbinenko
>
> Le jeu. 24 avr. 2025, 05:47, Aaron Rainbolt a
> écrit :
>
> > The purpose of this patch is to allow the Xen hypervisor to pass
> > extra data to GRUB in the form of a kernel command line, allowing
> > t
On Wed, 28 May 2025 17:12:19 +0200
Daniel Kiper wrote:
> First of all, next time please add Xen-devel ML to recipients too...
Apologies, didn't realize that list would be appropriate. I will add
them in the next version of the patch.
> On Wed, Apr 23, 2025 at 09:47:48PM -0500, Aar
Enable GRUB to parse the Xen command line for parameters, and expose
certain of those parameters to the GRUB config file (or rescue shell)
as environment variables.
---
grub-core/Makefile.core.def | 2 +
grub-core/kern/i386/xen/pvh.c | 16 ++
grub-core/kern/main.c | 12 ++
grub-core/
features are added to GRUB that use the Xen-provided kernel command
line.
* Testing has been done as described above.
[1] https://github.com/QubesOS/qubes-linux-pvgrub2/pull/16
[2] https://lists.gnu.org/archive/html/grub-devel/2025-04/msg00050.html
Aaron Rainbolt (1):
Add Xen command line
9000 instead of 0x10: ld.gold bug?
This issue occurs using the BFD and LLD linkers, gold ends up placing the
start address at 0x9072.
Aaron Rainbolt (1):
Add Xen command line parsing
grub-core/Makefile.core.def | 4 +-
grub-core/kern/i386/xen/p
Enable GRUB to parse the Xen command line for parameters, and expose
those parameters to the GRUB config file (or rescue shell) as
environment variables.
---
grub-core/Makefile.core.def | 4 +-
grub-core/kern/i386/xen/pvh.c | 16 +++
grub-core/kern/main.c | 12 ++
grub-core/kern/xen/
I'm currently writing a patch for GRUB intended for the Qubes OS
project (though I may later try to upstream it if it proves to work
well downstream). [1] The patch's goal is to allow Xen hypervisor users
to pass data to GRUB via command line arguments. This data is exposed as
environment variables
Currently GRUB spits out quite a bit of information if a command fails
for whatever reason. This is useful for sure, but in some instances it
can be quite annoying. For instance, Debian's live-build project has
GRUB configuration code in it that basically tries to load a font
blindly, if it works i
Good morning/evening, and thanks for your time.
I'm currently attempting to implement a patch in the GRUB that will
allow the `load_env` command to set an environment variable in the event
the grubenv file can be read from but cannot be written to (for
instance, if the file is on a BTRFS files
27 matches
Mail list logo