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
1 vote
1 answer
26 views

Why CentOS converts ATA bus to scsi bus?

I use libvirt + qemu to boot a VM with a disk with IDE bus device in libvirt: <disk type='network' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source ...
user avatar
  • 13
0 votes
0 answers
15 views

Peripherals lag on KVM/QEMU

I've been using a virtual machine for a development environment and for gaming, but I can't troubleshoot why my keyboard lags a little bit while using a virtual machine every time I use the terminal ...
user avatar
1 vote
0 answers
10 views

Can't boot arm64 cloud image with qemu

I first downloaded ubuntu-22.04-server-cloudimg-arm64.img, then I started it with qemu qemu-system-aarch64 -m 2G -M virt -cpu max -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd -drive if=none,file=...
user avatar
  • 50.7k
1 vote
0 answers
36 views

Virt-manager "Unable to complete install: 'Requested operation is not valid: network 'default' is not active'"

I have just instaled virt-manager on Arch Linux, I've gone through all of the steps of creating a VM, but when I click on "Finish" on step 5/5 I get two pop-up dialogs: Unable to complete ...
user avatar
  • 11
1 vote
0 answers
14 views

Using OpenGL ES, Vulkan and DirectX in QEMU Aarch64 Release

I am using QEMU 7.0 Aarch64 (ARM64) on Android. I am using Windows 11 ARM64, Ubuntu 22.04 LTS with KVM. I need 3D acceleration but I don't know how to open it. It has Mali G76 MP4 GPU and supports ...
user avatar
0 votes
1 answer
21 views

macos monterey: PF load anchor syntax error

I am trying to make a NAT interface to connect tap0 to the internet for QEMU. So far I've made a bridge and connected tap0 to it: sudo ifconfig bridge1 create sudo ifconfig bridge1 addm tap0 sudo ...
user avatar
0 votes
0 answers
22 views

cannot create qcow2 format VM disk on LVM logical volume

I tried to create a new VM using LVM logical volume tdv_qcow2 as its disk, but it seems to be using raw format instead of qcow2 format, even though it is explicitly specified. sudo virt-install --virt-...
user avatar
0 votes
0 answers
10 views

Color management / profiles in a virtual machine under Linux

I have some photo editing software that I intend to run on a Windows VM, with the host being Ubuntu. I already read about color management for the Ubuntu OS itself and I think I managed to set up the ...
user avatar
0 votes
0 answers
15 views

When using SPICE for the QEMU VM, geeing a black screen instead of FDE password screen

When I run VM with the following command: qemu-system-x86_64 -accel kvm,thread=multi -cpu host -smp 2 -m 4096 \ -drive file=/media/blueray/WDPurple8TB/QEMU_Backup/ubuntu.qcow2,if=virtio \ -vga virtio -...
user avatar
  • 1,201
2 votes
1 answer
47 views

How can I stop my Linux virtual machine from writing data to empty disk blocks?

I've got an Ubuntu 20 virtual machine running in qemu that uses a qcow2 disk file with another qcow2 disk file as backing store. The VM was built from a recent Canonical-distributed cloud image with ...
user avatar
-2 votes
1 answer
30 views

99 kvm/qemu/virt-manager problems

Specs Host system: Kernel: 5.15.28-1-MANJARO virt-manager version 4.0.0 CPU: AMD Ryzen 7 5800H Questions should be specific and address only one problem etc.. i know. But this program has me ...
user avatar
  • 7
0 votes
0 answers
20 views

Minimal boot grub settings to run inside qemu

I am running terminal only (arch-linux) distro under Quemu on mine raspberry pi4 mostly as a shortcut to access some tools not available on aarch64 (tried to make mine own packages to port them, but ...
user avatar
  • 1
0 votes
1 answer
42 views

virtual machine manager gui "Please specify a valid OS variant"

When creating a VM, this error appears: "Please specify a valid OS variant" and I don't know why, it's coming from the OS type section, how do I fix this? Edit: i found a different way to ...
user avatar
0 votes
0 answers
26 views

How do I force reset (from the host) a VM started with qemu-system-x86_64?

I have a Windows VM that is stuck on the blue reset screen. Usually in this situation I just kill the process for the VM, but obviously that isn't ideal. It seems that they way to do this is through ...
user avatar
1 vote
1 answer
27 views

How to restore free Space after deleting virtual machine disk?

Hello everyone i wish you all doing good. So lately i was working on a Manjaro 21.2.5 host on latest updates with a Windows 11 guest Vm running on qemu/kvm with libvirt and a dynamique size virtual ...
user avatar
1 vote
1 answer
15 views

Why does traffic continue to flow through my gateway despite a firewall rule blocking all outbound traffic addressed to it?

While messing around in a qemu guest I discovered something very peculiar. If I set the system firewall to reject all traffic to my gateway (10.0.2.2), the firewall only rejects traffic destined to ...
user avatar
0 votes
0 answers
37 views

The qemu service libvirtd/virtqemud crashes with an "End of file while reading data: Input/output error"

On my CentOS 9 Stream box my qemu service libvirtd or virtgemud crashes, tried both, not at the same time though ;-) (I'm aware I should use virtgemud) I run fine between 5-300 seconds randomly :-/ ...
user avatar
  • 530
1 vote
0 answers
24 views

Qemu Instraction Suspend and Resume

When dealing with the synchronization between QEMU and the outside SystemC model, in order to reduce the synchronization and recovery overhead, it is necessary to pause and recover at the instruction ...
user avatar
0 votes
1 answer
40 views

Dropbear ssh server immediately quits after startup

I built a linux kernel (v. 5.17.1) with default config and created a minimal root fs using buildroot (both for x86_64). I modified the configuration of buildroot to use glibc and added DHCP for eth0. ...
user avatar
  • 121
0 votes
0 answers
55 views

Making legacy BIOS iso

I am trying to create ISO image for hobby operating system I develop. On my former amd64 machine that was working fine (running Ubuntu 21.04 as development platform. Quite straightforward way to ...
user avatar
0 votes
1 answer
44 views

I need help (both with GRUB and GPU pass-through)

How do I add a parameter to system-d on Pop!_OS? I want to pass-through a GPU. Please also give a a good guide of how to GPU pass-through on Pop!_OS 21.10. Thanks in advance.
user avatar
0 votes
1 answer
57 views

Running Raspberry PI buildroot image in qemu

I am trying to build a linux image for raspberrypi3 with buildroot and run it on qemu. Once the make process is done i can copy the sdcard.img file into a SD card and correctly run the OS on a real ...
user avatar
0 votes
1 answer
346 views

libvirt QEMU/KVM guest cannot connect to network (NAT)

An Ubuntu QEMU/KVM guest created in virt-manager with all default settings and network type NAT can't activate its network. My host is Fedora 35. A screenshot of the guest's NetworkManager log is ...
user avatar
  • 1
0 votes
0 answers
16 views

Debugging both kernel and userland with QEMU and gdb

I am trying to debug the kernel in order to observe all the mechanisms such as context switching or interrupts handling. When I attach r2 or gdb with QEMU, it works well for the kernel part, but it ...
user avatar
  • 27
0 votes
1 answer
104 views

Arch (or Manjaro) install into KVM VM: UEFI boot disk not found after cold start

I installed Arch Linux into a KVM virtual machine using the Installation Guide. The installation was successful because after rebooting, I boot into my fresh installation. The problem is that after I ...
user avatar
0 votes
1 answer
19 views

QEMU stuck keys

My keyboard locks up sometimes when I press CTRL related keyboard combinations, for example CTRL+C, CTRL+V etc. One behaviour is that the "C" key seems to be stuck so it writes "...
user avatar
  • 101
1 vote
1 answer
116 views

QEMU KVM Black Screen

I have KVM enabled on my phone and it works, but it stays on a black screen except for QEMU Monitor stdio (But it only shows text like Press a key to boot from CD/DVD. In GUI sections, a line flashes)...
user avatar
1 vote
1 answer
119 views

qemu/KVM iptables port forwarding

After dozens of articles, blob, tutorials and even answered questions here on stackoverflow, I'm still stuck on my problem: how to setup port forwarding from host to guests VMs. First: sorry for my ...
user avatar
  • 13
0 votes
0 answers
38 views

qemu-img command doesn't create the qcow2 file

I am using a macOS 12.2.1 with m1 chip. I successfully installed qemu using brew. I am trying to convert my ubuntu iso file to qcow2. When I run, qemu-img create -f qcow2 ubuntu-20.04.3-live-server-...
user avatar
  • 1
0 votes
0 answers
24 views

Using -enable-kvm inside virtual machine

I have a virtual machine (Ubuntu 20) under VirtualBox (6.1.26). I am trying to run yet another vm inside ubuntu vm using qemu. It works, however, running qemu inside vm with -enable-kvm is almost 2 ...
user avatar
0 votes
1 answer
41 views

Can I add multiple users to qemu.config?

I am installing my first KVM/QEMU based virt manager. As per the instruction one needs to change the config file of qemu.config. sudo nano /etc/libvirt/qemu.conf I used vim to edit the file and added ...
user avatar
0 votes
0 answers
33 views

How to make use of QEMU virtio crypto device?

While trying to optimize the performance of my virtual machines, I stumbled upon a virtio device namely virtio-crypto-pci. With no tutorial and little documentations, I managed to use it as follow: [.....
user avatar
  • 445
1 vote
1 answer
135 views

How to make a USB device available to a QEMU guest?

I am trying to make my laptop camera accessible by a guest system on it. With the guest system not running, I open it in virt-manager, go to "Show virtual hardware details" → "Add ...
user avatar
0 votes
0 answers
55 views

Why does qemu-system-arm hang if dtb and machine are swapped?

I am trying to use qemu-system-arm to emulate an embedded system. I am using Ubuntu 20.04 and installed the backport of QEMU emulator version 5.0.0 (Debian 1:5.0-5ubuntu6~ppa0). I thought I would ...
user avatar
0 votes
0 answers
44 views

Using Wireguard to expose Minikube services on a VM

Due to hitting bugs running Minikube on BTRFS, I am running it now on a QEMU Fedora 35 guest VM on Fedora 35 host. I can use ssh -fNL port forwards to access the Podman diven network services in the ...
user avatar
  • 151
1 vote
1 answer
61 views

Can a malicious docker image running on GNOME-Boxes compromise the host?

I'm using GNOME-Boxes to run a Fedora 35 guest inside a Fedora 35 host. If I ran a docker container, using the --privileged flag (among others), what's the most harm it could cause? I read a malicious ...
user avatar
0 votes
0 answers
101 views

How to prevent QEMU automatically releasing mouse grab?

On Windows 11, running QEMU x64 (qemu-w64-setup-20211215). MacOS 9.x as quest. How can I prevent QEMU from releasing the mouse (and thus REQUIRING the use of ctrl-alt-g to release it?) The problem is ...
user avatar
0 votes
0 answers
26 views

How to disable output to console after launching QEMU VM?

I have to run three VMs on QEMU. for VM in ctrl-vm src-vm dst-vm do case ${VM} in "ctrl-vm") mac_addr=00:00:00:00:00:01 tap=tap0 port=30020 ...
user avatar
0 votes
0 answers
144 views

KVM-QEMU + Libvirt - CPU Pinning

I would like to ask, if it is possible to reserve cores just for particular VM's and prevent others to use them. Let me explain closer: I'd like to have 2 virtual machines to be pinned to cores 0-7 ...
user avatar
  • 101
0 votes
0 answers
52 views

CentOS 8 Stream Virtual Machine Networking with Bridges VM's cant use default (gateway) dns servers

I have a physical server running CentOS 8 Stream. It has 2 network interfaces, eno1 and eno2. The eno1 interface is reserved for the main server; eno2 is set up as a bridge for VMs. I'm using Virtual ...
user avatar
  • 101
0 votes
0 answers
75 views

Restarting the libvirtd service

I know this may be a silly question. I just installed QEMU on my system (Gentoo) and, I'd like to know if it is really necessary to have to use /etc/init.d/libvirtd restart, every time I reboot my ...
user avatar
0 votes
1 answer
283 views

Shell script to start qemu with parameter results in 'invalid option'

I wrote a shell script to start my win 10 VM with qemu. Running the script result in the message 'invalid option'. I do not understand this as the qemu VM starts properly if I type the command by hand?...
user avatar
1 vote
0 answers
239 views

Installing AIX 7.2 from two iso files, using QEMU under CentOS 8

I'm trying to install AIX 7.2 having it on two iso files, virtualizing with QEMU version 4.2.0. I've created a disk file using the following command: qemu-img create -f qcow2 hdisk0.qcow2 20G Then I ...
user avatar
  • 105
0 votes
0 answers
50 views

USB devices in android, without a module in the android kernel

I have a rather strange theoretical question. For example, when I connect a USB device to my Linux AMD64 PC, the functionality of this USB device depends on the presence of the corresponding module in ...
user avatar
0 votes
0 answers
158 views

Not able to connect to internet from guest OS using qemu-kvm

I am trying to emulate FreeBSD (RISC-V 64) using QEMU-KVM on a x86-64 host running Debian. I have installed the required packages qemu-system-riscv64 (from qemu-system-misc), opensbi and downloaded ...
user avatar
  • 1
0 votes
0 answers
110 views

How to connect a QEMU VM to the internet over host's network?

I typed the following command into my terminal: qemu-system-ppc64le -boot menu=on -device e1000,netdev=network0 -drive file=myVM.qcow2,format=qcow2 -machine pseries-2.12 -m 4G -netdev user,id=network0 ...
user avatar
  • 1
0 votes
1 answer
55 views

Virt-manager: How to ignore key sequence from host?

I'm on Debian+Xfce and I have two desktops. I set Super+F1 to take me to the first desktop and Super+F2 to take me to the second desktop. I would like to run a virt-manager guest in full screen on the ...
user avatar
1 vote
0 answers
15 views

Problem with IO accessing for 64-bit values in Edu device in QEMU

I am currently writing a device driver for Edu device in qemu (RISC-V). From this question, I find that there is already a device driver for such device. According to this line of the documentation of ...
user avatar
0 votes
0 answers
37 views

virsh cpu-baseline issue

According to the libvirt virtualization api manual pages: cpu-baseline Compute baseline CPU which will be supported by all host CPUs given in <file>. So, as a theoretical exercise, I've ...
user avatar
3 votes
1 answer
387 views

How to get the hostname and IP address of a VM using qemu-guest-agent

I am running a VM using qemu-system-x86_64 -accel kvm,thread=multi -cpu host -smp 1 -m 2048 \ -drive file=ubuntu-server1.qcow2,if=virtio -vga virtio -display none -daemonize \ -nic bridge,model=virtio-...
user avatar
  • 1,201

1
2 3 4 5
18