All Questions
31
questions
1
vote
0
answers
39
views
I am following a video on setting up Qemu/KVM. Setting up of tuned, I am having a problem with missing parameters. How can I correct these errors?
In setting up Qemu and KVM: I received the following notification.
I have seen several others with this same problem,
but I have not been able to find a post with a resolution to implement.
$ sudo ...
2
votes
1
answer
296
views
Differences between qemu-i386 and Linux IA32 emulation
On x86-64 Linux, there are two options for running 32-bit applications: one can be built into the kernel itself via the option CONFIG_IA32_EMULATION (normally on for most kernels), and the other is ...
-1
votes
1
answer
64
views
I am trying to emulate a board which has a OLED display, but can't see anything. Can you tell me if there is something important I am not considering? [closed]
I am just a newbie that is trying to learn. I can't see anything in the OLED display (ssd0303).
I am just using this demo: https://www.freertos.org/portlm3s811keil.html
as you can see it says that:
...
0
votes
0
answers
75
views
how to use non-stop mode of gdb to debug linux kernel using qemu
I am using qemu and gdb to debug the Linux kernel. I wanted to stop one thread while letting other threads continue running. I found that there is a command called non-stop in gdb which can help me ...
0
votes
1
answer
397
views
How to transfer files from host OS to qemu running kernel only?
I have used the instructions found in the readme.txt file from here to run qemu-system-riscv64 for T-HEAD's C906 processor. QEMU successfully boots into the kernel, but there's not much functionality (...
1
vote
1
answer
3k
views
How to fix "qemu-system-x86_64: symbol lookup error: /lib/x86_64-linux-gnu/libvirglrenderer.so.0: undefined symbol: drmPrimeHandleToFD"?
I want to run qemu on Debian Buster, and have therefore installed the qemu-system-x86_64 package.
The issue is that when I run:
qemu-system-x86_64 \
-m 128M \
-cpu kvm64,+smep,+smap \
-...
1
vote
1
answer
522
views
qemu - where are modules pulled from if using -kernel?
Where does qemu pull modules from when using a custom-built kernel (using -kernel)? Will the kernel try to find them in the guest FS or is the whole linux/qemu setup smart enough to realize that ...
2
votes
1
answer
884
views
Writing an OS shutdown process for QEMU (xv6)
Background: I'm using QEMU to virtualize xv6-riscv on top of WSL2. I'm looking to create some sort of clean OS shutdown process reminiscent of Linux's exit command. Currently I'm using Ctrl-a x to ...
2
votes
1
answer
1k
views
Kernel I built from Debian sources doesn't see QEMU /dev/vda despite same setup working for prebuilt Debian kernels
I'm trying to cross compile a Debian system for ARM. I have a working cross compiler setup, and I can run programs under a Debian system I installed in QEMU. I'm using a virtual disk (qcow2 format) ...
0
votes
0
answers
868
views
Very long kernel build time
I have a small problem related to kernel build time.
Sorry for a bit messy writing. I'm very poor at it. :D
We (my team) are using qemu for rebuilding Linux kernel for our product.
We all share ...
1
vote
0
answers
329
views
How to virtualize a board with QEMU?
I've got an embedded board based on ARMv7 cpu. I'd like to virtualize its rootfs with qemu, so I could work without hardware.
I made an image of SD card present on board (these are the partitions):
...
4
votes
1
answer
1k
views
Trying to run linux kernel using QEMU, having trouble with boot process
For a project, I need to be able to run an uncompressed linux kernel. It was recommended to me to try emulating this using QEMU, since that's less involved than booting it straight on the machine. ...
1
vote
0
answers
3k
views
QEMU unable to mount root fs
I have been scratching my head at why qemu may fail to write to root even though rw is passed as kernel arguments? On the SDA device, I have an EFI parition(/dev/sda1) and LUKS(/dev/sda2) encrypted ...
2
votes
1
answer
764
views
Is it okay to run off a writable 9pfs share when cache=loose?
I'm trying to run a virtual machine off of a writable 9p root filesystem. When the default caching mode is used, apt and some other tools fail; likely due to limitations with 9pfs itself. The error ...
4
votes
0
answers
1k
views
QEMU kernel for raspberry pi 3 with networking and virtio support
I used the QEMU(qemu-system-aarch64 -M raspi3) for emulating the Raspberry pi3 with the kernel from the working image.
Everything was working but there was no networking.
qemu-system-aarch64 \
-...