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
28 views

How can one install Slax to a qemu img?

Per the title, I want to install Slax (version 9.11.0) to a .img file for use with qemu, as a virtual machine. I've tried a bunch of things over four hours, and I've been unable to do this. My ...
0
votes
2answers
18 views

Setup network between VMs using tap network with Nix?

I'm trying to have a network shared between multiple VMs. I've tried adding: qemu.networkingOptions = [ "-nic user,model=virtio-net-pci" ...
0
votes
0answers
11 views

How to get QEMU guest access to host and internet?

Installed is QEMU-4.0.0-rc50 and I use the following in a bash script to start a guest vm. The VM boots and runs the image just fine. The problem is with the networking, the guest cannot see the ...
0
votes
0answers
9 views

virt-viewer unable to make work mouse back and forth buttons

I'm unable to make work my mouse back and forth button with virt-viewer on kvm. Have a debian virtual-machine and debian virt-viewer. My versions are Hardware host: qemu-kvm 1:3.1+dfsg-8+deb10u4 ...
0
votes
1answer
23 views

How do I install OpenBSD/ARM in qemu?

Could you share a specific command line & which file I need to download to make this work? If you have a link to an OpenBSD/ARM image that is already installed (and a commandline to run it), that ...
0
votes
1answer
50 views

Linux Mint - QEMU/KVM USB Redirect and Windows 10 Guest

A couple of months ago I installed Windows 10 version 1909 in a Linux Mint 19.1 (Tessa) QEMU/KVM guest. Using USB Redirect (aka USB Redirection, virsh attach), a USB to SATA bridge is connected to a ...
0
votes
0answers
15 views

Unable to complete install: 'unsupported configuration: emulator '/usr/lib/xen-4.11/bin/qemu-system-i386' not found'

Log: Unable to complete install: 'unsupported configuration: emulator '/usr/lib/xen-4.11/bin/qemu-system-i386' not found' Traceback (most recent call last): File "/usr/share/virt-manager/...
-1
votes
0answers
15 views

I installed the raspbian system in QEMU but

I installed the raspbian system in QEMU but each time I need it, I reinstall it, is there a method to open it directly?
0
votes
0answers
28 views

Is it possible to passthrough all devices in QEMU/KVM?

I'd like to create an extra execution environment between the OS and the hardware to test something, so I decided to create a small linux environment which only runs a single VM with the primary OS ...
0
votes
0answers
13 views

KVM empty virsh pool-list

I am trying to move the KVM storage .qcow2 file from /var/lib/libvirt/images to an external HD to save space on my laptop. I am trying to follow this guide but when I prompt: virsh pool-list I got ...
0
votes
0answers
12 views

QEMU error on pfSense instalation

I'm trying to install pfSense using QEMU on EVE-NG. I'm using the EVE-NG documentation for pfSense 2.4.x, i did all the steps, but in the installation part /opt/qemu/bin/qemu-system-x86_64 -hda ...
0
votes
0answers
38 views

Guest has not initialized the display (yet)

I'm trying to emulate a raspberry pi using an x86 system and qemu. I'm trying to launch it like: $ qemu-system-arm -kernel ~/Downloads/kernel-qemu-4.19.50-buster -cpu arm1176 -m 256 -M versatilepb -...
0
votes
0answers
34 views

Buildroot Linux on RISC-V 32-bit no mmu processor

I'm trying to create a buildroot linux image for a 32-bit RISC-V no mmu processor. I've found several builds on the internet but none of them match exactly what I want to do, however I think they ...
1
vote
0answers
35 views

SSH server not booting in Packer QEMU Debian VM

I'm using Packer to boot a pre-installed Debian Buster image on QEMU to provision it for deployment, but whenever Packer boots the image it is unable to connect over SSH. The Debian image is the ...
0
votes
1answer
48 views

How is it possible to passthrough a USB drive to a VM, using QEMU, without losing access on host OS?

I'm using QEMU on Linux with KVM, I need to make available a USB drive (external HDD) to the guest while I can still have access to the drive from the host OS. Is this possible?
0
votes
2answers
32 views

store a KVM .qcow2 image in NTFS external hard disk

I have a .qcow2 image that became really bigger (36 GB) and I want to move it to an external HD to avoid using all my PC (Debian machine) memory for that. Is it possible to store it (and access it ...
0
votes
0answers
107 views

Passing a USB device to Qemu KVM

I am trying to get my Windows VM to access my USB pen drive, but I am having problems passing this USB over to the VM. On my Linux host machine, I ran lsusb where my device was identified as Bus ...
0
votes
0answers
71 views

Running multiple QEMU instances using a single TAP network device

Is there a way to setup QEMU TAP networking without allocating a TAP device for each VM? My goal is to preconfigure QEMU TAP networking with NAT (as root), and be able to run an arbitrary number of ...
0
votes
0answers
24 views

Get which /dev/tapX got associated to a macvtap without guessing

Following this guide to setup a macvtap works great. An excerpt from the guide loosk like this: # ip link add link eth1 name macvtap0 type macvtap # ip link set macvtap0 address 1a:46:0b:ca:bc:7b up #...
0
votes
0answers
21 views

Opennebula deleted machines are not removed from /sys/fs/cgroup/

I am monitoring an open nebula host using netdata, after opening the monitoring dashboards I mentioned there are some qemu one instances in it which don't exist. When I checked the command systemd-...
1
vote
0answers
105 views

Ubuntu 16.04: How to get libx86emu x86emu-demo to work?

Does anyone know how to get libx86emu x86emu-demo to work? https://github.com/wfeldt/libx86emu Test.bin 00000000 55 8B EC 51 C7 45 FC 00 00 00 00 8B 45 FC 50 E8 00000010 09 00 00 00 83 C4 04 33 ...
1
vote
2answers
154 views

Raw disk image from VDI file can be mounted using qemu-nbd but not loop device?

I installed a very old Slack version (3.2) on VirtualBox and then converted it to RAW format (ext2). However, for some reason I'm unable to mount it using losetup but qemu-nbd works fine. Why? I ...
0
votes
0answers
94 views

evdev touching the wrong device

I am trying to configure evdev to pass a mouse through to a virt-manager VM. Why is ubuntu touching the /dev/input/event device instead of the defined one? ls on the device shows this: ls -l /dev/...
2
votes
3answers
275 views

SELinux blocking qemu / libvirt from accessing ISO

I am unable to get selinux to allow libvirt to access images and ISO files outside of the default libvirt directory. What makes it more frustrating is that audit2allow and setroubleshooter does not ...
0
votes
0answers
12 views

virt-v2v convert from ova to qcow2 gives error

I was tring to convert an ova file to qcow2 and I found this blog post. I followed instructions and ran these commands: mkdir /var/lib/libvirt/Appliances virsh pool-define-as Appliances --type dir \ ...
1
vote
1answer
100 views

How to configure hotkeys to release focus with qemu / virt-manager

I'm using virt-manager on a Linux Mint 19.2 system to run a Windows 10 guest in qemu/kvm. For video, I'm using splice/ qlx. I can release the focus by pressing the left ctrl + left alt keys together. ...
0
votes
0answers
13 views

What is the difference between xen netbk/vif and tap?

When I'm using libvirt with QEMU/KVM backend, then it creates a tap type network interfaces for guests. However, I have one server running xen as an hypervisor and looks like it creates netbk/vif type ...
0
votes
3answers
102 views

Linux QEMU - Guest can SSH to Host, but Host to Guest

I've been having some problems with Host-Guest networking via SSH. I've looked through many questions here as well as the Networking Documentation for QEMU (https://wiki.qemu.org/Documentation/...
0
votes
0answers
20 views

Custom minimalist linux kernel hangs in QEMU with no output

I'm trying to build a custom kernel, but when I run it in QEMU with the "debug" option and in curses mode, it seems to hang after "early console in setup mode". I'm thinking there's a very important ...
0
votes
0answers
33 views

Host rebooted when issued `swapoff -a`

On a physical host running Ubuntu 12.04.4 LTS and serving as a hypervisor via qemu, hosting a single guest, I've issued: swapoff -a To the host, which hung for several minutes before kicking me out ...
0
votes
0answers
20 views

Make guests communicate with each other via hostname with Libvirt and dnsmasq

I'm using Ansible to provision the VMs, which works fine. Dnsmasq handles the DHCP so they get an IP automatically. However, there is no DNS configured so the VMs cannot communicate with each other by ...
1
vote
1answer
56 views

Kernel panic when running qemu with -curses option?

I have a raw qemu disk image of Debian 10 ("buster") with no desktop environment, and I'm trying to run it in the terminal of my host machine (also Debian 10) with the -curses flag. If I run qemu-...
0
votes
1answer
33 views

How can I install qemu on a VM without Internet access?

I'm generating a virtual machine that will (eventually) be used to run a proof of concept web server. I'm running RH7.4 for my host and 7.2 for my VM. I'm following Red Hat's official instructions to ...
0
votes
0answers
28 views

Installing qemu-guest-agent on a redhat vm without internet access

I have a redhat 7.4 machine, and I'm installing a 7.2 VM on it. This isn't for production, 99.9% just for learning. I've gotten the VM up and running, but now I'm trying to set up a qemu guest so ...
0
votes
0answers
31 views

How to have colors on qemu curses?

I'm using Arch, and i am emulating a virtual operating system (Linux) with qemu (qemu-system-x86_64), but this system has no colors (calling escape sequences directly doesn't work either, not even "...
1
vote
0answers
47 views

How to to access /sys/bus/usb/devices/ from qemu with AppArmor enabled? (“Cannot Open File” and “Cannot read serial from…”)

I'm trying to access an USB device with AQEMU. For this I have added an USB port in the media options. But when starting the virtual machine I'm getting these errors: AQEMU Warning [..] >>> ...
0
votes
1answer
222 views

Host mouse pointer not aligned with guest mouse pointer in Qemu VNC

When I run Tiny Core Linux in a Qemu virtual machine, the guest mouse pointer is severely misaligned with the host mouse pointer. In the screenshot below, the guest mouse pointer is the one in the ...
3
votes
0answers
200 views

Cross-arch Docker container will stop emulation

I'm trying to build a portable cross-arch Docker container using QEMU. However, depending on the host system and the programs installed on the host the container behaves differently. Running the ...
1
vote
1answer
67 views

Can't resize QEMU VMs

I am trying to increase the size of my QEMU VMs, but I'm running into a problem related to snapshots. For some reason, the qemu-img command is showing a snapshot that's been long deleted so the resize ...
0
votes
0answers
57 views

Virt Manager is not opening on Ubuntu 18.04

I have installed virt manager from terminal using command apt-get install virt-manager in ubuntu 18.04. It is installed successfully but when i click on VirtManager App icon it is not opening. When i ...
1
vote
1answer
63 views

Part of virtual machine's screen is not visible when resolution changes with SPICE

A virtual machine with Windows 10 as the guest's OS is set up using KVM/QEMU. Without SPICE, it worked perfectly fine but for clipboard sharing, I followed Arch Linux's Guide. But then it's super ...
0
votes
2answers
80 views

QEMU Corrupted Network Communication

Using the package manager (pacman) inside the virtual machine gives me corrupted packages randomly, as in: error: <package>: signature from "<whomever>" is invalid :: File /mnt/var/cache/...
0
votes
1answer
17 views

Arch QEMU VM ssh anomalies

I have setup an Arch VM with no-password, public/private key ssh logins. All of my initial tests have worked, including scp. I've verified that the ssh server is starting automatically. Here's the ...
1
vote
2answers
48 views

How to create VM's for 32-bit and 64-bit Wine-based development environments on a 64-bit box? [closed]

I am running a 64-bit Linux (Devuan) and want to create separate VM's to contain Wine as 64-bit and 32-bit respectively, as well as the needed development(coding/IDE/debug) tools for each. My options:...
1
vote
0answers
50 views

QEMU AArch64 Seems to Hang with no Log Messages

I am trying to build a Debian 10 on a QEMU Aarch 64 virt architecture. For this purpose I follow this guide. I fetched the two part kernel installer from Debian mirror from: wget -O installer-linux ...
1
vote
0answers
49 views

QEMU networking: Host to Guest

I want to connect a host(Debian 10 VM) to a qemu-guest (Debian on aarch64 ARM). I used to debootstrap tool to install a Debian root file system. Then I installed the qemu-user-static device on my host....
7
votes
1answer
487 views

Passing a block device to Qemu

Passing a block device to Qemu 3.0.1 like this works but yields a deprecation warning: -blockdev file,node-name=f1,filename=/dev/loop0 \ -blockdev raw,node-name=q1,file=f1 \ -device virtio-blk,drive=...
2
votes
0answers
255 views

Forward iOS Tablet from Linux Desktop to QEMU macOS VM

I am running macOS 15 in a qemu virtual machine on a manjaro Linux machine. Since I want to use it for iOS development/deployment I tried connecting and forwarding an iPad running the latest iPad-OS ...
0
votes
0answers
45 views

I'm looking for a cross platform DM to drag and drop files from / to a qemu / kvm Windows guest OS and Ubuntu host os VM

Actually I'm using Ubuntu 19.10 as Host OS and Windows 10 as a guest,virtualized with qemu and kvm. No problem at all,but I feel the missing of the possibility to copy and paste files from / to ...
1
vote
1answer
53 views

How can I simulate usb connection between two virtual machines with qemu? [closed]

I need usb connection between VMs such as host to host communication. But i have no idea to set it up with Qemu. Do you have any clues?

1 2 3 4 5 13