Hi minhui,

Try to `$ export PACKER_LOG=1`, and then run it again to see more details.

I had a similar issue recently and was about qemu permissions. I was able to 
fix it by `sudo`, or by changing permission to /dev/kvm ` sudo chown <Replace 
with username> /dev/kvm`

Kind regards,
Chrysanthos Pepi

From: minhui via gem5-users<mailto:[email protected]>
Sent: Saturday, November 12, 2022 13:15
To: [email protected]<mailto:[email protected]>
Cc: [email protected]<mailto:[email protected]>
Subject: [gem5-users] "qemu: Error launching VM: Qenu failed to start" when 
using Packer to create a disk image and running Gem5 FS Sim


Dear mentors(Jason, Ayaz, and others):



I am new to Gem5, and currently studying the Tutorial “Tutorial: Run Full 
System Linux Boot Tests“



-I follow the instruction to place the files in both folder “shared“ and folder 
“boot-exit“

-run script “./packer validate boot-exit/boot-exit.json“, it was successful

-but running script “./packer build boot-exit/boot-exit.json“ and failed

-error message is “qemu: Error launching VM: Qemu failed to start. Please run 
with PACKER_LOG=1..“

failure snapshot below

[cid:[email protected]]



May I know what went wrong? how to fix it.? Note: I was using the original 
.json in the tutorial without change.

thanks

User: minhui







_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to