Re: Questions about Replication and Network.

2024-02-21 Thread Michele Denber

On 2/20/2024 10:10 PM, Garry Jean Pierre wrote:

I'm looking for a way to achieve the followings.
1. Steps to Configure and adapt Qemu images to replicate SunStation 5
SPARC and HP-UX PARISC servers
2. Steps to Create a network share between Qemu instances and the
Debian server.

The goals is to configure and adapt Qemu images to replicate
SunStation 5 SPARC and HP-UX PARISC servers, as well as setting up a
virtualized production environment.


This works for me on a Windows 11 host running QEMU 7.2.0:

1. SS5:

qemu-system-sparc -machine SS-5 -m 64 -drive
file=sunos-hdd.img,bus=0,unit=3,media=disk -device
scsi-cd,channel=0,scsi-id=6,id=cdrom,drive=cdrom,physical_block_size=512
-drive if=none,file=Solaris1.1.2SPARC.iso,media=cdrom,id=cdrom -vga cg3
-nic tap,model=lance,ifname=tap0  -g 1152x900x8 -bios ss5.bin

If you don't need the 1152x900 graphics just omit that part. Otherwise,
follow the directions here: https://bugs.launchpad.net/qemu/+bug/1361618
specifically:

"Simply rename the existing OpenBIOS QEMU,cgthree.bin ROM to
QEMU,cgthree.bin.old, download the real Sun cgthree ROM and rename it to
QEMU,cgthree.bin in place of the old file. Now you should find you can
start QEMU with -g 1152x900 and the larger display size will work fine."

There's a good guide on installing the OS itself here:
https://john-millikin.com/running-sunos-4-in-qemu-sparc  Keep in mind
that there's a lot of wrong examples out there on how to enable
networking.  You'll need a tap device set up on your host, whatever
you're using.

2. HP-UX:

This gets an HP-9000 going with HP-UX 10.20:

qemu-system-hppa -boot d -serial telnet::4441,server -hda ./HP9000.img
-serial mon:stdio -D /tmp/foo-m 512 -d nochain -cdrom
./hpux_10.20_700_dec99.iso -display sdl-nic user,hostfwd=tcp::60023-:23



            - Michele



Re: Multiple UARTs using -chardev and -device instead of -serial

2024-02-21 Thread Peter Maydell
On Tue, 20 Feb 2024 at 21:26, Michael N. Moran  wrote:
> I really wanted a way to specify associations between front-end
> (serial?) and back-end (chardev?) without the need for the
> sequential assignment of front-ends, and the need to skip
> unused front-ends by using the likes of -serial null.

Unfortunately QEMU doesn't provide any mechanism for doing that
(this is mostly true also for other kinds of hard-wired onboard
devices like ethernet controllers).

-- PMM



Questions about Replication and Network.

2024-02-21 Thread Garry Jean Pierre
 I'm looking for a way to achieve the followings.
1. Steps to Configure and adapt Qemu images to replicate SunStation 5 SPARC
and HP-UX PARISC servers
2. Steps to Create a network share between Qemu instances and the Debian
server.

The goals is to configure and adapt Qemu images to replicate SunStation 5
SPARC and HP-UX PARISC servers, as well as setting up a virtualized
production environment.