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
votes
0answers
20 views

How to pass through USB device to guest VM? What are “hostaddr”, “hostport” etc?

I have the following on the host machine $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-...
0
votes
0answers
7 views

Booting Centos 7 from dvd under qemu with uefi firmware on a mac

So, I'm in the process of trying to make what google calls a shielded image, which basically you provide the keys for the uefi boot process, and sign them image. Part one is building an image that ...
0
votes
0answers
24 views

How to expose QEMU machine as separate NIC in my LAN?

In Oracle VirtualBox I can configure my virtual machine so that it is exposed as separate machine on the same LAN as the host and it become the same DHCP server client as everything in my LAN. Also I ...
0
votes
0answers
11 views

Enabling mtdoops on QEMU running ARM64

I am using 5.8 upstream linux kernel and running it on virt machine of QEMU. The dts shows that this machine already has a flash memory : flash@0 { bank-width = <0x4>; reg = <...
0
votes
0answers
21 views

Error using virtio-fs and qemu: “Failed to read msg header. Read 0 instead of 12. Original request 1.”

I'm trying to use virtio-fs to mount a folder on the host in the guest, but running into an issue. On the host I have qemu 1:5.0-5ubuntu6. virtiofsd command and output: /usr/lib/qemu/virtiofsd -f -d -...
0
votes
0answers
15 views

QEMU Guest IO Errors with Raw Image Once a Week

I am seeing a strange issue with virtual machines running on my server where once a week they will stall. Every Monday Morning PDT, the services running on the VMs will freeze up (for example, nginx, ...
2
votes
0answers
42 views

How to boot Raspberry Pi IMG file on QEMU?

I have an IMG file, which is Raspberry Pi image. Can I boot it in Qemu on windows or linux? I am confused by examples, which say I need not only IMG file, but also a "kernel" file. Can I ...
0
votes
0answers
51 views

evdev passthrough of mouse button 4 and 5

I have a Windows 10 VM setup with KVM (qemu). I am passing through my mouse and keyboard input. I looked up the device under /dev/input/by-id/ and added them to the XML: <input type="mouse&...
0
votes
1answer
18 views

Configuring networking with QEMU for OpenBSD 6.7 guest on Debian Buster host

I have a host machine running Debian 10 and am using QEMU to run an OpenBSD 6.7 guest (amd64). My current invocation of QEMU is as follows: $ qemu-system-x86_64 -m 512 -drive if=virtio,file=my_image....
0
votes
0answers
37 views

Can I sniff packets on a host interface macvtap through a guest OS on QEMU/KVM?

I have a RHEL server (host) with 4 VMs. One of those VMs is Windows 10 with Wireshark. I want to use Wireshark to sniff packets going over one of the server's ethernet ports, lets call it enp2s0f2. In ...
0
votes
0answers
17 views

How to pass through iphone to mac osx kvm

I am attempting to USB passthrough my iPhone to a Mac OSX KVM guest using virt-manager. I have usbmuxd disabled. I attempt to usb-redirect, and it seems that the iPhone disconnects/reconnects. I find ...
2
votes
0answers
21 views

xen and the support for spice GL

To make a long story short,I tried to pass through my two kinect 2 devices from ubuntu 20.04 to a two qemu / kvm virtual machines,where on the first one I have also passed through my RTX 2080 ti and ...
0
votes
0answers
9 views

how to get a more stable version of the qemu driver for the usb 3 controller

I'm trying to connect two kinects 2 to a two different qemu-kvm virtual machines. On the first one VM I have passed the IGD video card from ubuntu to windows 10,following this tutorial : https://blog....
0
votes
0answers
19 views

qme convert 1.7 GB raw file to 192 KB(!) vmdk

I want to convert a raw file, wich was created with dd from the sda-data, to a .vmdk file to use it in ESXi. In short, I want to virtualize an old Suse 10.3 system as a VM. On the Suse 10.3 system I ...
0
votes
0answers
35 views

Why uboot x86_64 can not boot alpine vmlinuz-virt, reset after boot

qemu-x86_64 uboot.rom with Alpine's virt get vmlinux wget https://mirrors.aliyun.com/alpine/v3.12/releases/x86_64/netboot/{vmlinuz,initramfs}-virt now boot qemu qemu-system-x86_64 -m 1024 -smp 2 -...
0
votes
0answers
15 views

Same vs different host-guest architecture virtual machines performance

I have a plan to run multiple guests inside an x86_64 host to provide various small, simple services. The guest OS of choice is OpenWrt, which is lightweight but still get the job done. OpenWrt ...
0
votes
0answers
24 views

How to pass through both the graphic cards that I have on two different virtual machines and one only PC

I need some help to achieve my goal. What I want to do is to create two different qemu-kvm virtual machines on Ubuntu 20.04 assigning to each of them some of the resources of one only PC. I want to ...
1
vote
0answers
13 views

Why is .qcow2 image larger (+1920000 bytes) after resising the image via `qemu-img resize --shrink`?

I created 20 GiB .qcow2 image for my virtual machine. Next I installed Ubuntu 20.04 on it. The system uses ~8 GiB, so I decided to shrink the image to 10 GiB using the following command: # qemu-img ...
1
vote
0answers
20 views

Add internet to bridge with NAT [duplicate]

My setup is several VM's, with a local subnet (192.168.10.0/24) Host machine is 192.168.10.1 (br1) (or 10.30.0.7 interface with inet) it runs a DHCP server to assign my VM's their IP's. I don't want ...
1
vote
0answers
20 views

Qemu SPARC boot panic on Solaris

I want to boot Solaris8 SPARC version by Qemu. $ qemu-system-sparc64 -boot d -cdrom SOL_8_204_SPARC.iso -net nic -net user -m 2048 But it shows this error: OpenBIOS for Sparc64 Configuration device ...
0
votes
0answers
26 views

qemu cannot boot from usb device use the usb-host option

When I boot like this: sudo qemu-system-x86_64 -m 4G -enable-kvm -cpu host -vga qxl -bios /usr/share/ovmf/OVMF.fd -boot menu=on -usb -device usb-host,vendorid=0x078a,productid=0x4761 It failed. When ...
1
vote
1answer
29 views

Why does my USB device disapear when I pass it to a qemu virtual machine?

I have a realtek wireless dongle that I want to pass to a qemu virtual machine. When I start the VM, the usb device shows up on both the host and in the guest as expected (shows up in lsusb, under /...
0
votes
1answer
59 views

qemu issue on Chromebook

I'm running Debian 10 on a Chromebook and I am trying to install and run different OS's on it. So I'm trying to use qemu. When I enter apt-get install qemu I don't think it installed perfectly ...
4
votes
1answer
98 views

What's the purpose of kvm, libvirt and libvirt-qemu groups in linux

I wanted to play a little bit with KVM on my Debian, and I installed the needed tools. The three groups showed up in the /etc/group file: kvm , libvirt and libvirt-qemu . What's the purpose of each of ...
0
votes
0answers
57 views

Cannot get USB passthrough working with QEMU MacOS (Arch Linux host)

I'm using this repo to run MacOS High Sierra on my Arch Linux. All is fine, however cannot seem to get USB passthrough working for my Lego NXT (current Lego Mindstorms software doesn't support NXT 2....
1
vote
1answer
34 views

Configure static routing for the virbr0 using local interface as next hop

Having the following topology: hostA(virbr0: 192.168.122.1) -- TAP interface -- (eth0: 192.168.122.85) gw (eth1: 192.168.3.51) --- (LAN: 192.168.3.0/24) gw : QEMU VM Guest, that is acting as a gateway ...
0
votes
0answers
7 views

guestfish write file to disk image, is it have default domain?

I am about to run android Oreo (8.1) on a Debian host. I am trying to insert (upload) a picture to qcow2 sd-card image, later will be use by QEMU. I know the easiest solution will be utilizing google ...
0
votes
0answers
13 views

Is there a way to track the volume of a disk traffic from/to a file

I'm running a VM (qemu) that has its virtual disk on my hard drive. It works pretty slow so I'm thinking of moving that virtual disk to SSD. The only thing I am concerned about is whether it would be ...
0
votes
0answers
36 views

Booting Qemu KVM with encrypted LVM

My organisation is setting up Debian Buster host with Debian buster vms running in a quemu KVM environment. We are also planning on setting up the VMs using an encrypted partition. Just wondering if ...
0
votes
0answers
136 views

virbr0 package not installed - qemu/kvm

I am trying to test a custom kernel configuration using qemu/kvm when I do $ virsh --connect qemu:///system net-start default this is the output i get. error: Failed to start network default error: ...
1
vote
1answer
497 views

virtio vs e1000 vs rtl8139: what's the difference?

When creating a virtual machine on Ubuntu, I have a choice between three device models for the virtual network interface: virtio, e1000 and rtl8139. What is the difference between the three? In other ...
0
votes
0answers
11 views

iotune qemu/KVM total_iops total_bytes limits

I have created some qemu/KVM virtual machines on SSDs. The host has ~6 SSDs. 1 is being used for the OS, and each of the other SSDs has two VM guests. I'm using iotune to limit the capabilities of ...
0
votes
1answer
45 views

How can I add more than four disk images to qemu?

Qemu fails when I try to add more than 4 disk images using -drive file=...,index={0..3},media=disk,format=raw. The error I get for each additional drive is similar to the following: qemu-system: -...
0
votes
0answers
40 views

Virsh console hangs to connect an Xubunto VM

I installed Xubuntu with GUI on KVM using virt-install command, the VM is running but when trying to connect to the VM using virsh console command it gets stuck on : [root@hyv ~]# virsh console ...
0
votes
0answers
111 views

Boot iso in qemu-kvm virt-manager

Can an iso boot in qemu-kvm / virt-manager? Have bootable usb stick. The iso will make any usb stick bootable the same way. Can not boot iso in kvm-qemu / virt-manager. In virt-manager the iso ...
0
votes
0answers
152 views

qemu: uncaught target signal 11 (Segmentation fault) - core dumped

I have problems with chroot. I have a host machine which is amd64 and I want to work using qemu on aarch64 and I tried using this script: #!/bin/bash echo ">>>" echo ">>&...
2
votes
0answers
20 views

Is it okay to run off a writable 9pfs share when cache=loose?

I'm trying to run a virtual machine off of a writable 9p root filesystem. When the default caching mode is used, apt and some other tools fail; likely due to limitations with 9pfs itself. The error ...
0
votes
2answers
36 views

KVM, is it possible to change the network configuration?

I'm having some trouble with a QEMU/KVM virtual machine on my local network. I can connect to it from the LAN but not WLAN, despite the fact that these networks should forward to each other. This ...
1
vote
1answer
50 views

Run QEMU with graphical output from Tty

I found out that you can run MacOS from Linux with QEMU and that worked already with my main Linux install but I want a second install that only has Tty "running" in the background (so I can ...
1
vote
1answer
55 views

Dependency issues in the installation of Qemu

I would like to install QEMU in my virtual machine Debian 10. But I get the following errors. How can I fix them? root@debian:~# apt-get install qemu-system-arm Reading package lists... Done Building ...
1
vote
0answers
138 views

How to create snapshot with UEFI firmware on virt-manager?

I am using qemu v2.11.1 and libvirt 4.0.0 - both are latest stable for Ubuntu 18.04. The guest is Windows 10 running on Tianocore UEFI firmware. When I tried to take a snapshot on virt-manager, it ...
0
votes
1answer
50 views

Error in installing the Qemu package

I would like to install Qemu in my Virtual machine Debian 9, but I unable to do it. It would be helpful if someone can solve this issue. The vdi file for Debian 9 is provided by my company. root@...
0
votes
0answers
136 views

Shared folder between QEMU Windows guest and Linux host with virtio-fs

In QEMU 5.0 and kernel 5.4. Virtio-FS(D) was introduced for better access to shared folder on Linux host. It seems the guest access the folder using FUSE-a-like technology. I found a guide for Linux ...
0
votes
1answer
91 views

Debian KVM guest unbootable after mkinitramfs - mounting /dev/vda1 on /root failed

07/07/20 Edited: added info regarding problem scope 25/06/20 Edited: added some additional diag information I have an issue where a Debian KVM guest built using virt-resize will work flawlessly up ...
0
votes
1answer
49 views

Set UUID when generating a VMDK image from a raw image using qemu-img

It is possible to convert a raw image to a VMDK image with qemu-img like this: qemu-img convert -O vmdk "$_raw" "$_vmdk" I know it is possible to set UUID of the generated VMDK ...
1
vote
1answer
59 views

KVM/QEMU hosts best-practice distro selection (and package)

If I want to run a modern production virtualizer I would expect to turn to RHEL/CentOS as RHEL is the main maintainer for most of the virtualizer "components". But the newest stable version ...
0
votes
0answers
12 views

Run windows driver for usb writing pad without vt-x

I want to use an old usb writing pad, which is a hiddev. My laptop's cpu (intel core 2 duo T5250) doesn't have vt-x. Can virt-manager or wine run the software/driver for windows? Can I use 32 bit ...
0
votes
3answers
384 views

qemu/KVM/libvirt usermode networking: VM as a non-root user, what do I need for root-less networking?

I have run several VMs in KVM/qemu with libvirt, and somehow most of the time networking works. Now, networking has stopped working when VMs are run as a non-root user. I have found little helpful ...
0
votes
0answers
17 views

Configuring screen in QNX, drm-intel crashes

I'm building QNX OS (BSP 7.0 x86_64) and I have a working image. I'm running it over a qemu emulated enviroment. Qemu virtual machine runs in a Windows host and is invoked as follows: ./qemu-system-...
0
votes
0answers
15 views

how to virtualize an oracle linux 8 for arm

I want to try Oracle Linux 8 for arm on a virtual machine before running it on my raspberry pi 4 B. from my research I found it's not possible to do it on a windows 10 for some reason even using ...

1
2 3 4 5
15