|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] status of guest/DomU UEFI + Grub support in Xen 4.6.1?
On Tue, Feb 23, 2016, at 09:01 AM, Wei Liu wrote:
> > --enable-ovmf
> >
> > afaict from the .spec, it's NOT enabled for the current builds.
> >
>
> Yes, I got the same conclusion.
>
> You need to add that to the spec file if you want OVMF built.
I installed Xen pkgs rebuilt with
--with-ovmf \
Checking at the build log,
[ 70s] + ./configure --with-ovmf --disable-xen
I enabled verbose logging @ Dom0 grub
GRUB_CMDLINE_XEN="... debug loglvl=debug guest_loglvl=debug"
I passed through & formatted an ESP for my Xen guest.
I installed Arch guest, and setup systemd-boot
bootctl --path=/boot/efi install
cat /boot/efi/loader/loader.conf
default arch
timeout 4
editor 0
cat /boot/efi/loader/entries/arch.conf
title Arch
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=LABEL=ROOT resume=LABEL=SWAP rw
bootctl --path=/boot/efi update
tree /boot/efi
/boot/efi
|-- EFI
| |-- Boot
| | `-- BOOTX64.EFI
| `-- systemd
| `-- systemd-bootx64.efi
`-- loader
|-- entries
| `-- arch.conf
`-- loader.conf
I added
bios='ovmf'
to the .cfg, and launched the client
xl create -c ./arch.cfg
Parsing config from ./arch.cfg
got a tsc mode string: "default"
xenconsole: Could not open tty `/dev/pts/4': No such file or directory
xenconsole: Could not read tty from store: No such file or directory
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console
child [4683] exited with error status 2
and at the Dom0's serial console, I get only
(d5) [2016-02-23 21:49:56] HVM Loader
(d5) [2016-02-23 21:49:56] Detected Xen v4.6.1_01-412
(d5) [2016-02-23 21:49:56] Xenbus rings @0xfeffc000, event channel 1
(d5) [2016-02-23 21:49:56] Unknown BIOS ovmf, no ROM image found
(d5) [2016-02-23 21:49:56] *** HVMLoader bug at hvmloader.c:229
(d5) [2016-02-23 21:49:56] *** HVMLoader crashed.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |