Questions tagged [qemu]

QEMU is a generic and open source machine emulator and virtualizer

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

ARM diskimage boot "The gues has not initalized the display yet"

can someone help me with the error "the guest has not initialized the display yet"? I am using the following details: "sudo qemu-system-arm -m 1024M -sd ubuntu-18.04-arm64-docker.img -...
Said's user avatar
  • 1
0 votes
0 answers
22 views

Jump if equal not ever jumping [duplicate]

I'm writing nasm 16 bit code for a simple pong game, but even when my je is equal, it doesn't jump. so far, it's meant to draw and top, bottom and middle line, and on the edges, it either draws 2 ...
Chromegism's user avatar
0 votes
0 answers
12 views

How can I ensure fitting user right for .qcow2 file in my terraform implementation

I have debian based kvm/qemu installation and want to deploy a virtual machine via terraform. provider "libvirt" { uri = "qemu:///system" # Verbindung zur lokalen QEMU-Instanz } ...
HochWieBreit's user avatar
-1 votes
0 answers
8 views

How to set GPS location in android x86 installed in QEMU/KVM without mock location app

I want to set GPS location in a virtual guest android x86, without using a mock location app. I've managed to do it in Android Studio, where u set the location outside the guest machine, but I prefer ...
Izik's user avatar
  • 774
-1 votes
0 answers
22 views

Is it possible to start/run a qemu windows 11 VM from the linux tty without a desktop eviornment?

before starting i have read the arch wiki on qemu and im not getting the results im describing. i am on arch and ive looked up similar posts but none quite achieve what im looking for. My system ...
noob456's user avatar
  • 19
0 votes
0 answers
37 views

How to access linux host file system using Zephyr QEMU X86_64

I am trying to access my Linux host file system from Zephyr running in their QEMU X86_64 target to have easy file sharing. Following this QEMU wiki, qemu -drive file=fat:rw:some/directory can be used ...
bbawj's user avatar
  • 46
0 votes
1 answer
14 views

qemu risc-v interrupt not handled : time_lo write not implemented , time_hi write not implemented

Recently, as I simulated a RISC-V 64 processor with a single CPU and 128MB of memory, I encountered a warning, resulting in the timer interrupt no longer managed. The warning : qemu-system-riscv64: ...
Badr Mesbahi's user avatar
2 votes
1 answer
34 views

LXC container with windows died

My LXC container with windows 11 died. I've installed official version of windows 11. Here is the log: lxc info win11 --show-log Name: win11 Status: STOPPED Type: virtual-machine Architecture: x86_64 ...
Gleb  Vishnevsky's user avatar
0 votes
0 answers
9 views

I want to obtain the guest program function name while using QEMU in user-mode

The detail of question is below: I have a simple program which build in x86_64(Actually, I want it to be riscv64 but it seems not have affection): #include <stdio.h> int add(int a,int b){ ...
xwt1's user avatar
  • 1
0 votes
0 answers
8 views

How to build qemu tcg plugin?

Qemu documentation provides how to run qemu plugin , But i want to know how to build inbuilt plugins in qemu meson.build exixsts in plugin folder but how to create .so files of plugins in qemu How to ...
srikanta chaitanya's user avatar
0 votes
0 answers
52 views

How to connect via SSH to different Qemu instances

I want to connect from my local laptop to remote desktop (let say 170.170.70.70) with two Qemu instances started with parameters (most parameters skipped, I left only those that differs) qemu-system-...
JaSON's user avatar
  • 4,843
0 votes
1 answer
48 views

DIY Bootloader isn't doing what it should do

A while ago I wrote a bootloader with the help of a tutorial. But it was so complicated that I barely understood anything. So today I set out to make my own bootloader using my knowledge and Google. ...
Fabboy's user avatar
  • 33
-1 votes
0 answers
13 views

Mount an NVME disk that is passed-through to a VM

I have an NVME M.2 disk that i pass through to a Qemu VM. Mounting that NVME disk from the host gives me the following error: wrong fs type, bad option, bad superblock on /dev/nvme0n1... Is it ...
Galih Dono Prabowo's user avatar
0 votes
0 answers
68 views

In Termux Qemu cannot open internet, while limbo can open it running the same virtual machine

I downloaded many virtual machines and used with qemu, all of them cannot run internet when running with qemu commands in termux. But If I use Limbo emulator then internet work with no problem. Hi ...
Awwaad's user avatar
  • 1
0 votes
0 answers
66 views

How can I start multiple virtual machines using QEMU and how to specify each VM to run on a specific core?

I am trying to run multiple virtual machines on the same host using QEMU with KVM acceleration. I am also trying to get each virtual machine to run on a specific CPU cure. For example, I want to ...
MUAS's user avatar
  • 518
0 votes
1 answer
42 views

How to distinguish different threads in multithreaded programs in QEMU?

I want to use QEMU to run a multithreaded program, and I want to record the execution path of each thread in QEMU without modifying the source code, represented by the first address of the basic block....
Arashimu's user avatar
0 votes
0 answers
20 views

Running a Yocto system built with kas on qemu

I have a Yocto-based Linux system that is built using kas, or more accurately kas-container. The system is meant to run on an embedded device and it works there. The purpose of this system is to run ...
TheAG's user avatar
  • 297
0 votes
0 answers
25 views

SDDM on Wayland crashes in test mode

I am trying SDDM on Wayland in a VM but I am not able to get it to work. My system maybe is a little unusual: The host is a Mac Mini (old one - Late 2012) on which I run Ubuntu 23.04 On this I run ...
j.karlsson's user avatar
0 votes
1 answer
27 views

Is there a way to get the configuration options of QEMU?

Progams such as vim or gdb can give me their configuration options which is convenient to recreate a build with the same features somewhere else. Does QEMU have something similar, or is there any way (...
永劫回帰's user avatar
0 votes
0 answers
66 views

Errors when install QEMU from source code

When I want to install QEMU from source code, I followed this article's recommended method of installation Emulating CXL Shared Memory Devices in QEMU.when I started to make ,errors happened. [1117/...
hansen might's user avatar
-2 votes
1 answer
39 views

how can I install docker in yocto (runqemu)?

I installed yocto and connected to VM. *I used command 'runqemu qemuarm64 core-image-full-cmdline nographic' how can I install docker in yocto?
jinhoekim's user avatar
0 votes
0 answers
18 views

Can I obtained guest instruction with QEMU plugin or other means?

I want to obtained the guest instructions while QEMU emulating. Is it possible to do such a task? Why I have this problem is that i want to obtain the load/store instructions and read the reg and mem ...
xwt1's user avatar
  • 1
0 votes
0 answers
37 views

Android Studio Emulator: Device is not Play Protect certified

I just migrated from Windows to macOS and downloaded Android Lollipop 5.0 ARM emulator with Google API. When I run one of my project that is using some Google Services I get this notification which is ...
Bitwise DEVS's user avatar
  • 2,469
1 vote
0 answers
35 views

cross compile clone syscall to aarch64

I have tried to cross compile clone syscall and run with qemu-aarch64 here is the assembly: #include <sys/syscall.h> .section .text .global _start _start: bl main b . .global main main: mov ...
python3.789's user avatar
0 votes
0 answers
59 views

Trouble Booting Custom Kernel with QEMU: dracut-initqueue timeout waiting for /dev/sysvg/root

I am trying to boot a custom Linux kernel using QEMU and encountering an issue where the boot process hangs with a dracut-initqueue timeout. I compiled the kernel using a .config file from a Fedora VM ...
isomorphik's user avatar
0 votes
0 answers
23 views

Error loading shared library libgcc_s.so.1: Not a directory (needed by ./bin/busybox

I want to run a busybox with qemu-arm-static file busybox is output: bin/busybox: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-arm.so.1, ...
yujie lu's user avatar
0 votes
0 answers
27 views

Is UEFI returning a false memory map or has QEMU an error?

I have a bootloader written with UEFI. I use -m 100M when running QEMU and I excpected to have about 100M of memory when using BS->GetMemoryMap(); But I got about 350M which is weird. Following is ...
MagaCraft202's user avatar
-1 votes
1 answer
31 views

QEMU for ARMv8-A (and higher): which FPCR control bits are supported?

I'm trying to find which FPCR control bits (such as AHP, DN, FZ, etc.) are supported in QEMU for ARMv8-A (and higher). I've already tried to search (for example) for "FPCR" on www.qemu.org. ...
pmor's user avatar
  • 5,450
0 votes
0 answers
29 views

Clipboard sharing is not working, but the screen resolution resizing is, after I setup "spice-guest-tools" on a win 11 VM

I'm running Kubuntu on the host. I've installed a VM using QEMU/KVM and virt-manager. The VM OS is Windows 11 Pro. I've setup "spice-guest-tools" on the VM, and setup "spice-vdagent&...
TxTechnician's user avatar
0 votes
0 answers
49 views

Emulating QSPI NOR Flash in QEMU

I am trying to emulator a QSPI NOR Flash from TI in QEMU. I have create a m25p80 flash device and a basic QSPI controller to control the serial flash. I already wrote successfully to the nor flash via ...
Dong Lam's user avatar
2 votes
1 answer
142 views

how to compile and build a python package for aarch64 using qemu?

I am trying to build python wheels for a package (lap) for the aarch64 architecture. My host environment is WSL2 with Ubuntu 20.04 and docker. Target is Buildroot GNU/Linux. So no compiler is ...
Preeti 's user avatar
  • 547
0 votes
1 answer
26 views

Why does the stack pointer need to be set for EL1 configuration?

Im studying some bare metal code for raspberry Pi, in particular this code for a QEMU emulation. It goes down from EL3 to EL1, but why need the sp_el1 need to be set for EL1 configuration from EL2 and ...
Angel Ruiz's user avatar
0 votes
0 answers
24 views

pthread_mutex_init return EOPNOTSUPP(95) with qemu aarch64

I have tried to run with qemu-aarch64 process. And I see that the pthread_mutex_init return EOPNOTSUPP(95) Maybe qemu-aarch64 makes a problem and I should debug that process into real aarch64 machine?(...
Polo1990's user avatar
0 votes
1 answer
39 views

cloud-init didn't work with my self-built kernel image

When I use qemu to boot my VM with official kernel image and initrd dowmloaded from ubuntu official webset, it works well, but when I build the kernel from source, and replace the kernel image with my ...
Myrfy's user avatar
  • 585
1 vote
1 answer
132 views

How to make Android emulator faster on M1 Mac with a React Native project?

I'm on an 64GB M1 Max, with an emulated Android device Pixel 3a which is arm64-v8a. Basically everything is ARM64. Android Studio 2022.3.1 (Giraffe) and macOS Ventura 13.5. However, my React Native ...
Can Poyrazoğlu's user avatar
0 votes
1 answer
32 views

Realtime RAM access to qemu guest

For the purpose of studying, I want to have full access to the physical memory of the guest QEMU in real-time mode. The "pmemsave" command freezes the guest OS. Is there a way for me to ...
Artorios's user avatar
0 votes
0 answers
20 views

How to emulate a firmware image file using qemu

I could see that this file was a firmware image compiled by arm. The image is a bootloader image, and I tried emulating it through qemu, but the error below occurred. How can you solve it? Wrong ...
object404's user avatar
0 votes
0 answers
44 views

How can I use cross-compile (arm64) in x86 centos7 linux

I am using x86 centos7 linux. I want to use cross-compile to arm64 in docker but I can't use docker buildx --platform because of the low Kenel version (centos7) What should I do? I've searched about ...
jinhoekim's user avatar
0 votes
1 answer
55 views

pthread_mutex_init failed while using qemu aarch-64

I tried to emulate aarch64 binary using qemu , I copy all the libraries that this binary depend on. and run it with chroot : chroot . ./qemu-aarch64-static ./myProcess The problem is that I see in ...
python3.789's user avatar
1 vote
1 answer
62 views

I cannot execute my bootloader file in qemu emulator

org 0x7c00 section .text mov ah, 0x0e mov si, message print_loop: lodsb or al, al jz done int 0x10 jmp print_loop done: ...
Shashwat Mishra's user avatar
0 votes
0 answers
29 views

pcie passthrough in libvert failing through port multiplier, unknown header type 127

Trying to use 4x pcie Coral TPU accelerators(for object and voice recognition in home assistant) through a pcie port multiplier board(convert a 4x slot into four 1x slots) Without the multiplier board ...
Mikeasuras's user avatar
0 votes
0 answers
40 views

Creating Windows VM in KVM/QEMU using GNOME Boxes from a Backed-Up OS

Hello Stack Overflow community, I'm looking for guidance on how to create a Windows virtual machine using KVM, QEMU, and GNOME Boxes on a Linux system. I have recently migrated my Windows and ...
allah's user avatar
  • 1
0 votes
0 answers
23 views

Can I open OP-TEE using QEMU-KVM instead of TCG

Can I open OP-TEE using QEMU-KVM without trustzone CPU emulation instead of TCG? I add enable-kvm option and turn off trustzone CPU emulation in QEMU command (Since KVM doesn't support trustzone) As ...
lastages's user avatar
0 votes
0 answers
26 views

error while booting linux using busybox and qemu

I have been trying to build kernel using busybox and qemu by following this tutorial (https://gist.github.com/ncmiller/d61348b27cb17debd2a6c20966409e86) but after booting i am getting this error [ ...
Akash Reddy Kankanala's user avatar
0 votes
0 answers
29 views

Does QEMU RISCV system emulation emulate tlb cache? [duplicate]

I have been playing around with this blog-post https://colatkinson.site/linux/riscv/2021/01/27/riscv-qemu/ and after booting up the machine with this command: qemu-system-riscv64 \ -machine virt \ ...
grigorism_'s user avatar
0 votes
0 answers
29 views

what is the unixio socket for swtpm

I followed the information about qemu with tpm simulation from the arch wiki https://wiki.archlinux.org/title/QEMU#Trusted_Platform_Module_emulation I also checked the previous section. If I now try ...
MaKaNu's user avatar
  • 762
0 votes
0 answers
39 views

Qemu fails to create socket

In my ubuntu22.04.xml configuration I have: <qemu:commandline> <qemu:arg value='-chardev'/> <qemu:arg value='socket,id=chr0,path=/tmp/sock0,server=on'/> </qemu:commandline&...
Ken Y-N's user avatar
  • 14.7k
0 votes
0 answers
17 views

Boot images qemu on pnet

I hope you're good I import image qemus in pnet but when I started one of the qemu, I confront this problem please help me to solve this issue 1-I import switch viosl2-adventerprisek9-m-15.2-2017032 2-...
keyvan mokhtari's user avatar
1 vote
0 answers
34 views

how to run or compile golang program with Qemu in Linux BuildRoot

I have a Golang program file and I want to run it in Buildroot. I know how to compile a c file (arm-buildroot-linux-uclibcgnueabi-gcc) with Qemu in BuildRoot but I don't know how to run golang file (...
jason's user avatar
  • 11
0 votes
0 answers
19 views

Zerofree in Amazon Linux 2

I'm going to preface this, that I'm trying to work within the confines of our current eco-system (ie: trying to ONLY use AL2). We have a very specific use-case in which we are converting a vmdk that ...
raithedavion's user avatar

1
2 3 4 5
50