Im currently using qemu on windows for testing my own linux distribution. its a embedded version built with buildroot. After building the distribution i have created a iso file. When i start the isofile i have in the qemu parameters the -append variable set. Problem is that i cant read out the append variable ;( is it somehow possible to parse a variable to the virtual guest and request this variable from the bash?
.qemu.exe -L . -cdrom *.iso -localtime -m 1024 -append "root=/dev/ram0 console=ttyS0 MYTEST=VARIABLE"
As you can see i load the iso (which already contains a keel and rootfs , so it takes always the parameter from the iso. Is there a way to get the variable from qemu instead of the iso? Or is there maybe another simple way to start qemu with a parameter and pass this parameter to the virtual guest so that i can use there the predefined variable?
output:
cat /proc/cmdline
cde loglevel=3 initrd=/boot/core.gz BOOT_IMAGE=/boot/vmlinuz
As you can see the parameter MYTEST with the variable VARIABLE is missing :-(
I am asking this to automate the process of testing different versions of my iso file , so any help is appreciated.
- - , .
برچسب:
نویسنده: استخدام کار