Skip to main content

Questions tagged [qemu]

QEMU is a cross-platform processor emulator.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
34 views

Can't login SSH on Ubuntu Core 24 with QEMU

I'm new in linux and i'm trying to use the IoT Ubuntu Core, so i created my own Ubuntu Core 24 image with this tutorial https://ubuntu.com/core/docs/build-an-image and tried to visualize this image ...
rafael-ricardo's user avatar
-1 votes
0 answers
33 views

No such directory lib/modules

I am a very, very beginner. I wanted to test my Linux module in qemu: I cloned a repository with the required kernel, built it with standard configurations, launched qemu with the required kernel, but ...
Lena 0's user avatar
  • 1
0 votes
0 answers
248 views

Ubuntu 24.04 unreliable desktop rendering in qemu

I am testing Ubuntu 24.04 on my laptop running Ubuntu 24.04. I'm using Qemu 8.2.2 from the repo, controlled by quickemu (which is mostly 'just' a shell script around Qemu). Qemu version qemu-system-...
popey's user avatar
  • 23.8k
0 votes
0 answers
37 views

qemu installed correctly and running but no /dev/kvm on arm64 ubuntu

Hi I have installed the following packages on my ubuntu arm64 machine qemu-system-aarch64 qemu-system-arm and others. qemu-kvm service is also running successfully. But there's still no /dev/kvm file ...
Nirzak's user avatar
  • 1
-1 votes
1 answer
609 views

Can't bind/unbind GPU from nvidia to vfio-pci properly on demand without reboot (Ubuntu 22 QEMU KVM OVMF)

I am running into an odd issue. I have been struggling to get GPU passthrough to work properly to a Windows 11 VM and I've finally found something that works but it's not as ideal as I'm hoping for. ...
SpacemanSanchez's user avatar
0 votes
0 answers
39 views

How to upgrade qemu-user-static to qemu 7.2?

Qemu 7.2 support rvv but On Ubuntu 22.04, only get qemu-user-static(6.2)
Enzo's user avatar
  • 1
0 votes
0 answers
45 views

How to ping/connect to a KVM on another machine in the same lan?

I have 2 machines in my cluster, say M1 and M2. I have one machine installed with a VM (brought up by virt-install), say VM on M2. My M2 can ping the IP address of VM. My M1 and M2 can also ping each ...
itsjc's user avatar
  • 31
0 votes
0 answers
64 views

booting from qemu with self-made bare minimum OS

I wrote a minimal OS to boot from in nasm. org 0x7C00 ;because the OS is loaded at address 0x7C00 bits 16 ;because we start in 16 bit mode main: hlt .halt jmp .halt times 510-($-$$) db 0 dw ...
Prudence Clearwater's user avatar
0 votes
1 answer
53 views

"libvir" not found in "sudo apt install libvir"

I want to install Qemu on ubuntu 22.04 following this tutorial However, when I enter sudo apt install libvir I get E: Unable to locate package libvir Does anyone know whats wrong with my system? (I ...
Prudence Clearwater's user avatar
0 votes
0 answers
15 views

Possible to copy directory of local packages into qemubuilder?

I am looking at isolating my pbuilder scripts a bit further, it does explicitly say it does not support bindmounts. But is it possible to not bindmount but copy an entire directory into the image ...
Xavanteex's user avatar
0 votes
0 answers
174 views

Installing macvtap on Ubuntu 23.10

I am trying to install a virtual machine by virt-install and it seems there is some problem by configuring macvtap interface: virt-install --noautoconsole --name fgvm --memory 4096 --vcpus 4 --virt-...
Shahrouz Rad's user avatar
0 votes
0 answers
141 views

UTM Ubuntu22.04 of arm64 Booting Configuration Issue

I'm facing an issue with UTM in MacBook with M2 chips while running the arm64 version of Ubuntu 22.04(from https://cdimage.ubuntu.com/jammy/daily-live/current/). I install this iso image in UTM as ...
crimsnow's user avatar
1 vote
0 answers
323 views

AMD 7800XT GPU passthru Virt-manager Ubuntu 22.04LTS dont properly work

Intro: Hello, I have two GPUs, one NVIDIA 3060 and a AMD 7800XT. I would like to have the nvidia to the host itself, and passthru the amd GPU to a W11 VM in virt-manager. I have already did the ...
cookiemonster's user avatar
0 votes
2 answers
140 views

How to allow user to SSH-connect to VM deployed on host without access to host itself

I have an UbuntuOS host (let say, 150.15.15.15) and another UbuntuOS virtual machine (192.168.7.2) deployed on that host. I want to configure SSH-tunnel on host so that remote user can connect to VM ...
JaSON's user avatar
  • 123
2 votes
1 answer
1k views

Trying to share a directory, that is located in another hard drive connected to my computer, with a Windows 10 guest on QEMU/KVM

I'm using Ubuntu 23.10 and Virtual Machine Manager 4.1.0. When I try to add the directory that is located on another hard drive in Virtual Machine Manger, I get the following error: "Error ...
Wolf's user avatar
  • 61
0 votes
0 answers
381 views

VirtualBox vs Qemu/KVM performance - Ubuntu 22.04 guest on top of Ubuntu 22.04 host

I'm currently using Virtualbox in Ubuntu 22.04 for VMs running also Ubuntu 22.04. I'm not using it for games, so no need for PCI passthrough. Only web browsing or some P2P network transfers. My ...
keldorn's user avatar
  • 103
0 votes
1 answer
703 views

Can I passthrough GPU into kvm without using vfio/iommu?

Most of the tutorials I have seen are based on IOMMU to implement GPU passthrough. However, is there a way to bypass the IOMMU? My kernel is 5.15.126 Update 1: From libvirt.org I found that a <...
Jason Lee's user avatar
0 votes
1 answer
25 views

Small window starts to appear after boot up

It starts to appear after boot. I did feel a bit of slowness when I use the machine. Using Lunar, any idea how to check it, remove it, fix whatever is going on.
Hao's user avatar
  • 227
0 votes
0 answers
483 views

Attempting to use LibVirt with QEMU on Ubuntu 22.04 without KVM

My understanding is that I can use LibVirt and QEMU on Ubuntu 22.04 without having to use KVM. In order to do this I'm using the following commands: #!/bin/bash sudo apt-get -y update && sudo ...
ChrisAdkin's user avatar
6 votes
3 answers
17k views

How do I install qemu on Ubuntu 23.10?

I performed a minimal install of Ubuntu 23.10 on a typical desktop PC (x64). I've made no changed to /etc/apt/sources.list from the default. I want to set up some VMs, so I typed: sudo apt install ...
Aaron's user avatar
  • 63
0 votes
0 answers
113 views

Multipass with QEmu driver: how to access usb camera

on my Asus rog laptop with ubuntu 23.10 I installed the ROS (robot os) image from multipass, as explained in this official guide https://ubuntu.com//blog/ros-development-on-linux-windows-and-macos . I ...
AndrewBloom's user avatar
0 votes
0 answers
169 views

im trying to install flatpak on qemu utm ubuntu mac m1 jammy but i get errors

When I install flatpak (attempt to) I get these errors: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable ...
skibiditooto's user avatar
0 votes
1 answer
695 views

How to connect via SSH to different Qemu instances

I want to connect from my local laptop to remote desktop (let say 170.170.70.70) with two Qemu instances started with parameters (most parameters skipped, I left only those that differs) qemu-system-...
JaSON's user avatar
  • 123
0 votes
0 answers
312 views

Why can't I set "modprobe vfio enable_unsafe_noiommu_mode=1"?

Running Ubuntu 22.04 with kernel 5.15.0-83 inside a QEMU VM: guest$ sudo modprobe vfio enable_unsafe_noiommu_mode=1 guest$ cat /sys/module/vfio/parameters/enable_unsafe_noiommu_mode N It's not ...
Ken Y-N's user avatar
  • 133
0 votes
0 answers
731 views

"Enable Shared Memory" option missing from Virtual Machine Manager

There's an option in Virtual Machine Manager to share your memory. It's called "Enable shared memory". See #2 below: This option is missing in my instance of QEMU under Virtual Machine ...
jophuh's user avatar
  • 179
0 votes
0 answers
206 views

Guest VM with window OS failed to installed on ubuntu 22.04 host

I am trying to create VM with window OS on ubuntu 22.04 host. My installation crashed with blue screen and the error is "system exception thread not handled". VM created successfully on ...
Nitendra's user avatar
  • 101
1 vote
0 answers
191 views

Ubuntu 22.04 LTS Bridged networking host DNS not working after reboot

I seem to have a bit of an odd situation here. I just setup bridged networking on my Ubuntu desktop using nmcli, and everything was great until I rebooted. I set it up so that the bridged network ...
Offspring's user avatar
0 votes
0 answers
737 views

Soundless QEMU/VM win11

I'm pretty much a novice when it comes to using LiGNUx and I've just gone through a painstaking process in order to get a Windows 11 virtual machine working with a totally legit ISO file without ...
Fleckens Teleworm's user avatar
0 votes
0 answers
21 views

Synchronise interface names attached to IP addresses between host Ubuntu and QEMU guest Ubuntu

I've set up a second bridge on QEMU using a bridge named virbr1. In my host OS I have: virbr1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.100.1 netmask 255.255....
Ken Y-N's user avatar
  • 133
0 votes
0 answers
283 views

How to load my Linux kernel from a different load address i.e. any manually specified address?

I booted the Ubuntu cloud image(https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64-disk-kvm.img) from qemu. I cloned qemu from https://gitlab.com/bwidawsk/qemu. git branch is * ...
PODILI CHAITANYA AKHIL KUMAR's user avatar
0 votes
0 answers
241 views

Will the recently-released AMD Epyc 4th Gen CPU support be added to the qemu package in 22.04?

I noticed that Qemu has added a feature to support AMD Epyc 4th Genoa CPU. However, upon checking the change log up to qemu1:6.2+dfsg-2ubuntu6.11 in the Ubuntu 22.04 (jammy) Repo, I found that the ...
kyleyoon's user avatar
0 votes
0 answers
715 views

Autoinstall Ubuntu Server 22.04: Block probing did not discover any disks big enough to support guided storage configuration

Context After running the the below bash script to auto-install an Ubuntu server 22.04 on Qemu using virt-install, I get the error: Block probing did not discover any disks big enough to support ...
a.t.'s user avatar
  • 327
0 votes
0 answers
22 views

print branch taken or not in qemu plugin

How to print branch taken/not taken if branch instruction in the qemu execlog plugin? api.c does have a get_ms option but on using it it shows the error: undefined symbol: get_ms
Kirti's user avatar
  • 11
0 votes
0 answers
202 views

How to specify from which Numa node the kernel should boot from?

I have booted ubuntu os using qemu and assigned two NUMA nodes to it.Each NUMA node 0 has 4cpus and 3GB memory whereas NUMA node 1 has no cpus and 3GB memory. The kernel is booted using NUMA node 0. ...
PODILI CHAITANYA AKHIL KUMAR's user avatar
0 votes
1 answer
114 views

Can't use --mode in virsh shutdown

Any mode gives me: error: unsupported flags (0x4) in function qemuDomainShutdownFlags Is there a package I'm missing?
rory toma's user avatar
  • 347
1 vote
0 answers
1k views

qemu: drive with bus=0, unit=0 (index=0) exists

I am trying to enable trace events using the trace-file on option in qemu. When I executed the following command: sudo qemu-system-x86_64 -drive format=raw,file=/var/lib/libvirt/images/ubuntu-box1-vm-...
Kirti's user avatar
  • 11
1 vote
1 answer
488 views

Stuck on the 'Try or Install Ubuntu' screen when booting Ubuntu in qemu emulator on Linux server. How do I troubleshoot?

I am unable to boot ubuntu ISO Image from qemu on Linux Server. Aim : I am trying to boot a ubuntu virtual machine from qemu emulator on Linux server. I tried the following commands. qemu-img create -...
PODILI CHAITANYA AKHIL KUMAR's user avatar
0 votes
1 answer
351 views

Invalid YAML: inconsistent indentation: addresses: [192.168.1.120/24]

In my host Ubuntu 22.04 Desktop, I'm creating 2 bridges for eth0-br0 and eth1-br1. br1 needs LAN access from the host machine 192.168.1.120/24 to the guest machine 192.168.1.1/24. I haven't been able ...
user1416486's user avatar
0 votes
0 answers
285 views

Docker Desktop: How to make it exit completely?

Question: How do I make Docker Desktop and all of its associated processes exit on command? Context: I'm running Kubuntu 22.04 and using Docker Desktop for some local development. When I close Docker ...
Russ Bain's user avatar
  • 111
0 votes
1 answer
144 views

libvirt-kvm and libvirt shows up as login profiles on Kubuntu 23.04

Last night, I want to install Qemu on my Kubuntu 23.04. I found this article to follow along to install Qemu on my computer: Install and Use Qemu on Ubuntu After reboot my pc, I notice libvirt-kvm ...
krillavilla's user avatar
1 vote
0 answers
112 views

Automatically spawning a clean Ubuntu 22.10 installation in Qemu?

After having manually set up an Ubuntu 22.10 Installation sudo apt install spice-vdagent # To allow copy paste into QEMU Ubuntu sudo apt-get install qemu-kvm cd ~/Downloads Then one can manually ...
a.t.'s user avatar
  • 327
1 vote
2 answers
611 views

SGX Drivers are not showing with QEMU VM

I am trying to setup Ubuntu 20.04 VM with QEMU on Ubuntu 22.04, the VM is up but /dev/sgx_enclave is not present inside VM, When I checked the EPC size, it returned "There are zero EPC sections&...
anjali rai's user avatar
0 votes
1 answer
340 views

Mouse scroll wheel works selectively in Ubuntu VM

I'm getting an odd issue in my Ubuntu 22.10 virtual machine running in Proxmox. My mouse is a Razer wired mouse that's showing up in Ubuntu as "VirtualPS/2 VMWare VMMouse" In Settings > ...
TheFury's user avatar
1 vote
1 answer
2k views

How to install qemu-kvm on kinetic when package not showing up in apt?

I'm going around in circles trying to install qemu so I can run a lxd vm. lxd gives me the error Error: Failed instance creation: Failed creating instance record: Instance type "virtual-machine&...
nobody special's user avatar
0 votes
1 answer
497 views

Converting Ubuntu-Minimal 22.04 cloud image from .img file to VirtualBox .vdi disk image

I'm trying to use Ubuntu-Minimal 22.04 pre-built cloud image in VirtualBox. I've dowloaded .img file which (according to file util) has QEMU QCOW2 Image (v2) so I'm trying to convert it using qemu-img ...
kolyande's user avatar
0 votes
0 answers
128 views

remote-viewer swapping monitors at each restart

I've setup a machine with Ubuntu 22.04 that should run an old Windows XP (because we need that old and obsolete version of windows, so don't tell me that I have to upgrade to something new, it's not ...
leopoldog's user avatar
0 votes
1 answer
1k views

How to install QEMU on Ubuntu Server?

All the info I can find do something like this: sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients But when executing it shows it will install a LOT of packages that are for systems with ...
Maestro's user avatar
  • 133
1 vote
0 answers
28 views

How do I move my default virtual bridge to my NIC team

I'm new to Ubuntu and I've been asked to spin up a host server for some VMs. My Ubuntu 22.04 server OS is installed and I have my hypervisor installed and working. I can even create VMs that can ...
C P's user avatar
  • 11
0 votes
1 answer
4k views

How do I install virtio GPU guest drivers for ARM/aarch64 Ubuntu virtual machine

I am using qemu (UTM) to run a Ubuntu virtual machine on an Apple Silicon device. The guest operating system is the ARM/aarch64 version of Ubuntu 22.04. I would like to be able to use virtio to allow ...
John Militer's user avatar
0 votes
1 answer
364 views

QEMU+KVM: Two errors after running virsh list --all, seems to be permission error

after running virsh list --all, I get the following errors: error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied This is ...
DeltaFlyer's user avatar

1
2 3 4 5
10