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

how do I add a vcpu to one of my KVMs in QEMU?

I want to add a vcpu to a virtual server in QEMU. I tried editing the XML file in /etc/libvirt/qemu and starting the server, but that does not seem to work.
Zhenya
  • 31
  • 1
  • 6
0
votes
2 answers

how do I backup my qemu kvm img files that are block files?

I inherited a pair/cluster of Ubuntu 10.04 servers running DRBD and QEMU/KVM and I want to backup the img files but they appear to be block files on the DRBD fs and I'm not sure how I can back them up. I tried to use the qemu snapshot command; it…
Zhenya
  • 31
  • 1
  • 6
0
votes
3 answers

Why is Qemu Virtual CPU on my kvm guests

can some one please clarify this. I am new to kvm and created two guest instances one linux and one windows. On both Guests, CPU is showing as QEMU virtual CPU,why is it so? if kvm utilizes hardware virtualization and Qemu an emulator then what is…
kevin
  • 191
  • 5
  • 16
0
votes
2 answers

Can't get beyond boot screen after booting from CD in KVM

I've just installed KVM on Debian 6 64 bit and have created 2 guests and booted one of them. I can connect via VNC and I get the Debian CD boot options (text/graphical install). I have tried selecting both and in both cases I get a blank screen…
James
  • 183
  • 1
  • 2
  • 13
0
votes
1 answer

Qemu on Mac instead of VirtualBox

Assuming I only want to use Linux as guest, are there any advantage in using Qemu instead of VB or other commercial solutions such as VM Fusion? I want to easy to ro tun Linux on my Mac without too much CPU/memory usage.
Ryan
  • 5,831
  • 24
  • 72
  • 91
0
votes
2 answers

make vnc server listen on guest's ip address

My host system has the IP 192.168.0.250. Now I want to create a kvm guest using a tap device (so the network card of the guest just acts like a "real" one). The guest has a static ip 192.168.0.249 which it setups on his own (no dhcp). To connect to…
gucki
  • 818
  • 2
  • 11
  • 29
0
votes
1 answer

kvm with virtio scsi and rbd

I'm currently using virtio-blk but I'd like to change to the new virtio-scsi, especially because it supports trim/ discard. The host is an ubuntu quantal system (kernel 3.5.0, qemu 1.2.0). This is how I start my guest: kvm -cpu kvm64 -smp…
gucki
  • 818
  • 2
  • 11
  • 29
0
votes
1 answer

Is it possible to pass /dev/urandom through from the host to a qemu/kvm guest?

I'd like to pass the host's /dev/urandom device through to a qemu/kvm virtual machine. Note that /dev/urandom is not seekable, so it's not possible to pass it through as a block device using -hda, -fda, or -sda. I would expect that I should be able…
0
votes
1 answer

KVM low network speed

I have a networking problem with KVM. There is only one VM on the server and port speed is 100 megabits per second But maximum download rate is about 1 megabytes per second and expected to be 10mb. I use virtio and drivers are installed and loaded…
Zim3r
  • 1,454
  • 5
  • 24
  • 45
0
votes
2 answers

Share CPU between two KVM VPS on a dedicated server

how can I share CPU between two KVM VPS on a dedicated server? assume that we have 8-core CPU on a dedicated server to get maximum performance for two VPS, should I assign 8 cores to each one of them? or just assign 4 core to each VM?
Zim3r
  • 1,454
  • 5
  • 24
  • 45
0
votes
2 answers

How to create LAN segments in qemu

I could successfully connect two different virtual machine ports directly using LAN segment feature in VMware workstation. Is there a way to do the same on qemu ? As of now i have created two qemu vms and the two interfaces that i want to connect…
0
votes
2 answers

Host Websites on Virtual IP VMs

I have Proxmox Virtulization server installed. But i have one real(Public) IP. Incoming request to Proxmox server must be bind Virtualized servers. Dnsmasq installed in Proxmox Virtualization Server. But, incoming request not MASQUERADE in dnsmasq.…
user111989
0
votes
1 answer

Fault-tolerant KVM hosts

I'm going to create a simple virtual hosts infrastructure using QEMU+KVM. It is expected to be very simple, without clouds or any other cool things. Right now the only requirement is the fault-tolerance for data (hosts' disk images online backup).…
Stan
  • 269
  • 3
  • 10
0
votes
1 answer

How to convert OpenVZ OS template to bootable image file?

My question is how to convert a pre-created OpenVZ OS template which are in tar.gz format (such as these) to an image file in order to be able boot it with other virtualization solutions such as QEMU or VirtualBox. In order to achieve this, I made…
Meti
  • 101
  • 1
0
votes
3 answers

Store QEMU images in database

I have a task to store QEMU images in a database and thinking towards developing of the custom block device. Is this a good idea? Where is it better to start from?
Stan
  • 269
  • 3
  • 10