Questions tagged [qemu]

QEMU is a cross-platform processor emulator.

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

I'm unable to launch qemu after installation

so i type this command in wsl <qemu-system-x86_64> and it should open the qemu window as usual but it doesn't instead it gives this error Unable to init server: Could not connect: Connection ...
user avatar
0 votes
0 answers
18 views

libvirt and hotswappable single USB port with virt-manager - almost there?

Description USB not visible on Debian guest. I cannot see anything obvious from the logs but because I do not have much virtualisation experience I assume I missed a step in the configuration, ...
user avatar
1 vote
1 answer
34 views

Boot Physical Windows Drive with Virt-Manager/QEMU

I have two separate hard drives in my computer. The first is Kubuntu. The second is Windows 10. I've successfully gotten the Win10 drive botted and running in VirtualBox. However, VirtualBox does not ...
user avatar
0 votes
0 answers
13 views

xrandr preferred mode caclucation is not useful (in virtio vm)

when using spice quest tools is a qemu/kvm virtual machine machien with a xubuntu or xfce session, display resizes to the guest do not trigger xfce to resize. This is an old and well-known problem. ...
user avatar
0 votes
0 answers
44 views

Whonix_KVM. error: Disconnected from qemu:///system due to end of file

As you type: f@user:~$ sudo virsh -c qemu:///system define Whonix-Gateway*.xml error: Disconnected from qemu:///system due to end of file error: Failed to define domain from Whonix-Gateway-XFCE-16.0....
user avatar
0 votes
0 answers
72 views

QEMU Wsl2 Gives GTK Error

I was trying to develop a toy OS but, when i was going to test it, QEMU wasn't working and it gave out this error: dev21s@DESKTOP-M8QPU4D:~/osdev/toyos$ qemu-system-x86_64 -drive format=raw,file=out/...
user avatar
0 votes
0 answers
37 views

How to redirect QEMU stdout to a FILE/Serial

I have been trying to redirect the stdout that QEMU gives (with the boot messages) to a file and to another terminal window or tty (e.g /dev/tty3). In order to be able to understand the operations ...
user avatar
0 votes
1 answer
87 views

Setting up a bridge for host and vm

I'm having quite a lot of problems setting up a network bridge for both my host and my vm to use. The host (os of the server) is Ubuntu 20.04.4 LTS. The VM (using KVM and virt-manager) is TrueNAS Core ...
user avatar
  • 542
0 votes
0 answers
130 views

UEFI boot and different OVMF firmware files when building a VM

What is the difference between the UEFI/OVMF firmwares available in Ubuntu 22.04? Which should I use when building general purpose Windows and Linux VMs in QEMU/KVM with UEFI & Secure Boot? ...
user avatar
  • 1
0 votes
0 answers
314 views

No network access after upgrade to 22.04

I have a home server, which I just upgraded to 22.04. On it, I run a bunch of VMs and dockers for various services. I can access those services just fine, but if I try to ssh into the host, I get a ...
user avatar
  • 439
0 votes
0 answers
184 views

Virt-manager filesystem passthrough not working

I'm new to the ubuntu/linux environment so I don't have a lot of knowledge before hand. I'm currently trying to set up a filesystem passthrough between my host (Ubuntu 22.04 LTS) and my vm (Ubuntu 16....
user avatar
2 votes
1 answer
2k views

Ubuntu 22.04 GPU passthrough (QEMU)

I have found a guide that tells me to do the following to get GPU pass through working on 20.04 apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager ovmf lspci -nn ...
user avatar
  • 223
0 votes
0 answers
34 views

Ubuntu 20.04 hanging at boot after using QEMU guess on custom linux build

I've been using this script for test some kernel development. It has worked fine, but recently I think I broke my machine using the GUEST option: $> sudo ./q.sh -g This appears to attempt to mount ...
user avatar
  • 101
0 votes
0 answers
157 views

QEMU: unable to mount USB device to VM

I want to passthru an USB stick to my VM running in plain QEMU. Here is the device from the host system: ~ $ lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M |__ ...
user avatar
  • 75
0 votes
1 answer
81 views

Can anyone provide me with a working example of ubuntu-cloud-init.cfg for an Impish kvm/qemu host?

I've been pulling my hair out for two days trying to get a working cloud init config for 21.10 guest VMs on a 21.10 host. The problem is authentication. No user can authenticate to the VM using virsh ...
user avatar
  • 168
0 votes
0 answers
58 views

Ubuntu 20.04 Upgrade issue Packer Qemu

follwing i have in issue and getting "Timeout during SSH handshake", when we executing the commands: if it possible to deactivate or disable upgrading these package? sudo apt update sudo apt ...
user avatar
0 votes
1 answer
30 views

QEMU, how to install win2K as Guest from install-CD

I have Guests-OS (Fedora etc) running fine with QEMU and u20.04 as the Host. I need to get some old pictures from an encrypted win2K backup CD. I have not found anything that will decrypt the huge ...
user avatar
0 votes
2 answers
367 views

Unable to add virtiofs filesystem to QEMU VM in Ubuntu Server 20.04 due to incomplete feature support

I am having difficulties adding a shared folder on my host Ubuntu Server 20.04 for exchanging data with my Linux VM using virtiofs. Inside my <domain/> I have added <memoryBacking> <...
user avatar
1 vote
0 answers
121 views

Cross Compile QEMU from Ubuntu to Windows 10

For several days I have been stuck trying to cross compile QEMU for windows 10 x64. I am not familiar with minwg at all. I read a lot of pages but most of time it seems to be to old or or to not use ...
user avatar
  • 11
0 votes
0 answers
44 views

qemu virtualisation: import NFS share?

An old friend with somewhat "personal" opinions and habits requested me to set up a virtual Win XP machine on his Ubuntu. The reason for wanting this very antiquated O/S needs not be ...
user avatar
0 votes
0 answers
106 views

How to create and start Xen guest VM by qemu-system-x86_64 command

I have built & installed Xen 4.15 onto my Ubuntu20.04 platform successfully according to https://wiki.xenproject.org/wiki/Compiling_Xen_From_Source After reboot, I entered Domain 0 successfully. ...
user avatar
1 vote
0 answers
1k views

Unable to connect to libvirt qemu://system

I am trying to setup a GPU passthrough for KVM but I've been facing this egregious problem the whole time. Basically, it's telling me to verify whether libvirt is running or not. Unable to connect to ...
user avatar
  • 11
0 votes
1 answer
46 views

Ubuntu qemu Display output to logfile

we install our Ubuntu 20.04.3 with packer and qemu. Since we are working without a display output, the question now is whether it would be possible to put the output into a log file. We activated the ...
user avatar
0 votes
0 answers
55 views

Sharing files between Ubuntu and Windows in Qemu?

I use Qemu and Virtual Machine Manager to run Windows 10 from my Ubuntu. I can share data between the two systems by redirecting a USB stick. Is there an easy way to share a small amount of data ...
user avatar
  • 718
1 vote
1 answer
174 views

No login prompt on console Ubuntu 20.04.3 LTS (running on qemu Synology)

With one of the last Ubuntu updates I can't login on console anymore, because I'm getting no login prompt. I'm running Ubuntu 20.04.3 LTS on a Synology Virtual Machine and try to connect to the ...
user avatar
  • 29
0 votes
0 answers
273 views

Ubuntu 20 LTS. How to adjust serial-getty@ttyAMA0.service timeouts?

I am running the ARM64 build of Ubuntu 20.04 under QEMU. ~50% of the time the boot process reports this: [ TIME ] Timed out waiting for device /dev/ttyAMA0. [DEPEND] Dependency failed for Serial Getty ...
user avatar
  • 111
0 votes
1 answer
207 views

qemu adding a non bootable floppy raw format image into an existing virtual machine

This is the issue: I created a floppy image which I want to add to an existing virtual machine. I added the disk from the virtual machine manager but when I boot the vm I get this error: Automatically ...
user avatar
0 votes
0 answers
58 views

Weird Network slowness on qemu vms

I've created two qemu VMs using below command. Both VMs are on virbr0 bridge. qemu-system-x86_64 \ -drive "file=bionic-server-cloudimg-amd64.img,format=qcow2" \ -drive "file=${...
user avatar
  • 101
1 vote
0 answers
358 views

QEMU Guest hat not initialized the display (yet) | Ubuntu 21.10 arm64

Actually I have a problem by using qemu on my Windows 10 to built an Ubuntu arm64 Image. I creating the qemu VM with packer, it works fine, but it still hang after typing the boot parameters. After ...
user avatar
0 votes
1 answer
174 views

Qemu how to get a port for VNC and stop the terminal?

Using Ubuntu 20.04, I am starting my Ubuntu server with: qemu-system-x86_64 \ -enable-kvm \ -cpu host \ -smp 11 \ -drive format=raw,file=/mnt/kvm-guests/work.img,if=virtio \ -net nic,model=...
user avatar
  • 103
0 votes
2 answers
97 views

QEMU Package Missing

Our open source project has been using Github Actions to run an Image builder. We are using Ubuntu latest and we have two deps that get updated which are qemu and qemu-user-static. Up until a couple ...
user avatar
1 vote
0 answers
297 views

Unable to boot RISC-V with Qemu on Ubuntu 18.04

I am trying to run RISCV using Qemu on Ubuntu machine 18.04. For the same I followed below tutorials: https://risc-v-getting-started-guide.readthedocs.io/en/latest/linux-qemu.html https://github.com/...
user avatar
  • 11
1 vote
1 answer
356 views

qemu+kvm, unhelpful virt-install --location error

I have fought with qemu and virt-install to no avail, and I am completely stuck with an unhelpful error message that gets me absolutely nowhere. FIRST, some necessary system configuration: Base metal ...
user avatar
0 votes
1 answer
524 views

Virt-manager missing architecture types

I am running 21.10 with virt-manager 3.2.0. I have installed: qemu-system-aarch64 qemu-system-i386 qemu-system-x86_64-microvm qemu-system-arm qemu-system-x86_64 qemu-system-x86_64-spice ...
user avatar
0 votes
1 answer
299 views

Manually download multipass VM images

Not sure if multipass run VMs locally or in the cloud, but if it is running locally is must download e.g. qemu2 images first. Can one download these image manually? Is there a simple URL to e.g. ...
user avatar
  • 324
0 votes
0 answers
85 views

Ubunut 21.10 IPv6 only KVM/qemu VM With CloudInit: no ping / ssh possible

I am running Proxmox and i have a Ubuntu 21.10 VM with only a public IPv6 address that is setup with CloudInit (using ubuntu-21.10-server-cloudimg-amd64-disk-kvm.qcow2). So no IPv4 address. When i try ...
user avatar
2 votes
1 answer
926 views

Availability of liburing in Ubuntu 20.04

I am building qemu with --enable-linux-io-uring option on Ubuntu 20.04, which requires liburing. But if I tried to install packages liburing1 and liburing-dev using apt, I was told "E: Unable to ...
user avatar
  • 77
0 votes
0 answers
170 views

Cannot install build dependencies of qemu: "you have held broken packages" [duplicate]

When I run sudo apt-get build-dep qemu on a ubuntu 20.04 machine, I got the following errors: Reading package lists... Done Reading package lists... Done Building dependency tree Reading state ...
user avatar
  • 77
1 vote
1 answer
185 views

oz-install failed with message "qemu-system-x86_64: warning: host doesn't support requested feature"

I was using oz-install to automize the generation of raw images, below are my config files. corey.tdl <template> <name>corey_x86_64</name> <description>CentOS 7 template&...
user avatar
  • 257
2 votes
1 answer
261 views

Which package is pango that is needed to compile Qemu with --enable-gtk enabled?

I'm compiling Qemu with --enable-gtk enabled. .configure gives me the following error messages: Run-time dependency gtk+-3.0 found: NO ../meson.build:1042:2: ERROR: Could not generate cargs for gtk+-...
user avatar
  • 77
0 votes
0 answers
92 views

Qemu thunderbolt audio device freezes on windows guest

I have Ubuntu 20.04 hosted on HP elite book G8 (i7 1185G7) and Windows 10 guest through kvm. I need to connect a Thunderbolt audio device (Presonus Quantum) to windows. I did it using a virtual ...
user avatar
  • 21
0 votes
1 answer
1k views

Copy & paste does not work between host and guest ubuntu, spice installed

I have a QEMU VM, both the host and guest OS being ubuntu 20.04. I wanna enable copy & paste function between the host and guest. I have read the answers of following two thread: How can I copy&...
user avatar
  • 77
1 vote
1 answer
199 views

Export or convert files [ovf - mf - vmdk] to img

An exported VM of which I have 3 files. os.mf os.ovf os-disk1.vmdk I want to convert this to a * .img image
user avatar
0 votes
1 answer
78 views

Does Ubuntu expressly not use printf for output at boot? Can it?

This question occurs to me when I am trying to have the guest Ubuntu OS display boot messages in QEMU VM (like [ 2.34567890123] ... and [ OK ] ....). Here I have a QEMU VM, both the host and guest ...
user avatar
  • 77
0 votes
0 answers
259 views

QEMU/KVM single file from Ubuntu host's shared folder not available in Windows guest

I'm at a loss with the following setup: My Ubuntu server runs a native QEMU/KVM based Windows 10 (no Virtualbox or alike!). Two folders of the server are shared with the Windows guest. Everything is ...
user avatar
  • 75
0 votes
0 answers
81 views

Failed to connect socket /tmp/nvme_server: No such file or directory : QEMU

I am trying to create a VM using qemu with following command: ./qemu-system-x86_64 -hda /home/user/ubuntu-test.img -m 8G -smp 4 -monitor stdio -serial pty -chardev socket,path=/tmp/nvme_server,nowait,...
user avatar
0 votes
1 answer
90 views

How to login into VM from host which is a remote server?

My host machine is a remote server on which I created a VM using qemu. I created the VM using the following command: ./qemu-system-x86_64 -hda /home/divija/images/xenial-server-cloudimg-amd64-disk1....
user avatar
0 votes
1 answer
163 views

shrink ext4 boot partition inside qemu image

I need to reduce my bootable qemu image (which downloaded from glance) virtual size from 12G to 2G: $ qemu-img info w.img image: w.img file format: raw virtual size: 12 GiB (12884901888 bytes) disk ...
user avatar
0 votes
0 answers
185 views

'Your Network is probably not using the DHCP protocol' while installing ubuntu on a virtual machine (turned out to be host machine difference)

I'm now installing Ubuntu 20.04 on a virtual machine using qemu (I've done this 2-3 times before). But this time I'm getting this message: Your Network is probably not using the DHCP protocol. ...
user avatar
  • 1,277
2 votes
1 answer
2k views

qemu failed to passthrough a tpm device

Hi i'd like to install windows 11 on kvm. I have tpm enabled on my system. ubuntu 21.04 (qemu 5.2+dfsg-9ubuntu3.1) ls -ls /dev/tpm* 0 crw-rw-rw- 1 root root 10, 224 Sep 25 18:18 /dev/tpm0 0 crw-rw-...
user avatar
  • 604

1
2 3 4 5
9