Questions tagged [qemu]

QEMU (short for "Quick EMUlator") is a free and open-source hosted hypervisor that performs hardware virtualization.

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

Display bmp image using u-boot on virtual QEMU

I have an issue of displaying a bmp image using u-boot on virtual QEMU. I've built QEMU using buildroot and added the following options in u-boot.fragement file to support splash screen and virtio gpu:...
Mikhail's user avatar
0 votes
0 answers
19 views

How To Set Screen Resolution Of TinyCore On GNS3 Really High?

In GNS3, I added a Firefox to the topology. It was installed on a TineyCore VM on Qemu. When I open the VM, the Max screen resolution that is available is 1024x768 which is very small for my 4K ...
Shadi's user avatar
  • 101
0 votes
0 answers
18 views

How to Enable Restrict User Networking in virt-manager QEMU/KVM User Session?

I want to isolate my network between host and guest in QEMU User Session (qemu:///session). block the unnecessary guest to host and guest to guest networking. I found an article on QEMU wiki talks ...
rstax's user avatar
  • 1
0 votes
0 answers
19 views

Trying to virtualize my Windows 10 install on linux in a dual boot setup

Currently I am dual booting Windows 10 and linux (fedora 39 with KDE), here both are on separate SDDs. I was hoping to use linux for most things and use Windows 10 for games. But here, I am trying to ...
TheRobot140's user avatar
0 votes
1 answer
15 views

libvirt can't bind device to runtime due to permission denied

I'm trying to start a new domain via libvirt virsh start my-domain. But it fails with this permission denied error error: internal error: Process exited prior to exec: libvirt: error : Failed to bind ...
itsjc's user avatar
  • 101
1 vote
0 answers
24 views

Yocto Implementation of QEMU

What exactly is the difference between the Yocto Implementation of QEMU and QEMU in general? It is clearly stated right at the beginning of the relevant chapter in the Yocto documentation that they ...
notanothernoob's user avatar
-3 votes
1 answer
29 views

trying to run rasberry pi on qemu says -redir invalid option

I am trying to run Rasberry Pi on qemu but it says -redir invalid option. Here's my command: qemu-system-arm -kernel kernel-qemu-4.4.34-jessie -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial ...
AGH's user avatar
  • 1
0 votes
0 answers
19 views

Problem writing custom PCI driver with QEMU

I want to write a Linux driver that allows me to allocate and handle MSI interrupts. At the moment, the nvec = pci_alloc_irq_vectors(pdev, 1, nvec, PCI_IRQ_ALL_TYPES) function is returning -22. In ...
carloscs11's user avatar
0 votes
0 answers
62 views

running X86 Virtualbox VM on an Apple silicon Mac, UTM not working

My college provides a virtual machine (SliTaz VM, possibly an old Linux distro) to run veriluoc which is a software to design and simulate logic gates. The problem is that VM was designed to run on ...
Nil Oller 's user avatar
0 votes
0 answers
30 views

Write QCOW2 image to iSCSI LUN?

I've been trying to write a QCOW2 image to an iSCSI LUN target but have been unsuccessful. Based on this link, this should be possible (and should be possible without having to mount the iSCSI LUN as ...
quantum's user avatar
  • 101
0 votes
1 answer
23 views

QEMU ftp connection refused on linux guest but not in windows host (qemu blocking localhost connection??)

I'm using QEMU to run debian linux on my windows machine. I setup a filezilla ftp server running on localhost in my windows. I can connect to the ftp server from my windows cmd But i can't connect to ...
aaa's user avatar
  • 1
1 vote
0 answers
34 views

Busybox/Qemu Networking

I made a simple Linux Distribution using Busybox that i run in Qemu. How can i get networking to work? My Goal is somthing like that: I type in wget google.com and it saves the index.html file to the ...
pauljako's user avatar
1 vote
0 answers
40 views

Adding a JFFS2 file system to QEMU

I am trying to set up a development environment using QEMU to emulate a Zynq UltraScale+ MPSoC ZCU102. I have a Petalinux image that I am able to run with QEMU and now I want to pass in and mount file ...
mstarks224's user avatar
1 vote
0 answers
26 views

Libvirt iptable chain LIBVIRT_FWX has no effect on interface internal traffic

I created a libvirt network in open mode and added the iptable rules that would have been created for a nat mode network. My plan is to basically create a nat network but add some custom iptable rules ...
elperry's user avatar
  • 11
0 votes
1 answer
65 views

Is it possibel to enable X86 PMU in QEMU emulation mode (without KVM)?

I am trying to run perf in my Linux system, but WSL2 and virtual-box 6.1 do NOT detect the hardware PMU in system. So, I installed qemu-system-x86_64 in Linux VM, and tried to run QEMU in emulation ...
wangt13's user avatar
  • 429
0 votes
0 answers
53 views

How do I fix my initramfs for booting linux kernel image on qemu?

I am using an M2 mac. I built the linux kernel in a aarch64v8/ubuntu docker container. Here's the docker-compose.yml version: "3" services: dev: image: arm64v8/ubuntu platform: ...
V N's user avatar
  • 9
0 votes
0 answers
132 views

I Failed to execute AARCH64 Linux kernel on the QEMU

I'm trying to execute AARCH64 Linux kernel on the QEMU. But,there was an error and the error log is: rom: requested regions overlap (rom bootloader. free=0x00000000422c0a00, addr=0x0000000040000000) ...
nickeys's user avatar
  • 21
2 votes
1 answer
231 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 ...
mcendu's user avatar
  • 123
0 votes
0 answers
49 views

How to grant restricted internet access to guest VM on QEMU debian host?

I have a Windows 10 guest virtualized by QEMU 3.1.0 on a Debian 10 host. This VM shall not be allowed to access the internet except outgoing connections to a specific server (lets say git.example.com:...
randomuser123's user avatar
0 votes
1 answer
134 views

how to boot QEMU from a cloned USB stick

Configuration: MacOS arm64 M1 Apple Silicon as host Live USB with Ubuntu 20.04 amd64 within a squashfs filesystem as guest QEMU emulator on the host OS I want to strip the OS out the squashfs and ...
Steve-no-Jobs's user avatar
0 votes
0 answers
47 views

QEMU stuck cursor

I am running a MacOS machine on QEMU, and the cursor has remained stuck, and won't respond at all. Also there are two arrows (my Windows cursor and the QEMU cursor). My Windows cursor moves freely, ...
temidayo Azeez's user avatar
0 votes
0 answers
89 views

Linux qemu boot aarch64 disk image

My host machine is : Linux my-laptop 5.15.0-40-generic #43-Ubuntu SMP Wed Jun 15 12:54:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Distributor ID: Ubuntu Description: Ubuntu 22.04 LTS Release: ...
mah454's user avatar
  • 308
0 votes
0 answers
68 views

Booting Existing Linux Installation in qemu VM

There are 2 separate arch installations on my machine, one on an nvme drive and another on /dev/sda (EFI in /dev/sda1 and root in /dev/sda2). Trying to boot the arch on /dev/sda from inside the arch ...
Loma Harshana's user avatar
0 votes
0 answers
34 views

NixOS QEMU VM does not appear in `virsh` on Debian

I am running the Nix package manager on a Debian system. On this Debian system, I use Nix to start a QEMU VM running NixOS, following this tutorial: https://github.com/pdtpartners/nix-snapshotter#...
Peter Becich's user avatar
0 votes
1 answer
22 views

qemu spice: fails to use ipv4 and always fallback to socket

qemu: 8.1.3 (and ui-spice-app, ui-spice-core) spice 0.15.2-1 spice-protocol 0.14.4-1 I have a strange issue, qemu keeps ignoring my ipv4 parameters and always falls back on unix socket: If I even try ...
BEL's user avatar
  • 11
0 votes
1 answer
156 views

Starting QEMU as another user

I'm currently trying to intercept/block specific requests from the guest in QEMU. According to this question, it seems that the easiest way to do so is to run QEMU as a different user, so that I can ...
Olmarq's user avatar
  • 3
1 vote
0 answers
28 views

No such file or directory when mounting a .vdi VM

i have a Virtual Box VM with Fedora installed and it's filesystem went to read-only mode. I have now to recover some files from there so in the past i mounted the image in the host Ubuntu machine as ...
user2071581's user avatar
0 votes
0 answers
31 views

Loupedeck USB device 'libvirtd' pass to Win with UDEV rule

I have this console that I'm trying to pass as an USB to the Win11 running on QEMU. It is unhappy being 'redirected' as an USB device, so I wrote an UDEV rule for it, b/c without it, of course I didn'...
greengold's user avatar
  • 113
0 votes
0 answers
213 views

Configure SELinux to allow qemu/virt-manager and samba to both read/write to the same folder?

Problem summary I have a local folder that is shared under samba but if I try to allow qemu (via user session) to access it via virtio-9p, I get an error (SELinux avc). Works fine with SELinux ...
zpangwin's user avatar
  • 801
0 votes
0 answers
142 views

KVM Qemu + Libvirt -> Debian Host+Guest => OpenGL / 3D Acceleration -> No Effect

Hi I use debian12 with KVM+Qemu and libvirt ( VirtManager as a GUI ) to create my virtual Machines. I want to have several Virtual machines that have "some" GPU Acceleration NO Direct GPU ...
Viktor Carlson's user avatar
0 votes
0 answers
27 views

2nd GPU exclusively for VMs (GTX 1070 with GTX 970)

a few weeks ago I upgraded my almost 10 year old PC. I replaced my GTX 970 with a GTX 1070. The thing is, I feel bad when replacing working hardware without real cause. The new GPU actually made ...
Feelefant's user avatar
-1 votes
1 answer
63 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: ...
Allexj's user avatar
  • 265
0 votes
0 answers
56 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 ...
plznobug's user avatar
1 vote
0 answers
89 views

Running VMs and virsh command from qemu build from source

I am trying to build QEMU from source using the instructions given here. I am trying to implement a research paper which adds features to the migration mechanism of QEMU and so I need a custom build(...
Amit Kumar's user avatar
0 votes
0 answers
29 views

Does it make sense to run mcelog inside of a kvm vm?

I would imagine it would catch qemu / kvm / libvirt bugs, and probably nothing related to the actual hardware. Running mcelog on the host of course, but is it worth it/helpful to run it inside a kvm ...
cat pants's user avatar
  • 475
6 votes
1 answer
183 views

Is there a way to determine what process is rebooting a server?

I have a kvm vm that seems to be rebooting randomly. I'm not seeing anything in syslog about reboot, shutdown, error, core dump, panic, etc. No errors in libvirtd log on the host either, no errors in ...
cat pants's user avatar
  • 475
0 votes
0 answers
124 views

Debian based guests sometimes boot into UEFI shell qemu

My host runs Debian 12 and is used as a hypervisor using QEMU and libvirt. I have several Debian based server VMs and they almost always boot into UEFI shell instead of normally. I still can boot by ...
td211's user avatar
  • 374
1 vote
0 answers
32 views

How to make a roofs image for qemu using febootstrap

I tried to use febootstrap to make a roofs image for qemu-kvm. I frist generated a roofs with command febootstrap -i coreutils -i vim centos79 centos_7.9 https://mirrors.163.com/centos/7/os/x86_64/ ...
plznobug's user avatar
2 votes
2 answers
302 views

How to start docker container X86 on Rasberry PI 4 with arm64 architecture?

I have Raspberry PI 4 with 8 GB memory. And I have x86 container. It is working on x86/amd64 servers correctly. I would like to port it to raspberry. It has ubuntu 22 released from Raspberry team. I ...
Dmitry Senashenko's user avatar
0 votes
0 answers
33 views

same ip and subnet in 2 different bridges

I am trying to create 2 different virtual networks in the same ip range (not using NAT) in virt manager. This doesn't work with the gui or editing the xml of the new virtual network. Is creating ...
ISG's user avatar
  • 1
0 votes
0 answers
32 views

Unable to ping KVM/Qemu VM: Administratively prohibited

I am trying to setup routing to a KVM on my computer. When I try to ping a VM from another machine, I get the error message "Administratively prohibited". The VM can send IPv6 traffic out (...
Farhan Yusufzai's user avatar
0 votes
0 answers
20 views

Virsh Local vs SSH [duplicate]

I log in as user on a host machine and run virsh list --all and get the below: Id Name State ---------------------------------- 13 win10 running 14 OpenSuse ...
John's user avatar
  • 1
1 vote
1 answer
275 views

How to modify (add files or directories) to the qemu-img created raw disk file?

How to add files or directories to the qemu-img created raw disk file. For example. I use qemu-img create -f raw disk.raw 1G to generate a disk.raw file. I want to copy some /bin, /usr directories to ...
Zhaoyang's user avatar
0 votes
0 answers
25 views

Passthough special keys from keyboard to guest OS?

I have a MS Natural Keyboard 4000 and I want to use its special keys in my guest OS. Both are Linux Mint. Without any additional configuration some keys are passed (Home, Mail, Volume, Fav, etc.) but ...
user22942146's user avatar
0 votes
0 answers
71 views

Change resolution of a windows guest to a custom value

I use a Windows guest to run my MS office applications, like office Word. I typically keep MS Word fullscreen in my guest, and keep my guest's resolution at 1920x1080 (my host's resolution). However, ...
Anm's user avatar
  • 113
1 vote
1 answer
509 views

No login prompt in QEMU serial console

I'm running an Ubuntu Jammy Desktop VM in QEMU. The host system is also Ubuntu Jammy. The command is: qemu-system-x86_64 \ -nodefaults \ -machine q35,accel=kvm \ -cpu host \ -smp 2 \ -m 2G \ ...
ghik's user avatar
  • 113
0 votes
0 answers
245 views

How can I use QEMU GTK as display when using libvirt?

I was following the guide for configuring Intel GPU Passthrough through GVT-g and had some issues when trying to use QEMU GTK as a display. In order to troubleshoot this more easily, I tried this out ...
cidra's user avatar
  • 81
0 votes
1 answer
124 views

Linux and KVM Qemu VM - "Couldn't ARP for host" despite that host and VM are both bridged and in the same subnet

I am using KVM Qemu in Kali linux host, and trying to practice ARP spoofing. In the Kali linux (which is connected to wired ethernet network), I have set up the following configuration (from tutorials ...
Shy's user avatar
  • 599
0 votes
0 answers
148 views

Debugging the Linux kernel using QEMU + (K)GDB -- some doubts and queries

I'm trying to debug the Linux kernel (v3.13) via QEMU. I am using this, this and this as reference. Since my host is Linux Mint Victoria, it was too much of a hassle trying to compile the kernel as ...
Skegg's user avatar
  • 101
1 vote
0 answers
87 views

Multipass with QEmu driver: how to access usb camera

on my Asus rog laptop with ubuntu 23.10 I installed the ROS (robot os) image from multipass, as explained in this official guide https://ubuntu.com//blog/ros-development-on-linux-windows-and-macos . I ...
AndrewBloom's user avatar

1
2 3 4 5
22