Skip to main content

Questions tagged [qemu]

QEMU (short for "Quick EMUlator") is a free and open-source hosted hypervisor that performs hardware virtualization.

76 votes
7 answers
202k views

How do I get my mouse back from QEMU/KVM?

I'm running QEMU/KVM on Debian Testing x64 with this command: kvm -m 1024 -hda win7.img -cdrom win7x86.iso -boot d -net user But when I click inside the virtual machine, QEMU captures my mouse and ...
Michael A's user avatar
  • 1,633
68 votes
5 answers
195k views

How to SSH from host to guest using QEMU?

How do I setup ssh from the host to the guest using qemu? I am able to use port redirection when I boot the VM without any special parameters, as follows: /usr/bin/qemu-system-x86_64 -hda ubuntu1204 -...
jobin's user avatar
  • 896
58 votes
9 answers
95k views

How can I chroot into a filesystem with a different architechture?

I'm trying to chroot into a Arch Linux ARM filesystem from x86_64. I've seen that it's possible to do using static qemu by copying the binary into the chroot system: $ cp /usr/bin/qemu-arm archarm-...
Jivings's user avatar
  • 955
52 votes
6 answers
81k views

How to mount qcow2 image

I've read that with qemu-nbd and the network block device kernel module, I can mount a qcow2 image. I haven't seen any tutorials on mounting a qcow2 via a loop device. Is it possible? If not, why? I ...
onlyanegg's user avatar
  • 1,085
46 votes
2 answers
105k views

How to create a VM from scratch with virsh?

It looks like that you cannot create a brand new VM with virsh unless you already have a working XML file. I have just installed all the needed bits for QEMU-KVM to work, and need now to create my ...
EnzoR's user avatar
  • 953
44 votes
1 answer
214k views

Booting a raw disk image in QEMU

I have a disk image file from here; that page says I can boot this image with QEMU and the following command: $ qemu-system-x86_64 -m 4096 -ctrl-grab -no-reboot x86-64.img That gives a message: ...
cat's user avatar
  • 3,478
43 votes
1 answer
28k views

What's the difference between KVM, QEMU and libvirt?

I'm trying to understand how all the components of the VM ecosystem fit together. What's the difference between: KVM QEMU libvirt Which is controlled by virsh and virt-install? This comment says ...
falsePockets's user avatar
40 votes
5 answers
140k views

How to boot EFI kernel using QEMU (kvm)?

I'm trying to emulate a EFI environment using QEMU (kmv); virtualbox takes 15 minutes to boot in EFI mode using archboot. Using legacy BIOS mode, I can boot using this command: root@citsnmaiko-deb:/...
MaikoID's user avatar
  • 979
36 votes
3 answers
125k views

Shared folder between QEMU Windows guest and Linux host

In the past I have used Virtual Box which has very good support for sharing a folder on the host with a Windows guest. I am looking for similar functionality for QEMU. The documentation suggests to ...
Lekensteyn's user avatar
  • 21.1k
35 votes
6 answers
109k views

How do I boot from a liveusb using qemu-kvm?

I am trying to get qemu-kvm to boot from my live usb stick. Is this possible?
mikewilliamson's user avatar
31 votes
2 answers
18k views

Emulate unplugging a network cable with qemu-kvm

[Background: I'd like to actually test How to take down a static network interface when not connected? ] I'm setting up a QEMU-KVM virtual machine using libvirt (via virt-manager). I put two NICs on ...
derobert's user avatar
  • 111k
30 votes
1 answer
77k views

Can I pass through a USB Port via qemu Command Line?

I'm launching a VM using qemu-system-x86_64. I know two ways to pass through a USB device. Say for example, I had a mouse that showed up in lsusb like Bus 003 Device 011: ID 6ade:9582 Amazing Mouse ...
Raven's user avatar
  • 1,303
25 votes
2 answers
60k views

Connect to running qemu instance with qemu monitor

I'm having an instance of qemu running on Windows 7, running without an open terminal. Now I want to shutdown the machine with the name MyMachineName or add an USB-Device to it. I need a scriptable ...
Cutton Eye's user avatar
25 votes
1 answer
36k views

Move qcow2 image to physical hard drive

I have a qcow2 image that I use to boot an installation of linux using QEMU; I would like to place the contents of that image directly onto a physical hard drive so that I can boot to that linux ...
Chris's user avatar
  • 853
22 votes
1 answer
34k views

virtio vs e1000 vs rtl8139: what's the difference?

When creating a virtual machine on Ubuntu, I have a choice between three device models for the virtual network interface: virtio, e1000 and rtl8139. What is the difference between the three? In other ...
Arseni Mourzenko's user avatar

15 30 50 per page
1
2 3 4 5
72