Oh sorry, you edited it, right? Then remove the -hda Q, it's just an example. Just the -serial stdio and kernel option is enough.