Skip to main content

All Questions

Tagged with
0 votes
0 answers
10 views

Libvirt/QEMU using real drive, showing virtual data in VM

I'm using a real drive as my windows 11 VM drive in libvirt using QEMU. This is working fine, however, when I open task manager, the drive shows as "QEMU HARDDISK", and shows up as an HDD (...
Twiston's user avatar
  • 11
1 vote
0 answers
55 views

Arch AMD GPU Single GPU passthrough detatch script results in black screen

I've succeeded in setting up my windows 11 VM for single gpu passthrough, however, when stopping the vm, my screen remains black. I'm using arch linux. start script: (working) set -x source "/etc/...
Twiston's user avatar
  • 11
1 vote
1 answer
114 views

VM in QEMU does not recognize virtual size, reports "no space left on device"

I start with the latest Debian cloud image, and make a copy for my VM. ❯ cp debian-12-nocloud-arm64.qcow2 kthw-jumpbox ❯ qemu-img info kthw-jumpbox image: kthw-jumpbox file format: qcow2 virtual ...
Keith Herbert's user avatar
0 votes
0 answers
41 views

How to restrict user to only certain domains with qemu:///session libvirt wtihout polkit?

How can I restrict users to starting user mode vms to specific domains? I don't want to use polkit for this, but I'm not sure it can even be used for delegating access to users running executables ...
ift-436t's user avatar
0 votes
1 answer
75 views

How to move free space from end of vm disk to resize(grow) primary partition on qemu hypervisor?

I was able to add space to my vm, but am at a loss for how to shuffle it from the end of the disk to resize the primary partition. Appreciate your input if you are knowledgeable about how to do this.....
Mark's user avatar
  • 1
0 votes
0 answers
824 views

Share directory from Mac with qemu / UTM virtual machine

I'm looking for end-to-end instructions how to share a Mac directory with a virtual machine that's being run with qemu or UTM. I cannot find a p9 filesystem implementation on the Mac side, so that ...
Johannes Ernst's user avatar
0 votes
0 answers
26 views

Qemu - bind guest OS to secondary monitor without GUI on host

I am running arch distro with terminal only (without any GUI). I would like to start Qemu guest machine and bind it to a secondary monitor. Is this doable?
ojek's user avatar
  • 111
2 votes
0 answers
217 views

How can I prevent certain keys (e.g. Super/Win) from being passed through to a qemu guest?

I am running a Windows 10 guest under Linux using qemu / virt-manager. All of my WM shortcuts in X use the super (windows) key. I don't really need that key for anything inside the Windows VM. Is ...
mark03's user avatar
  • 21
0 votes
0 answers
35 views

same ip range and subnet in 2 different bridges

I am trying to create 2 different virtual networks in the same ip range (not using NAT) in virt manager.Doesn't work with the gui or editing the xml of the new virtual network . Is the best way to ...
ISG's user avatar
  • 1
1 vote
1 answer
595 views

QEMU VM guest with no network in bridge mode on Arch Linux

I try to create a network bridge mode with my QEMU VM guest in Arch Linux using systemd-networkd. First, I create bridge mode in Arch Linux: # nano /etc/systemd/network/br0.netdev [NetDev] Name=br0 ...
membrillo's user avatar
0 votes
1 answer
1k views

How to run a Mac OS VM on an Intel Mac?

I'm a developer and some of my users experience issues on older Mac OS versions. I would like to test my app on an older version of Mac OS using my Intel Mac. I think the only solution is using a ...
Fractale's user avatar
  • 667
1 vote
0 answers
167 views

AMD GPU pass-through doesn't work on Windows 7 (even though NVIDIA works)

I have a multi-gpu VM setup (Nvidia GTX 970 and AMD RX 6600) with Windows 7, Windows 10, macOS virtual machines. I pass GPU directly to a guest operating system (isolate from host-os and pass them ...
user3027198's user avatar
0 votes
2 answers
518 views

Unable to play most games on Android QEMU VM on Linux Mint

So I wanted to set up an android emulator to play Arknights on a Linux Mint desktop machine. I have libvirtd and I use virt-manager to handle my VMs. I set up both a Android-x86 9 and Android-x86 8.1 ...
guninvalid's user avatar
0 votes
1 answer
3k views

How to Reach QEMU VM's with IP Address (Optionally Static)?

Situation I have two QEMU KVMs (named master and worker, respectively) running on my laptop. The VMs use the headless server edition of Ubuntu 22.04, and the laptop is running Mint. Goal I want three ...
Della's user avatar
  • 101
0 votes
0 answers
233 views

How to pass command key usage to QEMU Guest? (As in using Command-Q corresponds to the guest seeing Meta-Q, not quitting QEMU.)

I'm trying to use a Linux VM on MacOS with QEMU but I'm having a problem: I need to change the config to set up hyprland all the way but hyprland looks for shortcuts involving the super (meta/command/...
JustAnotherCodemonkey's user avatar
0 votes
1 answer
251 views

Can you have multiple connected isolated networks in qemu?

I wanted to emulate a cybersecurity attack using multiple different VMs on qemu and usually they have IP Addresses that can be very different (for example, usually the attack machine is 192.168.0.x ...
Hylia's user avatar
  • 1
0 votes
1 answer
1k views

QEMU: passing usb devices running fullspeed to vm with ehci usb controller running lowspeed

I have Windows XP VM with GPU passthrough and would like also to pass usb keyboard and mouse to it. I am doing the usb passthrough with: -device usb-host,vendorid=0x1e7d,productid=0xafca \ -device usb-...
ArrayON_56's user avatar
0 votes
1 answer
982 views

QEMU Win10 resolution change doesn't work when window resized

I have VM with Windows 10 as guest and would like to set up automatic resolution change when window (qemu integrated display or virt-viewer) is resized, but it doesn't work for me. My virtual machine: ...
ArrayON_56's user avatar
0 votes
1 answer
449 views

IP address removed from docker0 bridge on QEMU/KVM virtual machine

I'm renting a virtualized server running Ubuntu 22.04 and I'm trying to run Docker containers within it. The server is virtualized with qemu-kvm. Unfortunatly, the containers don't have network access....
Eric's user avatar
  • 11
1 vote
2 answers
2k views

USB passthrough to VM with maximum isolation from host

I'm thinking of experimenting with some USB devices in a virtual machine (preferably QEMU). For security reasons, I don't want to let them interact with the host. Things I've tried: Doing nothing ...
shy_potato's user avatar
2 votes
1 answer
4k views

aarch64 VM; amd64 host; "invalid accelerator kvm"

I have an ARM64 machine, which I want to emulate as a VM on my desk for testing. This will be the first time I'm emulating ARM64 on an AMD64, I'm clueless, and I went fumbling for hints. I found one ...
Michael Jinks's user avatar
0 votes
0 answers
1k views

How to tunnel all traffic of a QEMU VM through a Proxy?

I'm trying to make a VM in which all its traffic goes through a proxy (like a tor proxy or any other ip/port proxy). I've found this article showing that it is possible in command line, however I'm ...
Fnr's user avatar
  • 149
0 votes
1 answer
2k views

/sys/firmware/efi/efivars mount point does not exist on artix (QEMU on arch) EFI variables are not supported on this system

I'm trying to install Artix Linux on a virtual machine before I install it on actual hardware. I'm using QEMU. When trying to install GRUB via grub-install --target=x86_64-efi --efi-directory=/boot/...
redpz's user avatar
  • 13
0 votes
0 answers
274 views

"Error Loading operating system" on QEMU

The Windows 2000 Professional virtual machine is essentially installed on VMWare Workstation Pro, when I convert the VMDK file to QCOW2 or run the VMDK file directly using Virt-Manager, it shows "...
TechVio's user avatar
1 vote
2 answers
2k views

QEMU (with virtmanager) boots to uefi shell when trying to install windows 11

I'm trying to make a windows 11 qemu VM on my arch linux install but when I start it it shows: this what can I do to make it boot normally into the windows installer with UEFI and secure boot?
Maxb0tbeep's user avatar
2 votes
1 answer
1k views

QEMU: Executing guest program in foreground

I use QEMU to run a Windows 10 virtual machine (VM) on an Ubuntu host. My goal is to programmatically instruct the VM to run a specific GUI program in the foreground, as if the user had started the ...
Matt Bushmills's user avatar
1 vote
0 answers
250 views

QEMU in Linux container connected to over SSH

I have been trying to use QEMU to get a VM (CentOS) running hosted in a container that I use a Putty SSH session to connect to. It seems I have issues with the serial input. I am using this command ...
Steve4879's user avatar
4 votes
1 answer
3k views

Can I get more screen resolution options for a QEMU virtualized Windows using a VirtIO graphics card?

When virtualizing e.g. a Windows 10 installation with QEMU and using the default graphics card (with no command line option set), it shows up as a "Microsoft Basic Display Adapter", and one ...
Tobias Leupold's user avatar
0 votes
0 answers
2k views

QEMU: slow network performance with virtio_net driver

I'm running KVM/QEMU 7.2.0 with Linux for both host and guest (kernel 6.1.6 on x86_64). For the virtual networking, I'm using bridge device on host to which guest attaches its NIC as tap device: -...
jurez's user avatar
  • 615
1 vote
1 answer
3k views

QEMU + KVM (Keyboard, Video and Mouse) what are my options?

I'm using QEMU with KVM (kernel based virtualization) and I want to connect my virtual machines to my physical KVM (keyboard, video and mouse) switch. GPU passthrough would be an option but I don't ...
Marco's user avatar
  • 115
0 votes
1 answer
464 views

How to check QEMU virtual machine filesystem without the user password

I'm doing a couple of tests of Ubuntu autoinstall using cloud-init. In order to do so, I am following an example that's presented in the Autoinstall QuickStart page. In the given example, the ...
albertoperdomo2's user avatar
1 vote
1 answer
1k views

Boot physical win10 disk in QEMU

https://www.tenforums.com/virtualization/179771-using-physical-disk-kvm-qemu-windows-vm.html?__cf_chl_tk=z_c4bUjts37uHd66EhURNiy75Wla6ioAk1ettZofip4-1670079604-0-gaNycGzNCH0 this got me the farthest ...
ипос втарой's user avatar
1 vote
2 answers
3k views

Can't boot Ubuntu Server 22.04 LTS ARM 64-bit ISO under QEMU on Windows 11

Issue Summary I'm running Windows 11, and installed QEMU with the Scoop package manager. scoop install qemu After that, I tried launching a QEMU virtual machine, using the ARM 64-bit CPU architecture....
Trevor Sullivan's user avatar
1 vote
0 answers
661 views

How to configure a bridged adapter network using qemu-system-x86_64 in Windows

I want to launch a Centos 7 VM using qemu in Windows 11. I already have a disk image (vmdk) and it works fine if I run it with the following command: qemu-system-x86_64 -m 4096 -smp 2 -drive file=&...
Denis_Soto's user avatar
0 votes
0 answers
1k views

Clonezilla clone to qemu/kvm virtual machine

i created a virtual machine on qemu and started it from clonezilla iso. After that i plugged hard drive and installed my prepared os to virtual machine. After restart i am getting: Booting from Hard ...
ssssssss's user avatar
3 votes
0 answers
4k views

Virsh doesn't list virtual machines

On arch, I set up a number of VMs using virt-manager. My user is part of the libvirt group, and I can access virsh, but virsh list without root access doesn't list the VMs I created: $ virsh list --...
Andreas Hartmann's user avatar
2 votes
2 answers
2k views

Creating x86/amd64 Debian10 Vagrant guest on M1 MacBook host

I've been given a Vagrantfile that's normally used by Ubuntu people to create and provision a Debian 10 VirtualBox guest box for development work. They'd normally use the VirtualBox provider plugin ...
tripRev's user avatar
  • 121
0 votes
0 answers
1k views

NAT (in QEMU/KVM) and WSL2 doesn't have internet, but host does

I've tested in 3 differents PC in my network, with Fedora, Arch and Windows None of the guest OS have Internet, nor VirtualBox, QEMU/KVM, and WSL2, but when I use brigde networking or MacVtap option ...
pragmaticmero's user avatar
1 vote
0 answers
303 views

Create Debian ARM image on Windows 10

I want to create a Debian ARM image using QEMU on my Windows 10 machine. I created my command using hints from here: qemu-system-aarch64 -M virt -m 16384 -cpu cortex-a72 -smp 4 -bios QEMU_EFI.fd -...
user avatar
0 votes
0 answers
2k views

How to make a VM on a bridged network interface accessible from LAN?

Context I have the following network : a router (IP 192.168.2.254) which handles DHCP on 192.168.2.x network a computer1 (IP 192.168.2.1) under Linux (Debian 11) using ufw as firewall a computer2 (IP ...
berty's user avatar
  • 93
0 votes
0 answers
73 views

Install an OS on a hard-drive via VM

Is it possible to install an OS on machine's hard-drive instead of virtual hard-drive using a VM (QEMU/VirtualBox)? The reason I want to install an OS like this is because currently I don't have an ...
Dor1ma's user avatar
  • 1
2 votes
1 answer
2k views

How to create network with 3 guest virtual machines in macOS on an M1 MacBook?

I have MacBook (M1) and I need to create 3 Virtual Machines in same network: pfSense firewall (x86, with 2 network adapters: WAN shared network with host and LAN network adapter as gateway for guests,...
DsXack's user avatar
  • 31
2 votes
0 answers
746 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, ...
AnonymousAardvark's user avatar
0 votes
0 answers
204 views

Does qemu not permit you to run a VM of the OS you're already running?

This is a reposted version of this question which got closed because it wasn't in Super User: https://stackoverflow.com/questions/72706102/why-does-qemu-go-black-when-trying-to-run-a-vm-of-the-os-its-...
WindowsWeenie's user avatar
3 votes
1 answer
5k views

How do I save Virtual Machine state in UTM (QEMU)? using M1 Macbook Pro

I am a beginner in dealing with virtual machines. I have managed to boot up a virtual machine (Ubuntu) using UTM on my M1 Macbook Pro. However, I have been having a hard time figuring out how I can ...
AMara's user avatar
  • 31
1 vote
1 answer
5k views

How to passthrough GPU/PCI-e with QEMU 7.0 on macOS host to Windows guest

I have a PC with a powerful Nvidia GPU that is used for mining only through a simple Windows application. For my love in Hackintosh, I installed a new SATA drive and installed macOS Monterey 12.4 and ...
zinger's user avatar
  • 113
2 votes
0 answers
2k views

How define custom DNS server for QEMU VM via CLI?

How define custom DNS server for QEMU VM via CLI? I want only for that virtual machine dns at 192.168.1.51 which is pi-hole. sudo qemu-system-x86_64 -gtk -m 1G -hda "ubuntu22.qcow2" -cpu ...
aClassicKoder's user avatar
3 votes
2 answers
806 views

Possible to move a guest OS on VirtManager (Linux) to Windows?

For VirtualBox or VMware Workstation,one could copy the guest OS data directory to another computer and run it there. For example, I could create a guest OS on Linux, and then copy the guest data ...
Damn Vegetables's user avatar
1 vote
2 answers
5k views

How to enable Hyper-V in a windows guest?

I have a Windows guest OS installed under QEMU kvm (host is Linux), the system works fine, but Both task manager and systeminfo showed that Hyper-V is supported but disabled in firmware, how can I ...
imkzh's user avatar
  • 121
1 vote
1 answer
4k views

Unable to load Nvidia drivers in QEMU virtual machine

I have an Ubuntu Server 20.04 LTS on an Alienware Aurora R6 (i7-7700 CPU with a Nvidia GTX 1080). I am relatively new to type-1 hypervisor and have some experience with type-2 (VirtualBox). On the ...
rbaleksandar's user avatar

15 30 50 per page