device: virtio-scsi-pci (not fully sure, but maybe this will create a virt. serial: redirects serial output to specified device # qemu-system-ppc64 -cpu POWER8 -machine pseries -m 2048 -serial stdio -drive file=hdisk0.qcow2,if=none,id=drive-virtio-disk0 -device virtio-scsi-pci,id=scsi -device scsi-hd,drive=drive-virtio-disk0 -cdrom 710505.iso -prom-env "boot-command=boot cdrom:" This command will create an AIX VM with specified settings and boot it from DVD: (So we have AIX DVD and this image file in our dir) It will create an empty 20GB qcow2 disk image file, but its initial size is very small, as it is a sparse file. # qemu-img create -f qcow2 hdisk0.qcow2 20G Go to the AIX DVD dir and create a disk which will be used by AIX QEMU emulator version 4.2.50 (v4.2.0-2665-g3d0ac34603)Ĭopyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers # qemu-system-ppc64 -version <-check if it works correctly # make install <-it installs compiled software # make <-this compiles the source code (it can take long) configure <-checks if all requirements are OK # mkdir build cd build <-create a build directory and go there # cd qemu <-go to qemu dir which was created by git # git clone git:///qemu.git <-it downloads latest source code (automatically creates a qemu dir where I start command) (I had to install git and other missing things like glib-devel. I could not find latest qemu package on linux (only version 2 was available, but that did not support latest Power systems), so it had to be compiled from source code: After CentOS 8 installation completed, I configured network, so I could ssh to my linux server and do these steps:įrom IBM ESS site download AIX DVD. The plan was that on this linux VM in VirtualBox I will create an AIX VM using QEMU. On Windows I installed VirtualBox and I created a Linux VM (CentOS 8). Very important: be patient during this process, things can be (very) slow sometimes. Without any prior experience in QEMU, I used these 2 sources: (After installation not all AIX commands are available but many things still possible to do.) If we use an AIX DVD during the boot, AIX will be installed there. So on Windows or Linux (on x86) with QEMU we can run AIX.Īfter installing QEMU, we can use a command to create an empty virtual disk and after a VM (with specified RAM and additional devices). For example if we want to test a Solaris (with RISC processor) or an HP-UX (with HPPA) or an AIX (with Power processor) QEMU can emulate that processor type and run the specified OS on that. I get the same error when trying to use this image as sdcard (-sd d:\img.img), but removing this file make the VM starting (Olive1.vmdk can be read).QEMU (Quick EMUlator) is a machine emulator program, which is capable to create VMs with different processor architectures. to check file permissions/set all users to readableīut I'm still getting this error (and Invalid Argument when it can't get the file, because of a wrong path).Qemu: could not add USB device 'disk:format=raw:D:\img.img' Results in : qemu-system-x86_64w.exe: -usbdevice disk:format=raw:D:\img.img: could not open disk image D:\img.img: Permission denied In few lines : qemu-system-x86_64w.exe -k fr -boot menu=on -m 256 -L Bios -usb -usbdevice disk:format=raw:D:\img.img Olive1.vmdk and if I could have qemu working it could be great), and I'm getting an error that I can't get off. I'm trying to use qemu on Windows (8), because I have to emulate an USB mass storage device (VirtualBox still doesn't handle USB3 which my computer only have.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |