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

CentOS 5.4 No package qemu available

I'm trying to install qemu on CentOS 5.4(final) with: yum install qemu The result is: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.steadfast.net * base: mirrors.cat.pdx.edu * extras:…
0
votes
1 answer

Libvirt command line arguments using xml config file

I am trying something similar to http://wiki.libvirt.org/page/QEMUSwitchToLibvirt#-s . This is my xml file : rubis_ws
sethu
  • 371
  • 3
  • 16
0
votes
1 answer

I cannot see any files after running qemu-img convert

I have run sudo qemu-img convert box-vmware-disk.vmdk -O raw /dev/sda1. No error was encountered all seems to have ended ok, but when I open the hard disk I cannot see any files. I want to be able to see the files to assure me when i reboot the…
Bitmap
  • 125
  • 6
0
votes
1 answer

Using qemu-kvm images with Mac OS X?

i am a big fan of qemu-kvm, i've several instances running on servers running ubuntu linux. I now wonder if it's anyhow possible to use a virtual server image on an Mac OS X machine. Either by running qemu on OSX or by running any other virtual…
harald
  • 403
  • 2
  • 6
  • 19
0
votes
2 answers

9p filesystem interacting badly with KVM savevm snapshot

I have a 9p mount inside a VM. I take a snapshot of the VM state with savevm , stop the VM, then restart it with that snapshot (with kvm -loadvm ). When I try to interact with the mount by either umounting orlsing, the VM hangs…
regularfry
  • 215
  • 2
  • 11
0
votes
2 answers

Why is KVM Host server CPU utilization very high, when the windows guest is idle?

I have Win 2008 running on a Ubuntu 10.04 host using KVM/QEMU. The version is 0.12.3. Event thought the Win 2008 is idle (no updates, most services are turned off), on the host server one of the core is pegged at 99%. Keeping the system average…
taazaa
  • 131
  • 1
  • 4
  • 13
0
votes
1 answer

Error: running qemu on powerpc

I have installed qemu-0.13.0 on x86 system. I downloaded debian-powerpc image from http://people.debian.org/~aurel32/qemu/powerpc/ and used it with this command $qemu-system-ppc -hda debian_lenny_powerpc_small.qcow2 -nographic This is the cpuinfo…
db42
  • 125
  • 1
  • 7
0
votes
1 answer

How to install kvm in Debian (Lenny) over powerpc

I want to install kvm on debian(lenny). I have learnt that packages kvm and qemu-kvm are not available for powerpc architecture. I have found two packages(kvm-source & qemu) and installed it. Now, how do I install kvm. Do I need to install…
db42
  • 125
  • 1
  • 7
0
votes
1 answer

Booting ubuntu with libvirt pass in custom script to be run from rc.local

I have an ubuntu image that I start under libvirt/qemu. I'd like to pass in a custom script at boot time that can be executed from rc.local. I can do this with Amazon EC2 instances via their user-data. I'd like to replicate this feature with my own…
bradgonesurfing
  • 271
  • 1
  • 4
  • 6
0
votes
0 answers

AppArmor rule to allow QEMU to create a char device socket in a directory

Given the following command line for QEMU (from this page): qemu-system-x86_64 -machine accel=kvm -cpu host \ -m $mem -object memory-backend-file,id=mem,size=$mem,mem-path=/dev/hugepages,share=on \ -mem-prealloc -numa node,memdev=mem…
Ken Y-N
  • 111
  • 6
0
votes
0 answers

Converting QEMU Solaris VM to libvirt

I have a QEMU VM running Solaris 2.6 on a SPARCstation-5 machine. I currently start it with the following command: qemu-system-sparc \ -name sunvm \ -machine SS-5 \ -m 256 \ -drive file=sunvm.img,bus=0,unit=0,media=disk \ -nic…
MP64
  • 1
0
votes
0 answers

After converting Windows guest OS .vmdk file to .qcow2 and hosting to KVM gives "No Bootable Device"

We are migrating guest VM from VMware 7 to KVM (installed on Ubuntu 22.04 LTS). We have achieved success in migrating all Ubuntu guest VM from VMware to KVM by converting the vmdk disk to qcow2. However facing issue with Windows Guest VM with…
AM2023
  • 1
0
votes
2 answers

How to access service from virtual machine of another machine in local network?

I have two Ubuntu machines A and B in my local network. Computer B has an openmediavault instance set up via KVM. Computer B has the IP address 192.168.177.58, the openmediavault instance provides a service that I can access in the browser at the…
user7468395
  • 101
  • 1
0
votes
0 answers

How to make KVM guest configs persistent across reboots/shutdown

I create a KVM Guest VM (virsh define a.xml, virsh start a.xml). Guest uses pre-configured/pre-made QCOW2 disk image, which represents a virtual router (Arista vEOS). Host is Redhat 9.1. Guest is based on Centos 7.9. The VM uses a boot loader…
Mo Fatty
  • 121
  • 2
0
votes
1 answer

QEMU SMP options

I'm trying to understand the QEMU smp option. Currently I have set it to: smp 4 As far as I understand that should create 4 vCPU (with 1 core and 1 thread I suppose). Would it be better for performance if I set it to: smp…