Questions tagged [qemu]
QEMU (short for "Quick EMUlator") is a free and open-source hosted hypervisor that performs hardware virtualization.
1,076
questions
0
votes
0
answers
11
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 ...
0
votes
1
answer
25
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 ...
5
votes
4
answers
593
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 ...
1
vote
0
answers
20
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
134
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 ...
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 ...
1
vote
1
answer
42
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,...
0
votes
0
answers
23
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 ...
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-...
0
votes
0
answers
29
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 ...
0
votes
0
answers
25
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-...
-1
votes
1
answer
103
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 ...
0
votes
0
answers
50
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 -...
1
vote
0
answers
31
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 (...
0
votes
1
answer
75
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 ...