Questions tagged [qemu]

QEMU stands for "Quick EMUlator" and is a processor emulator that relies on dynamic binary translation to achieve a reasonable speed while being easy to port to new host CPU architectures.

QEMU has two operating modes:

  • User mode emulation

In this mode QEMU runs single Linux or Darwin/Mac OS X programs that were compiled for a different CPU. System calls are thunked for endianness and for 32/64 bit mismatches. Fast cross-compilation and cross-debugging are the main targets for user-mode emulation.

  • Computer emulation

In this mode QEMU emulates a full computer system, including peripherals. It can be used to provide virtual hosting of several virtual computers on a single computer. QEMU can boot many guest operating systems, including Linux, Solaris, Microsoft Windows, DOS, and BSD 1; it supports emulating several hardware platforms, including x86, x86-64, ARM, Alpha, ETRAX CRIS, MIPS, MicroBlaze, PowerPC and SPARC.

Source: wikipedia

637 questions
0
votes
1 answer

QEMU VM with tap interface sees all packages coming from hypervisor instead of real source IP

I have set up a very simple Hypervisor using Alpine Linux and my VM sees all traffic coming from the IP of the hypervisor. Which also means if fail2ban tries to block attacks, it always blocks the hypervisors IP How can I have the VM see the real IP…
Christian
  • 333
  • 7
  • 18
0
votes
1 answer

Can ssh into Ubuntu 20.04 virtual machine but domifaddr shows no IP

I created an Ubuntu 20.04 virtual machine following this guide. I am able to ssh into the virtual machine using the IP address I wrote in the network-config file, i.e., 192.168.122.101, however, when running virsh domifaddr and virsh…
0
votes
1 answer

Ways to access qemu monitor inside guest

What are the ways of accessing qemu monitor inside the guest i.e VM other than pressing Ctrl+Alt+2 buttons? Is there any way we can access the qemu monitor using telnet from the guest?
0
votes
1 answer

QEMU Monitor via Remote Desktop

I want to access QEMU monitor from my Windows VM, but I have connected the Windows VM via RDP. When I press Ctrl+Alt+2 , the QEMU monitor is not opening. If I do the same when connected without RDP, the monitor is opening. Is there a way I can open…
nerd
  • 101
  • 1
  • 1
0
votes
1 answer

Debian Stuck at Booting from Hard Disk after installation on KVM

I'm trying to install Debian on Qemu-KVM on RouterOS v5.25 I tried : debian-10.8.0-i386-netinst.iso debian-8.11.0-i386-kde-CD-1.iso debian-live-9.0.0-i386-gnome.iso on disk image created using : qemu-img.exe create -f raw debian.img 10G during the…
Amr SubZero
  • 101
  • 1
  • 4
0
votes
0 answers

Ubuntu Installation on Qemu/KVM Black Screen

I'm trying to install Ubuntu or higher on KVM. I have tried installing 14.04.6 LTS / 16.04.7 LTS and 18.04.5 LTS First i create Qemu Disk Image : qemu-img.exe create -f raw hdd.img 5G and when i boot to the ISO : after selecting Install Ubuntu…
Amr SubZero
  • 101
  • 1
  • 4
0
votes
0 answers

Old KVM Guest not starting after reboot

I have a bunch of Virtual Machines in a Ubuntu 18 Guest machine. Until recently they have all been working without any problem. However after I restartet one of the Guests(also Ubuntu) it is now not starting back up. The libvirt log does have…
0
votes
1 answer

Arch Linux - QEMU override System Manufacturer on Windows 10

I've fully virtualized a VM with windows 10 on QEMU and had to do host-passthrough in order for it to work. Because there's no way to set SMBIOS to reflect the host, I want to know if there's any way to change the System Manufacturer key in my guest…
Matheus Simon
  • 115
  • 1
  • 6
0
votes
1 answer

QEMU / KVM - Dedicated 802.1q VLAN for each VM - Communication only via router

I have a Linux firewall router (dedicated machine) with multiple ethN interfaces (my "big firewall"). All forwarded traffic is filtered by a set of iptables rules (default policy DROP). There's another dedicated machine ("vmhost") that will host…
MrSnrub
  • 153
  • 1
  • 3
  • 9
0
votes
0 answers

Can I customize all my operating systems that I will install on kvm/qemu with Virt-customize?

For my private cloud provider, I want to create a virtual machine from the operating system iso I want using kvm/qemu (since I was looking for an alternative to cloud-init, I chose to customize it with virtual-customize) but I could not customize…
Sheele
  • 16
  • 2
0
votes
1 answer

Is it possible to have both static and dynamic IPv6 addresses on one interface?

I have two Qemu virtual machines with Ubuntu Server. I would like one of them to be a DHCP server. On the second one, I would like to have two IPv6 addresses. One should be static, and the other one should be obtained from my DHCP server. I am able…
user6758
  • 59
  • 1
  • 6
0
votes
1 answer

Cannot virsh start my VM after a reboot of physical machine..error only a single IDE controller is supported?

I have a VM running under kvm (it is a .img file), the server it runs on crashed hard and restarted and finally got things up... I think I goofed and ran yum install -y qemu-kvm Which I am sure updated a ton of stuff on a very old unpdated os. I…
Codejoy
  • 107
  • 5
  • 17
0
votes
1 answer

KVM Port Forwarding Port 53 to Guest via NAT - Temporary failure in name resolution

I'm trying to forward port 53 from the host to one of my KVM virtual machine guests on the virtbr0 interface (which uses NAT). The guest VM is going to run a customized DNS server. However, after port forwarding port 53, DNS will not resolve in the…
OwN
  • 187
  • 3
  • 14
0
votes
0 answers

win10 vm crashes Debian host on install

using qemu kvm virtual machine manager gui HOST: current debian bulleye VMs that work: Any linux distro tried, WinXP, but lags a little. Windows 10 boots to spinning windows logo, Install begins. As installation drop down boxes are selected mouse…
0
votes
0 answers

IP-forwarding slow/dead

I have 2 vm's set up in qemu. 1 of the vm's (VM1) has a link to the internet and a link to the other vm (VM2). On VM1 I get good results on network performance (to wan): Connecting to host iperf.xxx, port 5201 [ 5] local xxx port 40826 connected to…
Gino
  • 16
  • 2