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
1answer
31 views

libvirt user access stopped working

I'm using virsh and virt-manager to manage some qemu/kvm VMs on an otherwise vanilla CentOS machine. Our admins' user accounts are given the libvirt group. This had worked for a long time, but ...
1
vote
1answer
51 views

How to merge common parts of qemu qcow2 disks

I have a qemu image B.qcow2 that is a snapshot of A.qcow2. I created a copy of B.qcow2 by using cp B.qcow2 C.qcow2 and then worked on both B.qcow2 and C.qcow2 independently. Thus, B.qcow2 and C.qcow2 ...
0
votes
0answers
12 views

windows vm on ubuntu quemu host

after seeing several guides on the internet my confusion has become stellar! What I would like to be able to do is a windows virtual machine (hosting a website) on ubuntu host (18.04) server / qemu. I ...
0
votes
1answer
114 views

Qemu config file error "Invalid parameter host"

I'm new to QEMU and currently playing around with QEMU config file to understand how it works. I tried to put all the options of my simple QEMU command line sudo qemu-system-x86_64 -cpu host -enable-...
0
votes
0answers
33 views

Attach a drive to RISCV-64 Linux in qemu does not work

based on this instruction Set Up The Environment for RISCV-64 Linux I've created RISCV-64 Linux Image on arch Linux(I did not compile the qemu because there was a binary package) and I want to attach ...
1
vote
2answers
267 views

How to update the firmware of a Cardo Packtalk Slim (or Freecom) on linux (natively or through a virtual machine)?

The firmware updating software for Cardo bluetooth communication systems (Packtalk, freecom,...) are only available for Windows and Mac OS. I do not have these OSes running natively. Is it ...
-1
votes
2answers
91 views

Boot Ubuntu ISO under qemu

Probably a very simple issue: I'm trying to boot the offical Ubuntu 20.04.2 ISO image under qemu. For this purpose I've first created a disk image: qemu-img create ubuntu-20.04.2.0.img 10G And then ...
0
votes
0answers
52 views

Dynamic screen resizing on QEMU (without virt-manager)

I'm running QEMU (6.0.0) on bspwm (Arch Linux), when i launch it alone on a workspace, like this: ________________________________________ | ____________________________________ | | | ...
1
vote
0answers
152 views

What is Virtual Serial Port in QEMU?

Ubuntu 20.04 both on host and guest. I'm new to QEMU and trying to set up guest-host communication via serial port. The QEMU documentation says that -serial dev option: Redirect the virtual serial ...
0
votes
0answers
13 views

how can I programmably config the qemu machine's firmware settings?

On centos there is no OVMF_CODE.fd but only OVMF_CODE.secboot.fd But I need to turn off the secure boot due to some drivers. I can manually disable the secure boot. But I wonder how can I do this ...
0
votes
0answers
63 views

Unexpected enum value 0 for virDomainDeviceAddressType emulating raspi3 on jetson nano with virt-install

it's more of a challenge,to be able to emulate the raspberry pi 3 on my Jetson nano (aarch64) using virt-install. I'm learning how to do that by reading heavily here : https://github.com/dhruvvyas90/...
1
vote
1answer
212 views

How to fix "qemu-system-x86_64: symbol lookup error: /lib/x86_64-linux-gnu/libvirglrenderer.so.0: undefined symbol: drmPrimeHandleToFD"?

I want to run qemu on Debian Buster, and have therefore installed the qemu-system-x86_64 package. The issue is that when I run: qemu-system-x86_64 \ -m 128M \ -cpu kvm64,+smep,+smap \ -...
0
votes
0answers
24 views

How do I block host mouse input to QEMU/KVM machines like VMware Player

VMware Player has this functionality where when you press Ctrl+Alt it will block any further keypresses/mouse movements to the guest until you click within the guest. This allows you to mouse over the ...
0
votes
0answers
172 views

Mouse wheel scrolling is sticky in QEMU/KVM guest

I am running an Antix guest in QEMU/KVM. When I use the mouse wheel to scroll inside the guest, and I change the scrolling direction (e.g. from down to up), the next two ticks of the wheel are ignored....
3
votes
0answers
35 views

Defunct process on every boot, if I don't kill it, it hangs during shutdown

Every time I boot my PC (Ubuntu 20.04.2 LTS), I have a defunct process: johan@johan-desktop:~$ ps -AF | grep qemu libvirt+ 1596 1 0 0 0 15 07:17 ? 00:00:00 [qemu-system-x86] &...
1
vote
1answer
625 views

How share folder with QEMU between MacOS host and Linux guest?

I am trying to run a Linux Debian with qemu with MacOS Big Sur host. Unfortunately virtfs doesn't work on Mac and there is no easy alternative that I have found. Is there a way to share folders? ...
0
votes
0answers
45 views

Difference between "kernel image" and "disk image"

I'm trying to boot Ubuntu on the gem5 simulator. The gem5 simulator expects 2 binaries to boot from: a "disk image" and a "kernel image". When I've booted Linux with QEMU or ...
2
votes
0answers
133 views

When using Spice and remote-viewer with multiple virtual monitors, stuck on "Waiting for display 2" indefinately

Following some research, I learned that the proper method to setup multiple virtual monitors with virt-manager, libvirtd, and qemu is to use spice (link, link, link). At first, I added three total ...
0
votes
0answers
178 views

audio: Unknown audio driver `jack' audio: warning: Using timer based audio emulation while I'm trying to configure pipewire / jack with a qemu VM

Does anyone run pipewire with their VFIO setup? I want to stop using pulseaudio but I'm having issues with the correct configuration of pipewire (and jack). My goal is to hear sounds inside the Ubuntu ...
0
votes
1answer
29 views

qemu - where are modules pulled from if using -kernel?

Where does qemu pull modules from when using a custom-built kernel (using -kernel)? Will the kernel try to find them in the guest FS or is the whole linux/qemu setup smart enough to realize that ...
0
votes
0answers
42 views

Improve Bus Speed/Throughput of a Qemu Guest (with KVM disabled)

I have an IBM POWER with 96 cores and 512GB. Host operating system is Debian ppc64. Qemu-5.2 (qemu-system-x86_64) is running a Debian x86 guest. No KVM because they're different architectures. Debian ...
0
votes
1answer
34 views

How to prevent from leaving QEMU

The command I use on debian: qemu-system-x86_64 -smp cores=8 --enable-kvm -m 2048 -vga cirrus -hda freedos.img -full-screen There are 3 ways to leave QEMU: Shortcut "ctrl+alt+2" will switch ...
1
vote
1answer
117 views

run unattended scripts with KVM/Qemu in Live CD environment

I am trying to set up an automated testing environment for these Linux installer scripts using KVM/Qemu guests. Currently it only has end-to-end support for bootstrapping a Debian system from a Debian ...
0
votes
0answers
72 views

KVM CPU compatibility requirements for live migration on aarch64

I'm trying to understand the CPU (and possibly kernel) requirements for a successful live migration of a KVM VM (OpenWRT) on aarch64 in order to decide on which SBC I should get as a second host. My ...
0
votes
0answers
48 views

How to get guest (qemu and virt-manager) to connect to WAN, with host being behind pfsense/opnsense router?

Can't figure out after 2 days of trying. No leases on the router, nothing on firewall log. Tried router and nat networking. Ideally I want to dedicate offline NICs on host to VMs, only allowing access ...
0
votes
0answers
219 views

VM shutting down as soon as it has lauched | qemu-system-x86_64: terminating on signal 15 from pid 1052

I have a freshly built Debian host. I am trying to set a Window 10 VM with passthroughs. When I start the VM from Virtual Machine Manager, the screen goes black for a few seconds as I am passing ...
0
votes
0answers
14 views

Understanding sysinfo Ouput for Custom Init Process

With qemu: qemu-system-x86_64 -s -S -enable-kvm -m 512M -drive format=raw,file=myos.img -kernel {5.11.6-kernel} -append "root=/dev/sda init=/sbin/myint nokaslr" The C code (omitted libc ...
0
votes
1answer
89 views

How get networking working in QEMU VM on macOS XI

I'm trying to run Linux VMs on macOS XI using QEMU which works just fine. I'd also like to access the internet from the VM and communicate with it via SSH but networking does not work OOTB like it ...
0
votes
0answers
111 views

Unable to complete install: 'unsupported configuration: unknown protocol type 'file'' error

I've been trying to create a windows vm with qemu and kvm through virt-manager in Linux Mint. However, I am stuck running into this error whenever I try to use the Windows ISO. Unable to complete ...
0
votes
0answers
71 views

No keyboard on windows 10 guest after shutdown/restart from the windows itself

The operating system is RHEL8.2, and the virtualization stack is kvm, qemu, virt-viewer and SPICE. On the windows guest the virtio-win drivers are installed. My problem is that sometimes after ...
2
votes
1answer
163 views

How to enable zstd for your qcow2 files

In QEMU 5.1 zstd compression of your qcow2 files was introduced. But it's not described in the manual for qemu-img. How do you enable it?
0
votes
0answers
43 views

Intel GPU accelerated Virtual Machine

Have anyone came across this problem when running a Windows VM with Intel GVT-g: Before installing the driver as described from the driver note here: https://github.com/intel/gvt-linux/wiki/...
0
votes
0answers
53 views

Is there any Rossetta 2 (SBT Static Binary Translation) alternative on Linux?

On an Apple Silicon chip such as M1 (ARMv8), x86 instructions can be translated statistically by Rossetta 2 when the program runs for the first time. It's fast. Because Rossetta 2 does the SBT (Static ...
2
votes
3answers
308 views

Linux installation not able to find the first partition of the disk during the boot up

I have an hard disk image of an openSUSE installation from a x86-64 machine which I no longer have access to. I'm trying to boot from this raw disk using quemu. If I start the virtual machine with for ...
0
votes
0answers
81 views

How to auto-open virt-manager and auto-start vm in fullscreen without asking “inhibit shortcuts” in one command when PC boot?

As title, I install virt-manager on Debian 11 to open an QEMU .img file. After PC boot, I want PC auto-start virt-manager in fullscreen and auto-start a VM without asking "inhibit shortcuts" ...
0
votes
0answers
34 views

Tricky emulation of custom kernel image using QEMU

thank you for viewing this question. I have an SD image which contains 4 partitions: U-boot and sys volume info Only contains sys volume info Empty Root file system After running file at the U-boot ...
0
votes
0answers
72 views

Writing an OS shutdown process for QEMU (xv6)

Background: I'm using QEMU to virtualize xv6-riscv on top of WSL2. I'm looking to create some sort of clean OS shutdown process reminiscent of Linux's exit command. Currently I'm using Ctrl-a x to ...
0
votes
1answer
135 views

How to understand qemu "-d int" flag output?

Where I can found documentation or explanation how to read and understand output of qemu log by flag "-d ..". example qemu-system-x86_64 -cdrom $(ISO_FILE) -serial stdio -m 1024 -d int &...
1
vote
1answer
77 views

Can't move mouse cursor up on Qemu

I recently migrated an Ubuntu image from VirtualBox (dowloaded from https://practicalbinaryanalysis.com/) to qcow2 and run it under Qemu. It boots up smoothly, supports network and higher resolutions, ...
1
vote
0answers
163 views

QEMU on macOS: the background process gradually freezes if the QEMU window is not visible

I have a similar setup on a Windows 10 machine that doesn't have any such issues. This tread about macOS version 10.15.2. If the QEMU window is not visible (hidden, minimized or another application is ...
0
votes
0answers
47 views

How to compile Linux Kernel 0.95 and run it with QEMU?

I want to compile Linux Kernel 0.95 and run it with QEMU. But I just found this (Linux Kernel 0.95 source code).
0
votes
0answers
53 views

How do I emulate a firmware image using qemu

I have a firmware image for which I want to create an emulator using qemu. When I extract the firmware image using binwalk, I get a file system, and it also contains a kernel zImage. How do I go about ...
0
votes
1answer
19 views

How to open (not only start) virtual machine from CLI

Installed qemu kvm, created Windows10 vm and I can start and open it from the GUI. Exited (quit, not close) KVM GUI. # virsh list --all Id Name State ------------------------ - win10 shut ...
0
votes
0answers
23 views

How do I set-up an ARM virtual machine on Ubuntu x64 with GUI tools

I would like to get a basic ARM 32 + 64 Linux virtual machine (something like Ubuntu for Raspi) and a basic development environment for testing. I do not want/need an X11 environment. I am relatively ...
0
votes
0answers
228 views

QEMU emulation of RPI 3+ and OpenSUSE

I have RPI 3+ with Libreeelec and kodi and I'd like to move it to openSUSE Tumbleweed but before doing so I'd like to test it in QEMU. I'm not successful, does anybody have working QEMU cmdline? qemu-...
0
votes
1answer
142 views

Unable to install qemu on Debian 10?

I used the following command: sudo apt install libexpect-perl qemu-system-x86 qemu-utils But, I received the following errors: Err:1 http://deb.debian.org/debian buster/main amd64 ovmf all 0~20181115....
0
votes
1answer
152 views

How can my PCI device driver remap PCI memory to userspace?

I am trying to implement a PCI device driver for a virtual PCI device on QEMU. The device defines a BAR region as RAM, and the driver can do ioremap() this region and access it without any issues. The ...
1
vote
1answer
678 views

Make shared clipboard work for qemu

The shared clipboard doesn't work for me. How to fix it? Host (Debian buster) with: standard system utilities ufw (ufw enabled, deny incoming, allow out going, deny routed) apparmor-profiles, ...
0
votes
1answer
51 views

Blocking domain on host, results in blocking domain on guest VM (QEMU/KVM)

Desired Outcome I want to block a.com on a host machine, but allow it on a guest VM. (I would also like to use dnsmasq to re-point domains on the guest machine independently.) Details On a Linux Mint ...
1
vote
3answers
408 views

Qemu/kvm (virt-manager) very slow after update - AMD Ryzen

I am using an up-to-date version of manjaro mate and have virt-manager 3.2.0-1 installed on my Thinkpad E14 (AMD Ryzen 5 4500U). Using either GNOME Boxes or virt-manager it is really slow: It really ...

1
2
3 4 5
18