QEMU (short for "Quick EMUlator") is a free and open-source hosted hypervisor that performs hardware virtualization.
1
vote
0answers
11 views
remove NIC via Qemu monitor
I’m attempting to remove this network device from a Qemu guest:
(qemu) info network
info network
…
idRygZ1D: index=0,type=nic,model=virtio-net-pci,macaddr=02:00:00:00:20:06
\ idU3WwDX: index=0,type=...
1
vote
2answers
56 views
Can't get Qemu output through SSH
Short Version
I want to run Qemu on a remote machine using ssh. With this command I am able to see some boot messages but I can't manage to get vm the login prompt in my local terminal.
qemu-system-...
1
vote
1answer
34 views
Installing a linux distribution on QEMU
I've recently started playing around with QEMU, and I'm trying to install a linux distro (Lighthouse64) on a qcow2 image. The thing that confuses me is I don't understand what's already on the image. ...
0
votes
0answers
5 views
Alpine Linux 3.4.6 x86 Standard qemu boot failed
I've been following the direction on their wiki.
However, I get the following:
sudo qemu-system-i386 -cdrom ../alpine-3.4.6-x86.iso -hda alpine.qcow -boot d -net nic -net user -m 256 -localtime
...
0
votes
1answer
21 views
qemu: error while loading shared libraries: libjpeg.so.8
I am unable to use qemu:
# qemu-system-x86_64 /dev/sdb
qemu-system-x86_64: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
Packages were ...
0
votes
0answers
23 views
Qemu kvm ip forwarding not working
I have the following qemu setup:
Linux host, primary ethernet interface enp9s0 attached to br0, dhcpd etc. running on br0.
Windows guest using virtio-net (also tried e1000), using tap0 also attached ...
0
votes
0answers
10 views
How to make extension persist on TinyCore emulated with qemu
I am emulating TinyCore on Qemu but I don't understand how to make my extension persistent between reboots.
I've read this guide about persistence and this about mounted mode but everything I do ...
1
vote
0answers
20 views
How to gracefully exit Qemu VM with running kernel
To make sure that my prerequisite knowledge is even correct, I'll first explain what I'm doing (or think that I'm doing).
I'm going through a tutorial on running a Yocto Linux kernel inside the Qemu ...
1
vote
0answers
54 views
Allow host to ssh into QEMU guest but disable all other networking
I want to run a virtual machine using QEMU and KVM on my Arch Linux host with a configuration such that I can ssh into the guest OS from my host, but I want to prevent the guest OS from being able to ...
1
vote
0answers
15 views
Where are local APIC addresses in QEMU?
According to Intel's document, FEE0 0000H to FEE0 03F0H is the range of local APIC. However, examining it from QEMU console, I can only find the value 0 there:
(qemu) x/128b 0xfee00000
fee00000: 0x00 ...
1
vote
0answers
13 views
Default virtual network device card : Qemu ARM64
Reading the documentation here, I see the following line :-
By default QEMU will create a SLiRP user network backend and an
appropriate virtual network device for the guest (eg an E1000 PCI card
...
0
votes
0answers
24 views
How do I get a VM running for the first time on Linux Mint / Ubuntu?
I am running Ubuntu 16.04 on a laptop. I installed Virtual Machine Manager. How do I get a VM running for the first time?
I downloaded two different ISOs. I tried to create a VM with Virtual ...
0
votes
2answers
41 views
How to determine IP address of guest operating system in qemu?
After I boot a Windows XP in qemu it gets an IP assigned from DHCP server. My question is - how do I determine the IP that Windows XP got assigned, so that I can connect to Windows XP?
Here are more ...
1
vote
0answers
31 views
Qemu backup software?
I have a self build NAS (Debian) which is running about 5 VM's for different things (NAS, VPN, Time Machine, Media etc). The Host is a bare Debian install. VM's are managed using virsh in the command ...
1
vote
1answer
30 views
Run chkdsk from Windows guest on Qemu to a hard disk in the host
I have a problem with a old machine running Windows XP (32 bits), it has problems with the NTFS partition and I need to do chkdsk /r on the whole disk partition (single ntfs partition). Bad news I ...
0
votes
0answers
28 views
qemu arm64 image with dropbear running
I set up a ARM64 qemu image with dropbear. I'm trying to ssh in from the host. I used the following command line to start up the guest.
#!/bin/bash
~/repos/qemu-2.6.0-rc3/aarch64-softmmu/qemu-system-...
0
votes
1answer
26 views
How to allow guest OS to access Internet in qemu?
I've created a Windows XP image and I'm booting it with qemu. When using "user mode networking" via -net user, my guest os (windows xp) gets the 10.0.2.15 IP assigned and I can ping 10.0.2.2 so ...
0
votes
0answers
14 views
How to dumpxml to a file when authentication enabled?
I set up authentication for the libvirtd, because it has right to operate pools and hence to write to raw disk devices.
Now I need to dumpxml from existing domain. But the dumpxml command has no ...
1
vote
0answers
26 views
Meaning of MIPS flags in elf header
I was looking at the header of some elf files and noticed something odd:
ELF Header:
Magic: 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: ...
0
votes
1answer
25 views
Making a network bridge in Debian
I am having real trouble creating a network bridge on my Debian system so I can run Qemu VM's under virsh.
I have the NIC connected via ethernet, and the IP reserved via the MAC address on the router ...
1
vote
0answers
36 views
PXE installation from VM to another VM
I'm trying to do a PXE installation from a VM to another VM. At the host, I'm using RHEL. I created a VM (srv-inst) with RHEL using virt-manager. The network is the default (NAT) and it is isolated. ...
1
vote
0answers
40 views
Boot uboot linux kernel on a VM
I have a compiled kernel and uboot images like so:
u-boot.bin uImage
I compiled them using the arm-none-gnueabi and fsl-linaro toolchain.
How can I boot them as in a virtual machine?
EDIT:
The ...
1
vote
0answers
123 views
Ubuntu 16.04 PCi Passthrough QEMU/KVM problems
Trying to pass my R9 380 (UEFI supported) to a windows VM. I get it to work partially.
My Gpu is handed off to the guest VM as the Windows VM detects that the display adapter is an AMD card.*** It is ...
1
vote
1answer
38 views
Can't virt-install during the kickstart of the hypervisor
We install physical machines using cobbler/kickstart.
On theses physical machines we need to be sure that one specific VM is installed and will be running on startup, so we tried to install the vm ...
0
votes
1answer
41 views
Virtualization Problem with Windows in virt-manager
I tried to virtualize a Windows physical HDD into a image file (qcow2) using clonezilla and it was perfectly copied the disk partitions in the image, but it don't want to boot the vm.
Hardware & ...
1
vote
0answers
26 views
libvirt qemu cannot access image inside my home directory, even as root?
I have problem getting my VM running via libvirt. Here is my setup:
I put my qcow2 image and domain XML (named win7.xml) under $HOME/vm,
with all files and directories using my user, my group, and ...
0
votes
1answer
178 views
Poor multi-core performance with qemu, arch linux and Windows 10
Recently I've been playing around with qemu, kvm and VFIO on an Arch Linux machine. My goal is to jump on the train of people using Linux host machines and creating a Windows 10 Pro guest VM to game ...
1
vote
0answers
40 views
Emulating Big-Endian Basic Kernel Image
So after much difficulty, I successfully cross-compiled a basic linux kernel for powerpc to test some big endian code. As I'm on a relatively weak machine and have to compile a relatively large code-...
1
vote
0answers
18 views
Concurrent guest vcpu operation on KVM
I am launching an x86 debian system as guest using QEMU2.6.0 on my x86 host machine.
The host is an 8-core, 2-socket machine booted with RHEL7 with KVM enabled.
2 PCI devices are being emulated on ...
1
vote
0answers
66 views
Camera passthrough in QEMU/KVM (linux) guest machine
I try to get the camera working in my qemu (Archlinux) guest machine. The host is also an Archlinux system.
Below I show the command I tried and the lsusb and lspci outputs.
When I start the guest ...
0
votes
2answers
76 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 have a working XML file.
I have just installed all the needed bits for QEMU-KVM to work, and need now to create my very first ...
0
votes
0answers
25 views
Disable PCI devices from shared interrupt (IRQ)
I'm trying to enable QEMU application with PCI pass-through.
During my work, QEMU keeps complaining about -
Failed to assign irq for "(null)": Input/output error
qemu-system-i386: -device pci-...
0
votes
1answer
39 views
Qemu with binfmt in chroot
I have downloaded some firmware and I want to run some commands in it. I have extracted the firmware, installed qemu and configured binfmts. The problem is that binfmt does not work in the chroot.
...
0
votes
1answer
95 views
How do these qemu parameters for stdout redirection work?
I am using the following parameters to launch QEMU so that output from the guest would be redirected to the host console:
-chardev stdio,id=virtiocon0
-device virtio-serial
-device virtconsole,...
1
vote
0answers
79 views
Debian VM in qemu stuck in infinite boot loop?
So recently I tried to set up a Debian vm with qemu on an arm-arch pi...the problem is when I run the x86_64 arch vm with debian, it gets stuck in an infinite loop at boot. Even when I select recovery ...
2
votes
1answer
112 views
Running KVM on Linux Live Stick
I have built a Debian Live Stick using this guide and Jessie instead of Wheezy.
The reason being I want to have a Live Stick with Cuckoo Sandbox and KVM/QEMU installed. I also had to switch syslinux ...
1
vote
1answer
130 views
How to share a folder in libvirt+qemu/kvm with Linux guest and Linux host?
I am running a VM on a Linux host using qemu+kvm and libvirt, the guest system is CentOS 7. I wish to share a folder between the two such that host:/some/dir becomes accessible as guest:/some/other/...
2
votes
0answers
22 views
Opening a TUN device from QEmu x86 for ARMv7 fails
On Banana PI-R1 (ARMv7), with qemu-i386-static, I'm trying to execute Barracuda VPN client statically linked for x86. Following this topic works : Running X86 binaries on armv7
But, when the VPN tries ...
1
vote
2answers
64 views
Why QEMU can't use the linux memory buffers memory?
I have a system without swap, and 16 GB of memory.
To my knowledge, Linux dynamically allocates the buffers memory allocation, depending on how much free RAM there is in the system.
In this very ...
1
vote
0answers
243 views
Qemu disk virtio performance on Windows 10 guest
Is this speed normal?
Host: 64-bit archlinux
Guest: WIndows 10 64-bit Education Edition with redhat virtio stable driver, raw disk format, 32GB size, virtio enabled, kvm enabled.
start command:
...
1
vote
2answers
32 views
Modified QEMU XML file does not appear to be used
I've created a qcow2 image snapshot of a KVM guest image. I've modified the XML file for the image to use the new snapshot file but when I halt and restart the guest, and create a file on the guest ...
1
vote
1answer
38 views
migrate i386 qemu VM to amd64 VM host
I have an i386 qemu VM:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 3
model name : QEMU Virtual CPU version 1.1.2
stepping : 3
microcode ...
1
vote
0answers
50 views
Fedora Host, Kali VM, KVM/QEMU mouse not working
I have a Fedora 23 host, and I tried to install Kali Linux using Virtual Machine Manager, and every time I did it -- no matter how I configured it -- the mouse would not work. It would only go down ...
2
votes
0answers
83 views
Is there a way to make faster QEMU snapshots without using libvirt?
I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.7, kernel 2.6.32 and QEMU-KVM 0.12.1 (per corporate policy I am not allowed to run a more cutting-edge distribution or any more recent ...
0
votes
1answer
135 views
QEMU/KVM: USB3 passthrough to FreeBSD
I'm making my first steps in FreeBSD, so please excuse any possible "linuxism".
My goal is to run FreeBSD 10.2 inside virtual machine with QEMU/KVM and allow USB3 network card passthrough from the ...
2
votes
0answers
46 views
ebtables drop / limit smtp port
I am using bridged devices, main node runs on CentOS 7 and Guest are KVM VM's.
I have tried rules as below on host node to block port 25 but was not successful.
ebtables -A FORWARD -p IPv4 --ip-...
1
vote
0answers
299 views
Enable “kvm=off”, “x-vga=on” and “-vga=none” from within Virt-Manager?
I have virtual machine created from Virt-manager, it's Windows.
I have attached host PCI device (GPU) to the guest VM, it's recognized, but not used
I know options x-vga=on and -vga=none are friends ...
1
vote
0answers
53 views
Completely disabling mouse support in QEMU
I'm currently using QEMU for some work involving the VGA console.
I'd like to turn off click-to-grab, which constantly triggers when I press CTRL+ALT+DEL (which my host Linux system is configured to ...
1
vote
2answers
453 views
libvirt: command to start up all guest virtual machines which have auto-start enabled
I'm using Debian Jessie as a virtual machine host using libvirt/qemu/kvm.
I've set some of the guest virtual machines to automatically start when the host OS boots up, this is working fine.
For ...
1
vote
1answer
142 views
Install Linux to SSD or HDD for virtualizing Windows with QEMU?
In my PC I have 1 TB slow HDD and 120 GB fast SSD. I am curious which one of my drives should be used for Ubuntu installation.
I plan to use Windows without dual-boot - by virtualizing it with QEMU (...