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
24 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

15 30 50 per page
1
2 3 4 5
36