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
8
votes
3 answers

Qemu TRIM and discard on a physical SSD device

I am running Windows 7 in a Qemu/KVM with a passed through GPU which I use for work-related stuff. I recently got fed up by it's unprecedented slowness due to it running off a mechanical drive, so I added an SSD to my box to 'give' to my…
nohupper
  • 91
  • 1
  • 1
  • 3
8
votes
1 answer

KVM / QEMU: connect to VM without GUI

Short Version (Solution is below): I have a Windows PC. I have a Debian server (without desktop environment). I have a Ubuntu VM running on Debian server via KVM/QEMU. Question: How can I connect to Ubuntu VM and start the installation process? Long…
mac.1
  • 149
  • 2
  • 5
  • 10
8
votes
5 answers

qemu running in ssh: how to exit?

I am connected via SSH to a terminal server. On this server I am using qemu-system-x86_64 ... -curses to run a Command Line based operating system. How can I terminate the virtual machine? At the moment, the only option I have, is to open a second…
Daniel Marschall
  • 803
  • 4
  • 9
  • 20
8
votes
3 answers

attaching usb dongle to KVM VM

I'm struggling to connect a usb device, that gets detected correctly by the host, to a kvm vm. I have a freshly installed Ubuntu Server 14.10 as KVM/QEMU host. I set up an Ubuntu vm using this command: virt-install --connect qemu:///system \ …
csch
  • 189
  • 1
  • 2
  • 6
8
votes
4 answers

How to efficiently share host's folder with KVM guests?

I am configuring the service which stores plenty of files uploaded by nginx in /srv/storage dir on host system. These files are processed by worker KVM guests which may create new files or assign extended attributes to existing ones. Files are never…
gertas
  • 1,077
  • 11
  • 12
8
votes
2 answers

qemu-kvm/virsh: No network connectivity whilst using bridged networking

I'm having an issue with performing virtualisation via libvirt/qemu-kvm, in which my set up for bridged networking doesn't appear to be working correctly. I've followed every tutorial I can find and spent hours and hours going through forums, but…
a.pollock
  • 121
  • 1
  • 7
7
votes
1 answer

Convert qemu syntax to virt-install or virsh xml

I have parameters for qemu-system-x86_64, which attach unix socket as interface into VM: qemu-system-x86_64 -chardev socket,id=char1,path=/tmp/sock0,server \ -netdev type=vhost-user,id=hostnet1,chardev=char1 \ -device…
UsCr
  • 191
  • 5
7
votes
2 answers

Can I run a KVM guest with a btrfs subvolume as file system?

I want to run a virtualized Debian stable KVM guest on a Debian stable host (to run untrusted stuff like Skype, Flash or eclipse with third-party plugins). Naturally host and guest will have many files in common and it would be nice to make us of…
Thomas Koch
  • 221
  • 3
  • 6
7
votes
1 answer

VNC faster than Spice for remote access to KVM guest?

Having used RDP before, I'm not exactly thrilled with the performance I am seeing from VNC to my KVM virtual machines. The KVM host is Ubuntu 12.04 server x64. I've read that Spice is faster, and so after considerable bumbling around, I got it to…
Dave
  • 607
  • 1
  • 9
  • 18
7
votes
2 answers

Filesystem passthrough functionality in Centos 6.2?

I have a CentOS 6.3 machine currently running 2 virtualized CentOS 6.2 machines via KVM/QEMU/Libvirt. I'm trying to setup filesystem passthrough between the guests and the host. However the option is grayed out in the Virtualization Manager with the…
mm118
  • 73
  • 1
  • 4
7
votes
2 answers

Monitor VM's resources (CPU, RAM etc)

I'm testing Openstack and i'd like to know how can i find out about resource utilization inside instances (Virtual Machines). Openstack uses kvm, qemu and libvirt in my testing environment. Is there any way to get those stats without logging in…
Simon
  • 213
  • 1
  • 2
  • 4
7
votes
3 answers

QEMU-KVM Linux virtualization on the command line

I recently discovered that qemu-kvm has a very promising -curses option that, instead of starting an X window, will show a nice ncurses output from the guest suitable for managing a Linux guest from the command line (or, more satisfyingly, within a…
malloc47
  • 221
  • 2
  • 7
7
votes
1 answer

TCP/IP performance tuning under KVM/Qemu

With more and more companies switching to public cloud services, I'm curious what you guys' thoughts are on TCP/IP tuning in the cloud. Is it worth bothering with? Given that you don't have access to the host-server, you're somewhat limited I…
vpetersson
  • 861
  • 1
  • 11
  • 22
7
votes
2 answers

Qemu cannot run Windows 11

When trying to execute the setup the setup stops after selecting the os type with the following result: "this PC doesn't meet the minimum system requirements to install this version of windows. For more information visit ..." What is wrong, My pc is…
Cutton Eye
  • 343
  • 4
  • 14
6
votes
2 answers

qemu-kvm reclamation of memory from low-use guests

Is there a way to transparently reclaim, or prevent usage of, memory from a qemu-kvm guest? Scenario A: A guest uses 8GB of RAM during peak hours, it returns back to 4GB of usage at night, but the guest is still claiming 8GB of RAM from the…
Devon
  • 800
  • 1
  • 9
  • 20
1 2
3
42 43