nongiach / arm_now

arm_now is a qemu powered tool that allows instant setup of virtual machines on arm cpu, mips, powerpc, nios2, x86 and more, for reverse, exploit, fuzzing and programming purpose.
https://github.com/nongiach/arm_now/wiki
MIT License
867 stars 87 forks source link

qemu-system-ppc64: -nic: invalid option #48

Open SourceCodeDeleted opened 3 years ago

SourceCodeDeleted commented 3 years ago

Tried this for PowerPC and ran into an error where -nic is no longer an option. Is there a work around for this ? Considering this is affecting each VM that I try to spin up I assume there will be a global release for this.

No LSB modules are available.
Distributor ID: LinuxMint
Description:    Linux Mint 19.1 Tessa
Release:    19.1
Codename:   tessa

Linux ForeignHost 5.4.0-58-generic #64~18.04.1-Ubuntu SMP Wed Dec 9 17:11:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
arm_now start powerpc64-power8
(use --clean next time) An powerpc64le-power8 image exists, delete ? (y/n) y

Downloading /home/user/.config/arm_now/templates/powerpc64-power8.tar.xz from https://github.com/nongiach/arm_now_templates/raw/master/powerpc64-power8.tar.xz
 [*] 11.6 MB / 11.6 MB @ 3.9 MB/s [##################] [100%, 0s left]    
[+] Installed
Tempdir /tmp/tmpff2i96ie
File not found by ext2_lookup
WARNING: e2rm file already suppressed
Starting qemu-system-ppc64
stty intr ^]
       export QEMU_AUDIO_DRV="none"
       qemu-system-ppc64 -kernel arm_now/kernel -hda arm_now/rootfs.ext2 -append 'root=/dev/sda console=ttyS0 rw physmap.enabled=0 noapic'                -m 256M                -nographic                -serial stdio -monitor null  -nic user                                 -no-reboot
       stty intr ^c

qemu-system-ppc64: -nic: invalid option
+++++++++++++++++++++++++++ Checking the filesystem ++++++++++++++++++++++++++++
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

         787 inodes used (3.15%, out of 24960)
           4 non-contiguous files (0.5%)
           1 non-contiguous directory (0.1%)
             # of inodes with ind/dind/tind blocks: 214/22/0
       36547 blocks used (35.69%, out of 102400)
           0 bad blocks
           0 large files

         325 regular files
         166 directories
           1 character device file
           0 block device files
           0 fifos
           0 links
         286 symbolic links (286 fast symbolic links)
           0 sockets
------------
         778 files

qemu version


qemu-system-ppc64 --help
QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.34)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
usage: qemu-system-ppc64 [options] [disk_image]