
Qemu
文章平均质量分 70
hushui
Coding Since 1998
展开
-
gdb10.2/arm64_kernel 5.10/debug/qemu5
1.1.1 aarch64-linux-gnu- defconfig[lhu3@zch127bld08 linux-stable]$ qemu-system-aarch64 --versionQEMU emulator version 5.0.0Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers[lake@localhost linux-stable]$##### aarch64/...原创 2021-12-01 20:27:54 · 1404 阅读 · 0 评论 -
Manual initrd/busybox for qemu/i386
### for i386 32bit build [lake@localhost busybox-1.33.0]$ CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 make defconfig[lake@localhost busybox-1.33.0]$ CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 make menuconfig ---> Static link busyboxscripts/kconf...原创 2021-10-27 10:11:03 · 1366 阅读 · 0 评论 -
x86_64bit/Weston/Wayland/Buildroot
BuildrootEnable Mesa3d/EGL/Weston etcNote1.GALLIUM_DRIVER_SWRAST, keep DRI_DRIVER_SWRAST New Mesa3d 20.x should useGALLIUM_DRIVER_SWRAST2. use -vga std (qemu Bosch standard VGA)3. Weston test with fbdev4. $mkdir /tmp/wayland ; ch...原创 2021-07-13 10:33:50 · 1152 阅读 · 0 评论 -
qemu/win /Intel HAXM hardware acceleration
Qemu 2017 stable release is 2.10.1 (build 20171006), qemu-w64-setup-20171006.exe,qemu-system-x86_64.exe -hda X:\path\to\debian_wheezy_amd64_standard.qcow2 -accel hax原创 2021-06-17 11:37:30 · 523 阅读 · 0 评论 -
Qemu [drm] virgl 3d acceleration
OpenGL 4.3[edit]Release date:August 6, 2012[34]Compute shadersleveraging GPU parallelism within the context of the graphics pipeline Shader storage buffer objects, allowing shaders to read and write buffer objects like image load/store from 4.2, but..原创 2021-06-02 07:41:34 · 2605 阅读 · 0 评论 -
Qemu2.x boot sdcard raw image with -M raspi2
#Qemu2.xbootsdcardrawimagewith-Mraspi2##Qemuinfoqemu-system-arm-versionQEMUemulatorversion2.9.1Copyright(c)2003-2017FabriceBellardandtheQEMUProjectdevelopers##virtualmachine-Mraspi2qemusupportraspi2from2.6...原创 2020-08-24 16:37:51 · 994 阅读 · 0 评论 -
WSL/Ubuntu18 try ARM binfmt_misc/qemu-user-static
lake@PC-HM6DD43:~$ sudo apt install qemu-user-binfmtReading package lists... DoneBuilding dependency treeReading state information... DoneThe following additional packages will be installed: qemu-userThe following NEW packages will be instal...原创 2020-07-20 17:53:31 · 969 阅读 · 0 评论 -
binfmt_misc/qemu-user-static misc
Install Refer toQemu2.x user mode/Ubuntu18 for Chroot/ARM qemu-user-static/CONFIG_BINFMT_MISC/Ubuntu/ARM/Rootfshttps://blog.youkuaiyun.com/hushui/article/details/103791704Qemu4 user mode source build/static for Chroot/ARM rootfs on Ubuntu18https://blog..原创 2020-07-17 09:37:42 · 1921 阅读 · 0 评论 -
busybox/arm/docker image run on X86 through qemu-static/user mode
lake@localhost:~$ ~/usr/bin/qemu-arm -versionqemu-arm version 4.2.0Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developerslake@localhost:~$lake@localhost:~$ uname -aLinux ShSwDe...原创 2020-01-09 17:14:25 · 306 阅读 · 0 评论 -
Manualy build arm elf docker image from scratch, run on X86 through qemu-arm-static/user mode
1. Build qemu static link user mode Refer tohttps://blog.youkuaiyun.com/hushui/article/details/103806109lake@localhost:~/local/example-code/test-linux-docker-lake/myhello-arm$ file qemu-aarch64qemu-...原创 2020-01-09 15:09:35 · 251 阅读 · 0 评论 -
Run arm docker image on X86 through (Docker hub image)/multiarch/qemu-user-static
1. setup binformat with root!! 危险操作 可以使用qemu-static 手工替代jhula@ShSwDev2:~/local/edgex/test-linux-docker-lake/myhello$ docker run --rm --privileged multiarch/qemu-user-static:register --resetUnabl...原创 2020-01-09 12:23:33 · 883 阅读 · 0 评论 -
Qemu4 user mode source build/static for Chroot/ARM rootfs on Ubuntu18
Refer tohttps://blog.youkuaiyun.com/hushui/article/details/103791704### build static link usermode/qemu-aarch64jhula@ShSwDev2:~/tmp/qemu-4.2.0$ ./configure --target-list=aarch64-linux-user,arm-lin...原创 2020-01-02 16:08:23 · 467 阅读 · 0 评论 -
Qemu2.x user mode/Ubuntu18 for Chroot/ARM qemu-user-static/CONFIG_BINFMT_MISC/Ubuntu/ARM/Rootfs
Qemu Mode: System and UserFor System mode source code build/Qemu4, refer toQemu4 build --target-list ARM(bare bone and linux-user)/Intel(linux-user only) (KVM enabled)https://blog.youkuaiyun.com/...原创 2020-01-01 11:41:11 · 2279 阅读 · 0 评论 -
RunAOSP-Emulator-Qemu-system-x86_64 for normal Linux_x86_64bit
jhula@ShSwDev2:~/software/qemu/x86-64bit$ /home/lake/git-aosp-AndroidN7.1.x/prebuilts/android-emulator/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64 -L /home/jhula/usr/share/qemu -kernel ./x86-...原创 2019-11-18 13:57:59 · 1075 阅读 · 0 评论 -
KVM aosp emulator64-x86 -verbose -show-kernel
lake@lake-Latitude-5491:~/git-aosp-AndroidN7.1.x$ su - rootPassword:root@lake-Latitude-5491:~# cd ~lake/git-aosp-AndroidN7.1.x/root@lake-Latitude-5491:/home/lake/git-aosp-AndroidN7.1.x# sourc...原创 2019-11-16 20:19:44 · 1082 阅读 · 0 评论 -
Aosp build mini_emulator_x86_64-userdebug/aosp_x86_64-eng-userdebug/emulator FAQ!
AOSP$ lunch mini_emulator_x86_64-userdebugAOSP$$ source build/envsetup.shmake>>>>>error: ro.build.fingerprint cannot exceed 91 bytes: Android/mini_emulator_x86_64/mini-emulat...原创 2019-11-04 09:32:41 · 3438 阅读 · 0 评论 -
Ubuntu18/spice/qemu/kvm/virsh
sudo apt install qemu qemu-kvm virt-manager virt-viewer libvirt-bin bridge-utils build-essential autoconf git-core libtool liblog4cpp5-dev libavcodec-dev libssl-dev xlibmesa-glu-dev libasound-dev libf...原创 2019-03-08 22:27:52 · 662 阅读 · 0 评论 -
qemu guest machine management through virsh
1. libvirtd servicelake@lake-Latitude-5491:~/qemu$ ps -ef |grep -i libvirroot 958 1 0 Mar12 ? 00:00:00 /usr/sbin/libvirtdlibvirt+ 1411 1 0 Mar12 ? 00:00:00 /u...原创 2019-03-13 21:06:33 · 249 阅读 · 0 评论 -
Qemu/qemu-img raw.img to qcow2
### versionlake@lake-Latitude-5491:~/qemu$ qemu-system-i386 -versionQEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.10)Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project deve...原创 2019-03-09 14:39:23 · 2992 阅读 · 0 评论 -
qemu guest machine visit solution 1: VNC
>>> qemu network1. start qemu guest WinXPqemu-system-i386 -m 4086M -hda disk.img2. Start network of Guest machine WinXP in qemu3. Make sure Guest machine qemu network is...原创 2019-03-13 17:45:01 · 196 阅读 · 0 评论 -
qemu guest machine visit solution 2: network bridge/tap in private network (host-only)
Normally qemu uses user network/10.0.2.x by default.For network bridge with TAP/192.168.122.x, you need create TAP interface by ROOT.############## Get list of support net device from qemulake...原创 2019-03-13 19:44:04 · 541 阅读 · 1 评论 -
qemu guest machine visit solution 3: network bridge/tap in physical bridge network (bridge mode)
########## default private network/host onlylake@lake-Latitude-5491:~/qemu$ brctl showbridge name bridge id STP enabled interfacesvirbr0 8000.1687d65902ee yes tap0...原创 2019-03-13 20:52:47 · 351 阅读 · 0 评论 -
Qemu4 build --target-list ARM(bare bone and linux-user)/Intel(linux-user only/KVM enabled)
lake@localhost:~/software/qemu-4.0.0$ ./configure --help |grep kvm kvm KVM acceleration supportAbout QEMU System and User mode,Refer tohttps://blog.youkuaiyun.com/hushui/article/...原创 2019-07-31 11:29:57 · 2106 阅读 · 1 评论 -
qemu-system-aarch64/cortex-a53/Linux
1.LTS kernelgit clone -bv4.19--depth 1https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git2. Build withaarch64-linux-gnu-gcc/Linaro/GCC7.2.1/2017lake@localhost:...原创 2019-07-31 12:04:40 · 2839 阅读 · 0 评论 -
qemu root boot with rootfstype=9p
lake@localhost:~/local/lfs/linux-stable$ grep 9P .configCONFIG_NET_9P=yCONFIG_NET_9P_VIRTIO=y# CONFIG_NET_9P_XEN is not setCONFIG_NET_9P_DEBUG=yCONFIG_9P_FS=yCONFIG_9P_FS_POSIX_ACL=yCONFIG_9P_...原创 2019-07-31 17:49:12 · 732 阅读 · 0 评论 -
Qemu2.9.1 start/Build on Ubuntu18
Host Ubuntu18 (the default qemu is too old)Target Qemu 2.9.1 (Built OK on RHEL7.x)1. Support lib install for qemu build sudo apt-get install autoconf automake libtool 2. Download wget ...原创 2019-01-31 21:58:19 · 410 阅读 · 0 评论