Scoop によるインストール
qemuのインストール
$ scoop install qemu
Installing 'qemu' (5.1.0-rc3) [64bit] qemu-w64-setup-20200805.exe (140.1 MB) [======================================================================] 100% Checking hash of qemu-w64-setup-20200805.exe ... ok. Extracting dl.7z ... done. Linking ~\scoop\apps\qemu\current => ~\scoop\apps\qemu\5.1.0-rc3 Creating shim for 'qemu-edid'. Creating shim for 'qemu-ga'. Creating shim for 'qemu-img'. Creating shim for 'qemu-io'. Creating shim for 'qemu-system-aarch64'. Creating shim for 'qemu-system-aarch64w'. Creating shim for 'qemu-system-alpha'. Creating shim for 'qemu-system-alphaw'. Creating shim for 'qemu-system-arm'. Creating shim for 'qemu-system-armw'. Creating shim for 'qemu-system-cris'. Creating shim for 'qemu-system-crisw'. Creating shim for 'qemu-system-hppa'. Creating shim for 'qemu-system-hppaw'. Creating shim for 'qemu-system-i386'. Creating shim for 'qemu-system-i386w'. Creating shim for 'qemu-system-lm32'. Creating shim for 'qemu-system-lm32w'. Creating shim for 'qemu-system-m68k'. Creating shim for 'qemu-system-m68kw'. Creating shim for 'qemu-system-microblaze'. Creating shim for 'qemu-system-microblazeel'. Creating shim for 'qemu-system-microblazeelw'. Creating shim for 'qemu-system-microblazew'. Creating shim for 'qemu-system-mips'. Creating shim for 'qemu-system-mips64'. Creating shim for 'qemu-system-mips64el'. Creating shim for 'qemu-system-mips64elw'. Creating shim for 'qemu-system-mips64w'. Creating shim for 'qemu-system-mipsel'. Creating shim for 'qemu-system-mipselw'. Creating shim for 'qemu-system-mipsw'. Creating shim for 'qemu-system-moxie'. Creating shim for 'qemu-system-moxiew'. Creating shim for 'qemu-system-nios2'. Creating shim for 'qemu-system-nios2w'. Creating shim for 'qemu-system-or1k'. Creating shim for 'qemu-system-or1kw'. Creating shim for 'qemu-system-ppc'. Creating shim for 'qemu-system-ppc64'. Creating shim for 'qemu-system-ppc64w'. Creating shim for 'qemu-system-ppcw'. Creating shim for 'qemu-system-riscv32'. Creating shim for 'qemu-system-riscv32w'. Creating shim for 'qemu-system-riscv64'. Creating shim for 'qemu-system-riscv64w'. Creating shim for 'qemu-system-s390x'. Creating shim for 'qemu-system-s390xw'. Creating shim for 'qemu-system-sh4'. Creating shim for 'qemu-system-sh4eb'. Creating shim for 'qemu-system-sh4ebw'. Creating shim for 'qemu-system-sh4w'. Creating shim for 'qemu-system-sparc'. Creating shim for 'qemu-system-sparc64'. Creating shim for 'qemu-system-sparc64w'. Creating shim for 'qemu-system-sparcw'. Creating shim for 'qemu-system-tricore'. Creating shim for 'qemu-system-tricorew'. Creating shim for 'qemu-system-unicore32'. Creating shim for 'qemu-system-unicore32w'. Creating shim for 'qemu-system-x86_64'. Creating shim for 'qemu-system-x86_64w'. Creating shim for 'qemu-system-xtensa'. Creating shim for 'qemu-system-xtensaeb'. Creating shim for 'qemu-system-xtensaebw'. Creating shim for 'qemu-system-xtensaw'. 'qemu' (5.1.0-rc3) was installed successfully!
Raspberry Pi をエミュレーションする。
$ cd C:\pidora $ qemu-system-arm.exe -M versatilepb -cpu arm1176 -hda Pidora-Release-20-2014-R3.img -kernel kernel-qemu -m 192 -append "root=/dev/sda2"
C:\Users\tomoyan\scoop\apps\qemu\current\qemu-system-arm.exe: warning: GdkPixbuf: Cannot open pixbuf loader module file 'C:\Users\tomoyan\scoop\apps\qemu\current\lib\gdk-pixbuf-2.0\2.10.0\loaders.cache': No such file or directory This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > C:\Users\tomoyan\scoop\apps\qemu\current\lib\gdk-pixbuf-2.0\2.10.0\loaders.cache to make things work again for the time being. WARNING: Image format was not specified for '20200906_sd_backup.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. (qemu:10296): Gtk-WARNING **: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg. This may indicate that pixbuf loaders or the mime database could not be found.