On Tue, 16 Apr 2019, M A Young wrote:
> On Tue, 16 Apr 2019, Andrew Cooper wrote:
>
>> From the log:
>>
>> traps: modprobe[48] trap invalid opcode ip:7f797dc7bb95 sp:7ffe3099cdb8 erro
>> r:0 in ld-2.29.so[7f797dc61000+21000]
>>
>>
>> Can you disassemble ld-2.29.so and find out what that instructio
On Fri, 31 May 2019, Andrew Cooper wrote:
>> I did a bisect on this issue, and it identified the first bad commit as
>> fd32dcfe4c9a539f8e5d26ff4c5ca50ee54556b2
>> x86/vmx: Don't leak EFER.NXE into guest context
>
> Aah - this will be a harpertown core.
>
> You need e28c0ee3356f52f589bbae54e89aaed
Fedora rawhide is about to to update to Python 3.8 (in beta I think) and
there are two issues with compiling xen with it (see
https://bugzilla.redhat.com/show_bug.cgi?id=1704807 ).
It seems that in 3.8 python3-config --libs no longer includes -lpython3.8
by default which causes tools/configure
I have been looking at the pygrub code to see if it is possible to cope
with grub files with BLSCFG and spotted this minor issue in GrubConf.py
where the code intends to replace ${saved_entry} and ${next_entry} with 0
but doesn't succeed.
Signed-off-by: Michael Young
From a08eff9b1b881dc61f94
On Tue, 13 Aug 2019, Andrew Cooper wrote:
> On 13/08/2019 22:02, YOUNG, MICHAEL A. wrote:
>> I have been looking at the pygrub code to see if it is possible to cope
>> with grub files with BLSCFG and spotted this minor issue in GrubConf.py
>> where the code intends to repla
This patch may help your issue with the default kernel setting on Fedora
30 as it uses the setting of saved_entry or next_entry from the grubenv
file to choose the default kernel which should override any setting picked
up from if clauses in the grub.cfg file.
I have only done limited and somew
On Thu, 15 Aug 2019, Michael Young wrote:
> This patch may help your issue with the default kernel setting on Fedora 30
> as it uses the setting of saved_entry or next_entry from the grubenv file to
> choose the default kernel which should override any setting picked up from if
> clauses in the
On Thu, 15 Aug 2019, Steven Haigh wrote:
> Having a bit of a look here
>
> My test system grubenv file has:
> # GRUB Environment Block
> saved_entry=0
> kernelopts=root=UUID=5346b4d9-885f-4673-8aff-04a16bf1971a ro
> rootflags=subvol=root selinux=0 rhgb quiet
> boot_success=1
> ###
I have been testing the python3 changes committed to xen and found a few
issues. There are a couple of ocaml python build scripts that don't work
for me with python3, and I needed a few fixes to get pygrub to work,
mostly due to the change from strings to bytes. I am attaching the patch I
put t
On Mon, 1 Apr 2019, Wei Liu wrote:
> Wei Liu (4):
> pygrub: fix message in grub parser
> pygrub/grub: always use integer for default entry
> pygrub: decode string in Python 3
> tools/ocaml: make python scripts 2 and 3 compatible
>
> tools/ocaml/libs/xentoollog/genlevels.py | 5 -
> tools/o
On Wed, 11 Sep 2019, Ian Jackson wrote:
> Steven Haigh writes ("Re: [Xen-devel] [PATCH] read grubenv and set default
> from saved_entry or next_entry"):
>> Just wanted to give this a quick followup... Did this end up
>> progressing?
>
> Hi. I'm a tools maintainer and probably your best bet for a
This series of patches is to improve the parsing by pygrub of grub
configuration on Fedora. The current result of parsing is generally
that the second kernel listed is set as the default due to a
set default=1 line in grub.cfg which is only intended to be
reached after repeated boot failures.
The
This patch adds an example grub.cfg and grubenv file for reference
Signed-off-by: Michael Young
---
tools/pygrub/examples/fedora-31.grub.cfg | 200 +++
tools/pygrub/examples/fedora-31.grubenv | 5 +
2 files changed, 205 insertions(+)
create mode 100644 tools/pygrub/exampl
When a grub.cfg file is found this patch checks if there is grubenv
file in the same directory as the grub.cfg file. If there is it
passes the contents to parse().
Signed-off-by: Michael Young
---
tools/pygrub/src/pygrub | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-
This patch reads the contents of a grubenv file if available, and
uses the value of next_entry (in preference) or of saved_entry to
set the default kernel if there is a matching title or if it is a
number. If either next_entry or saved_entry is set and neither is
used then the default is set to 0.
On Sat, 26 Oct 2019, Steven Haigh wrote:
> If / when pygrub is able to properly read and boot from BLS based
> configurations (I'm not sure if this patchset makes pygrub BLS compatible, or
> just fixes the existing issues) - but we can look at revisiting removing
> these workarounds from anacon
pygrub in xen-4.13.0 with python 3.8.2 fails with the error
Traceback (most recent call last):
File "/usr/libexec/xen/bin/pygrub", line 21, in
import xen.lowlevel.xc
SystemError: bad call flags
This patch fixes mismatches in tools/python/xen/lowlevel/xc/xc.c
between the flag bits defined i
On Mon, 22 Jul 2019, Andrew Cooper wrote:
> On 22/07/2019 03:57, Kevin Buckley wrote:
>> bash-5.0# /usr/lib/xen/bin/pygrub --debug --offset=1048576
>> --list-entries /dev/vg_xen_vbds/lv_4g_02
>> Using to parse /boot/grub/grub.cfg
>> Traceback (most recent call last):
>> File "/usr/lib/xen/bin/p
18 matches
Mail list logo