Hey Geoff and Nick,
With your help I can boot the qemu image with -enable-kvm parameters.
If I don't add -enable-kvm modules, I got blocked just like below:
kevzha01@ent-arm-huawei-01:~/qemu-coreos$ sudo
./coreos_production_qemu_uefi.sh -drive
if=pflash,file=coreos_production_qemu_uefi_efi_code.fd,format=raw,readonly
-drive if=pflash,file=coreos_production_qemu_uefi_efi_vars.fd,format=raw
qemu-system-aarch64: -device virtio-9p-pci,fsdev=conf,mount_tag=config-2:
unable to init msix vectors to 2
Warning: Orphaned drive without device:
id=pflash2,file=coreos_production_qemu_uefi_efi_code.fd,if=pflash,bus=0,unit=2
Warning: Orphaned drive without device:
id=pflash3,file=coreos_production_qemu_uefi_efi_vars.fd,if=pflash,bus=0,unit=3
Welcome to GRUB!
check_signatures=no
cmddevice=hd2,gpt1
cmdpath=(hd2,gpt1)/EFI/BOOT
color_highlight=black/light-gray
color_normal=light-gray/black
feature_200_final=y
feature_all_video_module=y
feature_chainloader_bpb=y
feature_default_font_path=y
feature_menuentry_id=y
feature_menuentry_options=y
feature_nativedisk_cmd=y
feature_ntldr=y
feature_platform_search_hint=y
feature_timeout_style=y
grub_cpu=arm64
grub_platform=efi
lang=
locale_dir=
net_default_ip=(null)
net_default_mac=(null)
net_default_server=
pager=
prefix=(memdisk)
pxe_default_server=
root=hd2,gpt1
secondary_locale_dir=
error: no such device: 00000000-0000-0000-0000-000000000001.
GNU GRUB version 2.02~beta2
/----------------------------------------------------------------------------\
|*CoreOS default
|
| CoreOS USR-A
|
| CoreOS USR-B
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\----------------------------------------------------------------------------/
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, `e' to edit the commands
before booting or `c' for a command-line.
EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
Then it will be blocked and no response....
On Tuesday, 2 August 2016 08:09:10 UTC+8, Geoff Levand wrote:
>
> Hi,
>
> On Thu, 2016-07-28 at 01:25 -0700, [email protected] <javascript:>
> wrote:
> > I has used the CoreOS 1122 and the scrpit :
> > coreos_production_pxe.sh,=
>
> I tested coreos_production_pxe.sh and coreos_production_qemu.sh,
> and they don't work.
>
> Download all the files coreos_production_qemu_uefi*, and run
> coreos_production_qemu_uefi.sh. This worked when I tested it.
>
> -Geoff
>
>