Skip to main content

Questions tagged [qemu]

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

5 votes
2 answers
4k views

How to find the connection between tap interface and its file descriptor?

I have a qemu VM started by an orchestration script, which creates transient tap interfaces. When I inspect the command line arguments of the qemu-system-x86_64 process, then I can see, that the ...
Martin's user avatar
  • 7,636
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
15 votes
1 answer
24k views

Load Linux bzImage in QEMU?

I compiled a Linux by doing make menuconfig then make and now I have compiled the most recent version of Linux. How can I load the kernel into QEMU?
Coder404's user avatar
  • 895
9 votes
2 answers
12k views

Running bzImage in QEMU: Unable to mount root fs on unknown-block(0.0)

I compiled the kernel by doing make menuconfig and make. I was trying to run the bzImage in qemu, by doing qemu -kernel bzImage but it didn't work out with the error message: Unable to mount root fs ...
Coder404's user avatar
  • 895
8 votes
1 answer
15k views

Why would I want to disable Copy-On-Write while creating QEMU Images?

The arch wiki recommends that images have Copy-On-Write disabled on the directory when using btfs. I do see that it would be a good idea if you had a lot of file read/writes. This question explores ...
DarkSheep's user avatar
  • 1,916
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
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
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
21 votes
3 answers
48k views

Libvirt: how to pass qemu command line args?

I have the current libvirt 1.2.20 i want to pass to my machine create with virt-manager some qemu flags. I edited the file and add </devices> <qemu:commandline> <qemu:arg ...
elbarna's user avatar
  • 12.8k
13 votes
1 answer
29k views

Running X86 binaries on armv7

I am trying to run a SNBC USB printer on Raspberry Pi2. For that I need to copy the filter binary of the SNBC USB printer to /usr/lib/cups/filter. But the filter binary is compiled using a x86 ...
Nash's user avatar
  • 131
6 votes
1 answer
39k views

How to set video memory with KVM/QEMU virtualization?

As a long-time VirtualBox user I'm used to being able to set video memory available to my virtual machines, but unfortunately I cannot seem to find such an option for when I start KVM/QEMU VMs with: ...
Josh Pinto's user avatar
  • 3,503
2 votes
1 answer
2k views

How to ping from the QEMU guest to an external URL?

The network is working fine, since I can do from inside QEMU: wget example.com But if I do: ping example.com it just shows the initial header and hangs: PING example.com (93.184.216.34): 56 data ...
Ciro Santilli OurBigBook.com's user avatar
1 vote
1 answer
4k views

What is the relation between Virtual Machine Manager and KVM/QEMU?

What is the relation between Virtual Machine Manager and KVM/QEMU? The Wikipedia links says In computing, the Red Hat Virtual Machine Manager, also known as virt-manager, is a desktop virtual ...
Tim's user avatar
  • 103k
1 vote
1 answer
4k views

Creating a raw img file of linux system

I'm trying to backup a linux system to an IMG file that I can then boot and run in QEMU. NOTE: I have tested on Lubuntu and tiny core linux. The process I have followed is: I have 2 hard disks, ...
kingsway's user avatar

15 30 50 per page
1
2 3 4 5 6