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

Install a Windows 10 guest on a partition in VirtManager

So I want to install a guest with windows 10. I have one hard drive I was thinking of making a partition on the drive that the host is using and install the guest to that partition Lets say i have /...
0
votes
0answers
11 views

Linux Bridge on kvm qemu

I have 2 ubuntu servers which are setup using kvm qemu, and bridge network setup between them gateway for that is 10.0.0.254/24 and server 1 ip: 10.0.0.252 and server 2 ip: 10.0.0.253, which can be ...
1
vote
0answers
30 views

Ptrace: Function Not Implemented in GDB Installed on Multiarch/Qemu-User-Static Arm64v8/Alpine Docker Container

I want to debug an aarch64 ELF using GDB installed on an arm64v8/alpine docker on my x86_64 16.04 Ubuntu VirtualBox, which itself is installed on my Mac. In particular, to set up the docker I use the ...
0
votes
0answers
24 views

Libvirt / Qemu — How do I turn off virtual machine log messages?

I have my virtual machine setup to route my mouse and keyboard control via Ev dev & virtio drivers. However, for some reason every time I press a button on my mouse inside of the virtual machine ...
2
votes
1answer
68 views

How to use QEMU/KVM virtual machine disk image on SMB/CIFS network share: Permission denied

Environment SMB network share temp is mounted as follows, logged-in user dave: sudo mount -t cifs -o username=dave,vers=3.11,uid=dave,gid=dave //nas/temp /media/nas/temp Effective temp mount folder ...
0
votes
0answers
11 views

how can I send destroy rather than shutdown to a specific QEMU VM/guest

I have a number of guest machines (VMs) running on the same host. I have a set of them that respond normally to the shutdown command issued by the host when it resets, but I have some specific guest ...
0
votes
1answer
44 views

Emulating an AARCH64 Binary calling libgps on x86_64 Ubuntu using QEMU gives “Error relocating: symbol not found” Errors

This is similar to the issue posted here and here. I want to reverse engineer a binary called gpslogger but before debugging it using GDB, I wish to simply emulate it using QEMU (qemu-aarch64) since ...
0
votes
0answers
15 views

Config to minimize write amplification in QEMU VM?

Here's what I'm trying to accomplish, per-VM virtual disk image. (Win10 and Ubuntu VMs as "desktop" OSes, among other minor headless VMs): At-rest encryption (w/ thumbdrive key) Transparent ...
-7
votes
0answers
36 views

Hunting a malware [duplicate]

I know I have a malware on my laptop, I have an idea where could be but not exactly. Maybe it is loaded by an other process (then injected), what I need is trace this process and know what file ...
0
votes
0answers
15 views

Raspberry Pi QEMU stuck on emergency mode

so I've been trying to boot up a raspberry pi using qemu but after I put start.bat in and let qemu work for a bit it says It won't let me enter My start.bat file has qemu-system-arm -kernel kernel-...
0
votes
0answers
44 views

How to enable local network access to a VM using QEMU/KVM and Virtual Machine Manager

I've been spending all day trying to solve this little puzzel. I've got a Ubuntu 20.04 lts. I've installed QEMU/KVM and Virtual Machine Manager on it. I'm trying to create a VM that have direct access ...
0
votes
0answers
8 views

How to use cloud-init nocloud with QEMU to inject key

I've got a centos8 cloud image (qcow2) which I want to run in QEMU. So I need to inject a public key for the included centos user. Reading the cloud-init docs it looks like you can do this using the ...
0
votes
0answers
33 views

Find out PCI(e) ID of a working PCI(e) device, in this case a USB controller

I inserted a mPCIe card - a USB controller - into one of my computers mPCIe slots. Attached USB devices are shown by lsusb and everything is working fine. Now I'm running KVM/qemu and I want to pass-...
0
votes
0answers
36 views

I get many `Error relocating, symbol not found` errors when trying to run an ARM64 binary with Qemu user mode

I'm trying to run an ARM64 binary on my 64_x86 Kali Linux machine using Qemu User mode but I'm running into some issues. ~$ file arm_binary arm_binary: ELF 64-bit LSB executable, ARM aarch64, version ...
0
votes
1answer
28 views

How to get aarch64 version of musl on Debian for qemu user mode

I'm running Kali Linux on a Windows Subsystem for Linux v1 (WSL). This failed on WSL v2 as well if that means anything. I have an ARM aarch64 binary I want to run. I have qemu user mode and I try ...
0
votes
1answer
77 views

QEMU on AArch64/ARM64 and blank screen

Goal I'd like to emulate the boot process (any boot process) in AArch64 (ARM64) on the actual, real, AArch64 hardware as I'm working on a bootloader and an emulation workflow is much faster. Problem ...
1
vote
1answer
27 views

QEMU/KVM libvirt filter not working

I have a VM using the default QEMU/KVM virtual network NAT adapter. Host is running Ubuntu Desktop 20.04. Guest is running Windows 10. I have setup a simple libvirt filter to block access to my Local ...
2
votes
0answers
37 views

Trying to run linux kernel using QEMU, having trouble with boot process

For a project, I need to be able to run an uncompressed linux kernel. It was recommended to me to try emulating this using QEMU, since that's less involved than booting it straight on the machine. ...
0
votes
1answer
15 views

/usr/local/sbin/oxenstored: error while loading shared libraries: libxenctrl.so.4.14: cannot open shared object file: No such file or directory

I've just compiled xen 4.14 from source on ubuntu 20.10. The compilation didn't produce errors. But then,when I ran this command : root@zio-z390aoruspro:/etc/xen# sudo /etc/init.d/xencommons start ...
3
votes
2answers
66 views

When making a VM, why would I want to not pass it all my cpu cores?

(I'm using xcp-ng/xen as my hypervisor but general question as I also wonder this about qemu/kvm and virtualbox when I use them) whenever I make a VM, I have an option to give it as many cores as I ...
-1
votes
0answers
30 views

How to ssh guest to host in qemu on windows?

I have Debian running in qemu on windows.I want to setup ssh from guest to host that is from Debian to windows how to do that.
0
votes
0answers
15 views

Can not install OS on QEMU VM with GPU passthrough

I followed the guide to create a VM with GPU passthrough here: https://mathiashueber.com/pci-passthrough-ubuntu-2004-virtual-machine/ After creating the machine I saw the UEFI Logo on my screen and ...
2
votes
0answers
27 views

Mapping guest RAM to file in qemu

We're emulating a Cortex M3 cpu and would like to pass some parameters to the guest during run-time. The simplest idea seems to be to write directly to some memory area. I tried simply adding -mem-...
1
vote
1answer
25 views

QEMU virtio-scsi: Cannot see the number of queues after booting VM with virtio-scsi command

QEMU newbie here. I am trying to boot a VM using QEMU, for increased performance I am trying to use a virtio-scsi mounted drive. I am following the steps given here. However when I boot my VM and I ...
0
votes
0answers
23 views

Qemu-system vm (linux gues) does not terminate upon poweroff

On a debian 10 host amd64, I runa qemu-kvm guest which is also a debian 10 system. I experience problems to "gracefully" poweroff the guest. Once I issue the poweroff in the vm the process ...
2
votes
1answer
32 views

Why can't I start KVM when using RDP?

I can run KVM locally fine, but if I connect via RDP (tried via a Windows computer and a chromebook) I get the following error. Could not access KVM kernel module: Permission denied qemu-system-x86_64:...
0
votes
0answers
13 views

Why does cache=writethrough degrade performance (given a common O/S in the guest)?

I am running a bunch of VMs under Linux, based on Qemu / KVM. Currently I am trying to optimize disk write performance in the guests, and have started with studying the various cache modes Qemu ...
0
votes
0answers
42 views

Why a Unix socket file in tmpfs can be found but in devtmpfs cannot?

I used SPDK to create a Unix socket file and provided it to QEMU. When my file is placed in the /dev/shm or /run/spdk directory, there is no problem. But if it is placed in the /dev/ or /dev/spdk ...
0
votes
1answer
52 views

How to increase the root partition size of a virtual machine used by GNOME Boxes (QEMU)?

I use GNOME Boxes on Fedora 32 to virtualize a Fedora Silverblue installation. I did not setup a sophisticated/smart partitioning for my virtual Fedora and have run out of disk space on my virtual ...
0
votes
0answers
6 views

Unable to set the dt-compatible property in qemu-system-mipsel

OpenWRT has some scripts that depend on the compatible property of the device tree. I want to be able to set it (in any possible way at all). I was unable to dump the existing dtb, nor use the dt-...
0
votes
1answer
119 views

Why DNS stops resolving under QEMU “user networking” when the host roams to a particular network?

I use GNOME Boxes on a laptop. The guest machines get the Internet connection automatically with default settings whenever the laptop moves between networks (Ethernet, Wi-Fi in different locations, or ...
0
votes
0answers
63 views

QEMU unable to mount root fs

I have been scratching my head at why qemu may fail to write to root even though rw is passed as kernel arguments? On the SDA device, I have an EFI parition(/dev/sda1) and LUKS(/dev/sda2) encrypted ...
0
votes
1answer
29 views

qemu on macos: how to release mouse?

I see that the window says that I could use alt + crtl + g... but that's on a PC keyboard. What would the combination on a mac? I tried with ctrl + command + g but it doesn't work.
1
vote
0answers
18 views

unable to initialize libusb: -99 under QEMU emulation of Raspberry PI

I ran raspberry pi emulation with the following command $QEMU_EXE \ -kernel qemu-rpi-kernel/kernel-qemu-4.4.34-jessie \ -cpu arm1176 \ -m 256 \ -M versatilepb \ -append "root=/...
0
votes
1answer
46 views

Buildroot Rootfs with XOrg doesn't show GUI

I have built a rootfs using buildroot using template of qemu_x86_64_defconfig and adding XOrg server configuration on top of it. To start the system, I am using script generated by buildroot to invoke ...
-1
votes
1answer
31 views

Qemu network traffic filtering with iptables

I need to filter both outcoming and incoming traffic of the guest system on Qemu (Linux). The host system is Linux too. I think iptables is a good tool, but I don't know how to use it here. What ...
1
vote
0answers
39 views

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

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
1answer
29 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
31 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
19 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
1answer
73 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
54 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
141 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
47 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
59 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
31 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 ...
1
vote
0answers
30 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
19 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 ...

1
2 3 4 5
15