qemu-kvm doesn't work with qemu-x86_64_defconfig
Hello,
I am trying to build master for qemu-x86_64_defconfig. When I try to boot u-boot.rom as the following everything works fine:
Quoted 1 line
qemu-system-x86_64 -nographic -bios u-boot.rom
U-Boot SPL 2021.10-rc1-00027-g22ecb12132 (Jul 28 2021 - 18:18:37 +0300) Trying to boot from SPI
Jumping to 64-bit U-Boot: Note many features are missing
U-Boot 2021.10-rc1-00027-g22ecb12132 (Jul 28 2021 - 18:18:37 +0300)
CPU: QEMU Virtual CPU version 2.5+
DRAM: 128 MiB
Loading Environment from nowhere... OK
Incorrect expansion ROM header signature 4daa
Model: QEMU x86 (I440FX)
Net: e1000: 52:54:00:12:34:56
eth0: e1000#0Hit any key to stop autoboot: 0
When I try to enable KVM as the following, the boot process hangs:
Quoted 1 line
qemu-system-x86_64 -enable-kvm -cpu host -nographic -bios u-boot.rom
U-Boot SPL 2021.10-rc1-00027-g22ecb12132 (Jul 28 2021 - 18:18:37 +0300) Trying to boot from SPI
Jumping to 64-bit U-Boot: Note many features are missing
What have I missed? Maybe KVM is just not supported?
+Simon
Quoted 27 lines · Matwey V. Kornilov
Hello,
I am trying to build master for qemu-x86_64_defconfig. When I try to boot u-boot.rom as the following everything works fine:
Quoted 1 line
qemu-system-x86_64 -nographic -bios u-boot.rom
U-Boot SPL 2021.10-rc1-00027-g22ecb12132 (Jul 28 2021 - 18:18:37 +0300) Trying to boot from SPI
Jumping to 64-bit U-Boot: Note many features are missingU-Boot 2021.10-rc1-00027-g22ecb12132 (Jul 28 2021 - 18:18:37 +0300)
CPU: QEMU Virtual CPU version 2.5+ DRAM: 128 MiB Loading Environment from nowhere... OK Incorrect expansion ROM header signature 4daa Model: QEMU x86 (I440FX) Net: e1000: 52:54:00:12:34:56 eth0: e1000#0Hit any key to stop autoboot: 0
When I try to enable KVM as the following, the boot process hangs:
Quoted 9 lines
Quoted 1 line
qemu-system-x86_64 -enable-kvm -cpu host -nographic -bios u-boot.rom
U-Boot SPL 2021.10-rc1-00027-g22ecb12132 (Jul 28 2021 - 18:18:37 +0300) Trying to boot from SPI
Jumping to 64-bit U-Boot: Note many features are missingWhat have I missed? Maybe KVM is just not supported?
Yep, at least I did not test u-boot with KVM.
Regards,
Bin
чт, 29 июл. 2021 г. в 08:22, Bin Meng <[email protected]>:
Quoted 39 lines
+Simon
Quoted 34 lines · Matwey V. Kornilov
Hello,
I am trying to build master for qemu-x86_64_defconfig. When I try to boot u-boot.rom as the following everything works fine:
Quoted 1 line
qemu-system-x86_64 -nographic -bios u-boot.rom
U-Boot SPL 2021.10-rc1-00027-g22ecb12132 (Jul 28 2021 - 18:18:37 +0300) Trying to boot from SPI
Jumping to 64-bit U-Boot: Note many features are missingU-Boot 2021.10-rc1-00027-g22ecb12132 (Jul 28 2021 - 18:18:37 +0300)
CPU: QEMU Virtual CPU version 2.5+ DRAM: 128 MiB Loading Environment from nowhere... OK Incorrect expansion ROM header signature 4daa Model: QEMU x86 (I440FX) Net: e1000: 52:54:00:12:34:56 eth0: e1000#0Hit any key to stop autoboot: 0
When I try to enable KVM as the following, the boot process hangs:
Quoted 1 line
qemu-system-x86_64 -enable-kvm -cpu host -nographic -bios u-boot.rom
U-Boot SPL 2021.10-rc1-00027-g22ecb12132 (Jul 28 2021 - 18:18:37 +0300) Trying to boot from SPI
Jumping to 64-bit U-Boot: Note many features are missing
Quoted 4 lines
Quoted 2 lines
What have I missed? Maybe KVM is just not supported?
Yep, at least I did not test u-boot with KVM.
Thanks for confirmation. In any case, u-boot works very quickly even without KVM.
Quoted 3 lines
Regards,
Bin
Signature · 2 lines
With best regards, Matwey V. Kornilov