Comment # 23 on bug 1219180 from Claudio Fontana
(In reply to Joey Lee from comment #22)
> Hi Fabian,
> 
> (In reply to Fabian Vogt from comment #20)
> > > I have tried to remove "-vnc :93" and "-serial mon:stdio" qemu parameter and hope to launch the installation process in the qemu graphics window.
> > 
> > It will work if you do it like mentioned here:
> > 
> > (In reply to Fabian Vogt from comment #18)
> > > (In reply to Stefan Dirsch from comment #14)
> > > > For me it worked to use
> > > > 
> > > > qemu-kvm -M virt -m 4096M -bios /usr/share/qemu/aavmf-aarch64-code.bin -cpu
> > > > host -device virtio-gpu-pci ... -device qemu-xhci -device usb-kbd ...
> > > 
> > > On my x86_64 hosts I just do
> > > 
> > > qemu-system-aarch64 -M virt -cpu cortex-a72 -m 2048 -serial stdio -device
> > > virtio-gpu-pci -device qemu-xhci -device usb-kbd -bios
> > > /usr/share/qemu/aavmf-aarch64-code.bin + whatever storage devices.
> 
> Thanks! Using -device virtio-gpu-pci -serial stdio works to me for launching
> installation process with qemu graphics window. The following command works
> on my side:
> 
> qemu-system-aarch64 \
> -m 4096 -cpu cortex-a72 -smp 4 -M virt \

Hi Joey,

happy it happens to work!

Be careful that specifying an exact cpu as you are doing here

-cpu cortex-a72

is going to be very dependent on the exact machine you are going to run on.
The meaning of -cpu is different than on x86.

Does -cpu host work too? Because if it doesn't that is something we really want
to fix.

Again, that is the supported and recommended option to use for ARM AArch64,
I shared the relevant links above.

Thanks,

C

> -serial stdio -device virtio-gpu-pci -device qemu-xhci -device usb-kbd \
> -drive
> if=pflash,format=raw,readonly,file=/usr/share/qemu/aavmf-aarch64-code.bin \
> -drive
> if=pflash,format=raw,file=/home/joeyli/qemu-vm/openSUSE-MicroOS-aarch64-vars-
> store.bin \
> -net nic,model=virtio -net nic,model=virtio -net
> bridge,br=br0,helper=/usr/libexec/qemu-bridge-helper \
> -drive
> if=none,file=/home/joeyli/iso/openSUSE-MicroOS-DVD-aarch64-Current.iso,
> id=hd0 -device virtio-blk-device,drive=hd0 \
> -drive
> if=none,file=/home/joeyli/qemu-vm/openSUSE-MicroOS-aarch64-efi.qcow2,id=hd1 
> -device virtio-blk-device,drive=hd1


You are receiving this mail because: