qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does the order of parameters matter?


From: Salvatore Mazzarino
Subject: Does the order of parameters matter?
Date: Wed, 14 Oct 2020 17:54:21 +0000

I'm facing some interesting issues. Changing the order of kernel parameters passed to the `-append`, it changes the outcome.

Running my QEMU VM with the following works:


-append "root=/dev/disk/by-id/virtio-rootfs rootflags=rw flatcar.first_boot=1 tsc=reliable no_timer_check= rcupdate.rcu_expedited=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 i8042.noaux=1 noreplace-smp= reboot=k console=hvc0 console=hvc1 cryptomgr.notests= net.ifnames=0 pci=lastbus=0"


However, if put the `root=` to the end then it does not work and the root volume is not found so not mounted.

So I'm now wondering. the order does it really matter? And if so there is any logic behind it? Any rules to follow? 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]