qemu-s390x
[Top][All Lists]
Advanced

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

Re: [Q] how to pass an ISO to s390 qemu


From: Christian Borntraeger
Subject: Re: [Q] how to pass an ISO to s390 qemu
Date: Mon, 6 Apr 2020 17:27:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 06.04.20 15:55, Denis Kirjanov wrote:
> Hello,
> 
> I'm trying to debug an issue and I have to setup 2 s390x VMs but I'm
> stuck on the step where I have to boot from an ISO image.
> 
> That's the command line I use:
> 
> qemu-system-s390x -machine s390-ccw-virtio -cpu max,zpci=on -serial
> telnet::4441,server -display none -m 4096 -net nic -net tap -boot d
> --cdrom SLE-12-SP4-Server-DVD-s390x-GM-DVD1.iso -kernel s390x-kernel
> -initrd s390x-initrd -drive
> file="sle12-sp4.img",if=none,id=drive-virtio-disk0,format=raw,cache=none
> -device
> virtio-blk-ccw,devno=fe.0.0001,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1,scsi=off
> 
> The problem is that the installation program doesn't find the ISO image
> passed.

I think you need to construct the cdrom also via -device and file, so that
the installer detects it. yast only understands virtio-scsi cdroms.

But I suggest to simply use virt-install. This does work with SLES ISOs.

virt-install --name sles12sp4 --disk size=10 --memory 4G --cdrom 
SLE-12-SP4-Server-DVD-s390x-GM-DVD1.iso




reply via email to

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