Questions tagged [qemu]
QEMU is a cross-platform processor emulator.
457
questions
0
votes
0
answers
18
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
...
0
votes
0
answers
28
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-...
0
votes
0
answers
25
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 ...
0
votes
0
answers
24
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 ...
-1
votes
0
answers
29
views
Virtual Machine - share folder between Linux host and Windows guest
I've installed a Windows 10 guest inside of my Ubuntu 20.04 host, under Virtual Machine Manager via QEMU. I've also installed the virtio-win-guest-tools on my Windows 10 guest, after mounting the ...
0
votes
0
answers
40
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 ...
0
votes
0
answers
30
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 ...
0
votes
0
answers
70
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 ...
0
votes
0
answers
12
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....
0
votes
0
answers
69
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 * ...
0
votes
0
answers
49
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 ...
0
votes
0
answers
216
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 ...
0
votes
0
answers
18
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
0
votes
0
answers
32
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. ...
0
votes
1
answer
36
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?
1
vote
0
answers
301
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-...
1
vote
0
answers
134
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 -...
0
votes
0
answers
53
views
Why does the Size increase but not Free space in cfdisk?
I'm running ubuntu in a VM on Unraid. I have increased the VM's capacity with:
qemu-img resize path/to/raw/img/vdisk.img +100G
After restarting I can see in the UI that the space has been allocated, ...
0
votes
0
answers
50
views
virt-install doesn't create .img file on Ubuntu 22.04
In Ubuntu 14.04 virt-install of kvm ISO used to create .img automatically in location /var/lib/libvirt/images/ but in Ubuntu 22.04 even though vm installation was successful, the .img file didn't get ...
0
votes
1
answer
126
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 ...
0
votes
0
answers
149
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 ...
0
votes
1
answer
62
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 ...
0
votes
0
answers
89
views
Trying to get Internet working on a new W11 VM installed with QEMU and Virtio
I'm a slightly more experienced Linux noobie :-)
So I have
a new Ubuntu 22.04 server I installed XFCE4 and the ubuntu desktop
Installed QEMU/KVM virtmanager
Installed Win11 with virtio drivers using ...
1
vote
0
answers
67
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 ...
1
vote
2
answers
216
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&...
0
votes
1
answer
118
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 > ...
1
vote
1
answer
505
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&...
0
votes
1
answer
216
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 ...
0
votes
0
answers
52
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 ...
0
votes
1
answer
370
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 ...
1
vote
0
answers
21
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 ...
0
votes
0
answers
242
views
setting sound in qemu macOS
I have set a qemu version of MacOS in my Ubuntu 22.04. Everything is apparently ok (even if it is not always very fast), but sound is working quite bad. I can hear sound, but it is often flickering ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
166
views
Adding isolated network via virt-manager results to permission denied
I am using virt-manager in combination with qemu/kvm to run my vms. My OS is Ubuntu 20.04 and the vms run under qemu:///session as a normal user.
I want to create an isolated network between my host ...
0
votes
1
answer
141
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 ...
2
votes
0
answers
605
views
Unable to start QEMU VM with SDL display due to Apparmor: cannot load AppArmor profile 'libvirt-32963ecb-fd2f-454c-93a6-c818af618ba4'
I am trying to run my virtual machines in virt-manager using SDL as my display, rather than a spice server.
The VMs boot flawlessly with spice but when I switch its display to SDL I get the following ...
0
votes
0
answers
678
views
ubuntu22.04 pkcs11-tool --module /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so -L gemalto gemplus token not recognized
I'm trying to present a virtual smartcard to a ubuntu virtual machine. But the smartcard isn't recognized by the vm. Although an Almalinux 9 vm does recognize the virtual smartcard.
I'm using libvirt'...
3
votes
0
answers
175
views
Screen locked on desktop resize (aarch64 virtual machine)
I use Ubuntu 22.10 (and used all previous versions) in various environments, mostly virtual machines. I just ran into a new unexpected and annoying behavior on aarch64 (64-bit Arm).
When I resize the ...
2
votes
0
answers
2k
views
Problem with GUI apps: Cannot open display [Docker Desktop, Ubuntu Host, Ubuntu based image]
I'm having problem with opening any GUI application in a running container. In short, I always get similar "cannot open display" errors from different applications.
Platform
Host : Ubuntu 22....
0
votes
0
answers
225
views
How to run Ubuntu RISC-V guest using qemu in Windows 10 host?
I've run Ubuntu RISC-V using Qemu in Ubuntu 22.04 guest in VirtualBox that installed in a Windows 10 host. The Qemu command is a following.
qemu-system-riscv64 \
-machine virt -nographic -m 2048 -smp ...
0
votes
1
answer
2k
views
QEMU not installing
So I wanted to install QEMU on my Windows laptop running Ubuntu 20.04 using:
sudo apt-get install qemu-system-i86 -y
and I got this error.
Reading package lists... Done
Building dependency tree
...
0
votes
1
answer
99
views
accidentally deleted libvirt group, how to restore it
I accidently run the command
sudo groupdel libvirt
and after that my virtual machine qemu stop working says this,
also after deleting group I'm not able to see libvirt in groups command.
how to ...
0
votes
0
answers
241
views
"No valid state has been set by load or init-program"
I'm trying to run a Mac OS 10.2 virtual machine on my laptop running Ubuntu. Whenever I use virt-manager to create the vm, I get the error in the title. However, I was able to get into Mac OS using ...
1
vote
1
answer
301
views
how to get internet on qemu + cloudimg?
trying to run a cloudimg in qemu, and i haven't found a way to get internet access, help? i've set up the cloudimg with
wget 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64-...
1
vote
1
answer
306
views
virt-manager guest OS not grabbing key bindings on Ubuntu 22.10
I have recently noticed that when I press key bindings like super, ALT + TAB and etc. It activates my host OS instead of my guest OS.
So when I try to go to the applications menu on my guest by ...
0
votes
0
answers
69
views
qemu-system-riscv64 does not show full screen with ubuntu 22.04
I am using qemu-system-riscv64 for booting ubuntu 22.04 server image. I am executing qemu-system-riscv64 in a tmux session which is running on debian 11 "bullseye" (which I am accessing ...
1
vote
0
answers
624
views
QEMU VM network bridge in WLAN/Wifi
Host (Ubuntu 22.04.1 LTS) is connected through WLAN/Wifi.
My goal:
QEMU VM (Linux Kernel created with buildroot) has it's own local IP address, host can reach VM through this IP address
it doesn't ...
0
votes
0
answers
316
views
Remove unnecessary hardware stuff from Server 22.04 for QEMU/KVM
I installed Ubuntu Server 22.04 as a guest OS of QEMU/KVM virtual machine. I installed minimal XFCE and a few GUI apps and that is all I use. If I see the disk usage, the "/usr/lib" ...
0
votes
1
answer
251
views
Hyper-V with Ubuntu 20.04 Guest No Virtualization
On windows server 2012 install Hyper-V with VT-x in de bios enabled.
The guest is Ubuntu 20.04
lscpu give:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
...
0
votes
1
answer
130
views
Rhythmbox & Virt-Manager won't launch on 22.10 - errors seems to be related to "controls.cpp"
Edit 2
Virt-Manager was reporting the same last 2 lines whenever it locks up.
[Sat, 29 Oct 2022 17:13:55 virt-manager 72529] DEBUG (vmwindow:185) Showing VM details: <vmmDomain name=Lubuntu id=...