Skip to main content

Questions tagged [qemu]

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

0 votes
0 answers
9 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
30 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
0 votes
0 answers
29 views

Is my characterisation of KVM and QEMU accurate?

I usually write essays on topics I am studying to help my understanding. Below are excerpts from my study of Virtualisation. I would like comments from real professionals on their accuracy. KVM is ...
bonecrusher's user avatar
0 votes
1 answer
43 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
  • 151
0 votes
1 answer
32 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
637 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
  • 339k
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 ...
fb0034's user avatar
  • 11
2 votes
1 answer
139 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
28 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
49 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
25 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
10 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
37 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
28 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
162 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
61 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
33 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
82 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
30 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
25 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
  • 36k
0 votes
0 answers
26 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
49 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,082
0 votes
0 answers
21 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
105 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
11 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
488 views

Use .qcow2 VM file format for VirtualBox

VirtualBox, supports several other file formats, but no .qcow2 format for the time being. The Virtmanager, in turn supports the current open source .qcow2 format, but not the outdated .qcow format. ...
Alfred.37's user avatar
  • 137
-1 votes
2 answers
121 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
  • 137
0 votes
0 answers
35 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
63 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
56 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
30 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,071
0 votes
0 answers
16 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
101 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
93 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
50 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
67 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
38 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
61 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
53 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
29 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
24 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
30 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
52 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
41 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
122 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
91 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
60 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
66 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
73 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
203 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

15 30 50 per page
1
2 3 4 5
22