Skip to main content

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
15 views

Qemu - attempting to emulate Windows 10 with multiple cores

So I'm trying to get Qemu to use more cores on my Raspberry Pi 4b due to the poor performance on emulating Windows 10, but it seems to be using one of the cores, but not any others. I did use the -smp ...
LilData777's user avatar
0 votes
0 answers
19 views

SSH issue while building RHEL image using image-builder for EKS Anywhere

I have been trying to build RHEL iso image using EKS-A image-builder, but getting below SSH connection time out error all the time, while connecting to vm after boot. qemu: output will be in this ...
Sandeep's user avatar
1 vote
1 answer
24 views

Double-tap on touchpad doesn't work in QEMU Debian

help please! I have Debian on host machine with qemu installed and debian as guest OS. lxde is used both on the host and guest. Touchpad shows strange behavior, after booting up the VM double tap on ...
George's user avatar
  • 11
0 votes
1 answer
18 views

QEMU VM into Boxes

I am a long time linux user (ubuntu-budgie 24.04) trying out VMs recently. I followed this recipe to create a QEMU vm running GhostBSD 24.04.2. It works great from the command line using qemu-system-...
twowheeler's user avatar
0 votes
0 answers
23 views

Kernel panic - not syncing: Unable to initialise architected timer : unable to boot Android 14 with qemu-system-aarch64 on Ubuntu 24.04 X64 bit

I want to emulate Android 14 by KonstaKang using qemu-system-aarch64 and as model virt on Ubuntu 24.04 x64 bit installed on my PC (Intel I9 + RTX 2080 ti). I've chosen the parameters to boot it,...
mister_smith's user avatar
0 votes
0 answers
22 views

How to create a qemu vm with two disk

I need to create a vm with qemu with two disk, so the second disk appears as second device with name i.e. /dev/sdb To create with a vm with single disk: qemu-img create -f qcow2 alpine.qcow2 16G qemu-...
Irina's user avatar
  • 133
0 votes
0 answers
24 views

Can I start a qemu/kvm virtual machine on a different tty without switching to that tty?

This is an issue that has followed me throughout multiple versions of RHEL, from 7.X, and now onwards to 9.X, with multiple versions of QEMU built against it, all while experiencing the same issue. I ...
Jason's user avatar
  • 1
0 votes
0 answers
27 views

Linux cannot "find" DTB provided by QEMU

I'm trying to use QEMU 9 to emulate a Versatile AB development board and boot Linux. I've grabbed vmlinuz and initrd.gz from the Debian Jessie netboot installer and the devicetree from contemporary ...
rgov's user avatar
  • 253
1 vote
0 answers
61 views

Waking Qemu From Suspend With USB Device

I am doing research with Linux Power Management interactions with USB devices. Which is why I would like to be able to wake a qemu vm from suspend with a passed through USB device. I have been able to ...
Darrion Ramos's user avatar
0 votes
2 answers
55 views

Host: Manjaro, Guest: Artix Linux, Issue: No virtio internet/NAT connection on VM

Like the title says, for whatever reason my VM no longer connects to the host/internet. An e1000e connection does work. So the problem seems to be with virtio? On host: ip a ... 4: virbr0: <...
Folaht's user avatar
  • 1,112
0 votes
1 answer
57 views

How is my x86_64 machine is running an arm64 binary? [duplicate]

My machine's architecture is x86_64 and I've cross-compiled arm64 assembly (from here) into an executable. However the binary is still runnable on my machine... how? Here are the outputs to the ...
arm.u's user avatar
  • 3
0 votes
0 answers
16 views

QEMU/KVM connection drops immediately after starting up virtual machine with GPU passthrough

I have a Windows 10 virtual machine with GPU passthrough in Virt-Manager. Recently it has suddenly started to crash the QEMU/KVM connection it is connected to, as in spontaneously disconnecting. Is ...
wharbait's user avatar
0 votes
1 answer
46 views

Does running a VM typically affect host input lag?

I'm running a Windows 11 VM via qemu/libvirt on my Fedora 40 (Plasma Wayland) host. The VM is configured to use a passthrough GPU, 25% of my cores (6), and 25% of my memory (16GB). For input it has a ...
user626019's user avatar
1 vote
1 answer
103 views

Which Linux kernel config options are required to get QEMU virtio to work?

I am currently trying to boot a QEMU VM with a virtio-blk hard disk and I am failing. I cannot seem to get the kernel to recognize the virtio device. I am on a linux-6.1.97 source tree and ...
milck's user avatar
  • 161
0 votes
1 answer
41 views

can't boot linux distro I made

I need some help, because when I boot my initramfs.img and my bzImage in qemu it boots normally. but then it just goes: [ 34.354852] dracut: FATAL: iscsiroot requested but kernel/initrd does not ...
Rioboyva2554's user avatar
7 votes
4 answers
698 views

Simulate slow disks in KVM to see effect of LVM cache in test setup

I'm setting up a Linux system in KVM (QEMU) to test the effect of adding a writeback LVM cache on a fast disk in front of a logical volume that resides on a set of very slow disks (a RAID1 LV). This ...
Kusalananda's user avatar
  • 341k
1 vote
0 answers
74 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 ...
fb0034's user avatar
  • 11
2 votes
1 answer
145 views

Not working break in for loop in bash script for mounting a VHD

I'm not an experienced programmer. So maybe it's obvious for you why the break command in this script does not terminate the loop, but I can't see what is causing the problem. I want to use the script ...
Shakesbeer's user avatar
0 votes
1 answer
34 views

How I can sniff network from host to quest that uses wifi usb device?

I want to achieve this: I have a Linux guest VM using QEMU, using directly a USB Wi-Fi stick via USB passthrough. In the meantime, using wireshark, I want to sniff the network data from it. In my ...
Dimitrios Desyllas's user avatar
1 vote
1 answer
92 views

USB device not detected upon quest when I usb passthrough using qemu

I run an Ubuntu Iso as: #!/bin/bash MEM_SIZE=4096 qemu-system-x86_64 \ -accel kvm \ -cpu host \ -m ${MEM_SIZE} \ -M q35 \ -bios /usr/share/ovmf/OVMF.fd \ -device qemu-xhci \ -usb -device usb-host,...
Dimitrios Desyllas's user avatar
0 votes
0 answers
29 views

PCI Passthrough PCI Slot Reference Change

I'll do my best to explain this as its confusing. I have Qemu/Virtual Machine Manager on my host PC. I created an Ubuntu VM and assigned two PCI slots (which are physical network cards) to it within ...
john smith's user avatar
0 votes
0 answers
15 views

How do I solve the booting issue with qemu vexpress-a9 zImage?

I'm studying about the boot loader. I aim to build the Linux kernel and boot the zImage on qemu-system-arm. First, I installed a cross-compiler for vexpress-a9. Using crosstool-ng, I installed arm-...
전기현's user avatar
0 votes
0 answers
59 views

is it possible to boot into luks encrypted raw disk image with qemu/libvirt/virtualbox?

Done dd of my luks encryted drive, now im courious if its possible to create libvirt/quemu guest and attach that luks encrypted raw image and run it as is? Actually I have Fedora 38 on it with several ...
tomandjerry's user avatar
0 votes
0 answers
34 views

Why I see different cpu-migrations from top and perf stat?

New to system performance analyze. I am curious on how CPU affinity affect kvm virtual machine. So I try to bind vm's vcpu to physical cpu to improve vm's performance. find the pid of the vm(ecs-...
coolder's user avatar
-1 votes
1 answer
383 views

How do I physically pass a USB device to a QEMU VM

I've been trying to use a Linux QEMU virtual machine for USB driver development. I wanted to use USB passthrough but when I check the USB device in the VM, it shows some kind of generated product id ...
Mach's user avatar
  • 1
0 votes
0 answers
108 views

USB passthrough in Android emulator on MacOS M1 failing to acquire exclusive access

I am trying to get my Android emulator to see the Wi-Fi dongle or my Ethernet dongle connected over USB to the Macbook Pro M1. I tried the following methods: Command: ./emulator -avd MyTestEmulator -...
HackX123's user avatar
1 vote
0 answers
43 views

QEMU, Debian VM doesn't boot after shutdown on M1

On M1, I 'm trying to run a Debian 12 VM. After the installation process, whether configured using a deb_preseed.cfg (within the Automated Install) or through the GUI configuration, it fails to run (...
szr's user avatar
  • 11
0 votes
1 answer
110 views

How to start a qemu virtual machine and from the host, execute some commands to finally shut it down

I'm deploying virtual machines with qemu. Installed OS is Debian with linux kernel debian 6.8.11-amd64. The way I deploy a vm is directly with qemu-system command (i.e no vm manager). In a command ...
Pierre's user avatar
  • 3
0 votes
1 answer
49 views

libvirtd not starting after unsuccessful GPU passthrough

I attempted to follow this guide on Ubuntu 22.04: https://wiki.gentoo.org/wiki/GPU_passthrough_with_libvirt_qemu_kvm I didn't need to change my BIOS or my Kernel, and I skipped the step involving the ...
adamlaughlin's user avatar
0 votes
0 answers
48 views

OpenRC not starting services

For testing purposes, I need a quick way to generate a root filesystem to use for booting freshly built Linux kernels. I've been doing this by using Docker to create a filesystem and then transferring ...
larsks's user avatar
  • 36.4k
0 votes
0 answers
33 views

Can I use $USER enviroment variable inside qemu.config?

I am installing my first KVM/QEMU based virt manager. As per the instructions on Arch Wiki, one needs to change the config file of qemu.config. sudo vim /etc/libvirt/qemu.conf I used vim to edit the ...
Krapp's user avatar
  • 103
0 votes
0 answers
73 views

How do I properly chroot from a amd64 artix VM into a mounted aarch64 armtix OS image?

I want to chroot into an armtix (aarch64) OS image inside an artix VM. I copied qemu-aarch64-static into the mounted /usr/bin and then tried to chroot into the mounted image. It works, however, most ...
Folaht's user avatar
  • 1,112
0 votes
0 answers
29 views

How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

I want to be able to create multiple VMs for testing purposes -- questionable websites, files that could be infected with a virus, etc. I want to make sure these VMs should be able to access the ...
IMTheNachoMan's user avatar
1 vote
1 answer
189 views

How to place a qemu vm in background (it means that it should run between the processes but nothing should be shown on the screen)

I would like to run the qemu vm that you see below runs between the processes,so I don't want to see any monitor,graphic,terminal window,nothing should be shown on the screen. /usr/local/bin/qemu-...
Marietto's user avatar
  • 549
0 votes
0 answers
17 views

Understanding the flash translation layer - SSD emulation

Can anyone suggest me a blog/article on how to get an NVMe simulation environment up and running? I'm basically looking at using NVMe as an emulated device in Qemu and tracing the read, write and stat ...
Skegg's user avatar
  • 121
-1 votes
2 answers
1k views

Need to use .qcow2 VM file format but only have VirtualBox

I only have VirtualBox. I have a .qcow2 image I need to use. VirtualBox supports several file formats, but not .qcow2 What are my options? I'd much prefer not have to change to a different hypervisor.
Alfred.37's user avatar
  • 157
-1 votes
2 answers
184 views

Limiting the file size of .qcow2 files [closed]

Qcow 2 files are an open source file format for virtual machines. In my opinion, unlike .vmdk files, they do not offer the option of specifying a maximum file size. This means that they can constantly ...
Alfred.37's user avatar
  • 157
0 votes
0 answers
37 views

Converting a virtual machine a standalone directory hosted on Ubuntu

A software platform I'm responsible for requires a minimal Ubuntu distribution with software that is partially integrated with the OS and uses TTY terminals. We've typically contained the OS in a ...
Chase Schuette's user avatar
0 votes
0 answers
82 views

How to let two qemu instances access each other under the same network? The host is Windows 11

The first instance is: .\qemu-system-x86_64.exe -cpu IvyBridge -smp 4 -m 4096 -nic user,hostfwd=tcp:127.0.0.1:10022-:22 D:\vm1.qcow2 -accel whpx So the network backend is user mode network of qemu, ...
kingluo's user avatar
  • 101
0 votes
0 answers
141 views

QEMU/KVM: capturing keyboard shortcuts by the guest operating system

I have installed QEMU/KVM on my Ubuntu and created a new VM. When trying to switch apps using Alt+Tab or "Show Applications" using Windows key it is captured and interpreted by the host OS ...
etbaba's user avatar
  • 1
1 vote
0 answers
54 views

Is it possible to hardware accelerate spice with an nvidia gpu?

It is possible to use virgl with an nvidia gpu: <graphics type="egl-headless"> <gl rendernode="/dev/dri/renderD128"/> </graphics> <video> <model type=...
Cestarian's user avatar
  • 2,081
0 votes
0 answers
17 views

How do I compare performance of two linux kernel images running on QEMU?

I have built a tracing utility for the Linux Kernel and am testing the same on QEMU. I want to compare the performance of the kernel with and without the tracer. How do I go about doing this?
Yuv's user avatar
  • 1
1 vote
0 answers
164 views

QEMU - Bridge networking does not work on Debian Bookworm guest on M1 Pro host

I have a Macbook Pro M1 Pro host running a Ubuntu and Debian guests on UTM. The Debian guest is unable to connect to the internet if I use anything but emulated VLAN as the network setting. This is ...
Sarp User's user avatar
0 votes
0 answers
130 views

Qemu GPU/Display passthrough

I want to passthrough my GPU to the QEMU Guest and it complete control of my monitor (seem as if it was the ONLY OS running) I have tried on a laptop with only the built-in monitor and the screen just ...
user18812922's user avatar
0 votes
1 answer
86 views

What can cause network drop when running a VM with virt-manager?

I'm new to virt-manager, qemu and libvirt so I barely know how to use them. I use virt-manager's GUI to make it easier for me to do a transition from VirtualBox (including VBoxManage) to KVM. By far I ...
NewbieDeveloper's user avatar
0 votes
0 answers
103 views

Pass-through of OBS Virtual Camera to QEMU

I'd like to use my OBS virtual camera in a virtual machine. OBS will not run within a virtual machine unless I perform a GPU-passthrough, which I feel is unnecessary and undesirable in this situation. ...
adamlaughlin's user avatar
1 vote
0 answers
59 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
  • 11
0 votes
0 answers
93 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
87 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
57 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

1
2 3 4 5
22