Page 1 of 1

GUI for QEMU v5.+ BUG when SAMBA selected

Posted: Fri Sep 10, 2021 1:53 am
by Clarity

In BOTH @01micko Slacko64 and @666philb FossaPUP64 (and probably in all PUPs) using the GUI for QEMU v5+ we get an "redir" option error generated when the SAMBA option is selected.

QEMU-bug.jpg
QEMU-bug.jpg (27.57 KiB) Viewed 372 times

see error here

Code: Select all

$ qemu_gui /mnt/sdg1/BOOTISOS/slacko64-8.2.1.iso
debug: qemu-system-x86_64 -boot d -m 1024 -enable-kvm -hda /mnt/sdg1/KVMstorage/vHDD2.img -cdrom /mnt/sdg1/BOOTISOS/slacko64-8.2.1.iso -smp 2 -redir tcp:5556::445 -redir tcp:2222::22
qemu-system-x86_64: -redir: invalid option
^C
$

Is there a fix? Or if this is resolved in the now current version QEMU v6+?
If resolved, is fixed version in the current repo?

OR should Virt-Manager replace/add to the QEMU install for QEMU versions 5/6?


Re: GUI for QEMU v5.+ BUG when SAMBA selected

Posted: Mon Nov 08, 2021 8:23 am
by garnet

Hi grandpa Clarity,

You've got error, because -redir option has been removed since Qemu 3.1.
See here for details: https://www.qemu.org/docs/master/about/ ... tures.html

As far as I know, the Qemu GUI is a shell script. Although I don't know much about scripting, if you post the script, I may be able to edit it and make it work again. If I can't, well, perhaps, with the script easily accessible, others with more knowledge will come to your rescue.

See ya ^_^