On 06/06/2012 01:15 PM, Jorge Ventura wrote:
I am a newbie with qemu and I am starting with s390x.
This is because the idea is to test KVM in a z9 mainframe already
available.
I am trying to use qemu-system-s390 (version 1.1.0-1 emulated on
x86_64) with a linux image and root filesystem at initramfs what
means that I don't use any dasd or filesystem at this time, the
plan is to increase the complexity progressively.
The command I am using is:
$ bin/qemu-system-s390x -m 4096 -kernel bzImage -initrd
initramfs_data.cpio.gz
What I understand as 4Gb memory, kernel image is the file bzImage
and the initrd the file initramfs_data.cpio.gz, all tested
under hercules (I didn't test directly under z9 yet) and working
perfectly.
After the command above, I get a window with a prompt (qemu)
and that is all. What I have to do at this point to continue the
linux boot ???
i've never used the s390x target myself but a co-worker recently
did. i think the trick is that usually a z-series usually uses a
serial port for the console and not a graphical display and so you
need to interact with the virtual serial port qemu uses. try
pressing ctrl-alt-2 after you have started the guest. if that
doesn't show you anything try using other numbers like 1 or 3. the
(qemu) prompt is for the qemu monitor.
mike
|