Questions tagged [qemu]
QEMU (short for "Quick EMUlator") is a free and open-source hosted hypervisor that performs hardware virtualization.
89
questions
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 ...
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 ...
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?
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 ...
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 ...
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 -...
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 ...
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 ...
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 ...
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 ...
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 ...
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:
...
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 ...
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 ...
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, ...