Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [qemu]

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

1
vote
0answers
10 views

Understanding how virt-install connects the Ethernet interface in host machine with the Ethernet interface in the quest?

I installed Debian virtual machine with virt-install in a way that guest got one Ethernet interface named vnet0: $ virsh domiflist git-server Interface Type Source Model MAC ---------...
0
votes
0answers
22 views

qemu-system-x86 --enable-kvm Windows 2k12 R2 stuck at windows logo

I am having an issue with kvm-qemu. Host: Ubuntu Guest OS is win2k12 R2. When the VM is booted, some times it get stuck at windows log or it pass the windows log & get stuck at a black screen. I ...
0
votes
1answer
36 views

Boot failure with virtualized Windows 7

Ingredients: Running system w/ LinuxMint (main system) and other OS's among which is an old Windows 7 image. System boots via GRUB2 into Ubuntu, Windows with no issues. Here is the system's partion ...
1
vote
1answer
20 views

Finding performance bottlenecks on Red Hat server hosting KVMs with QEMU?

As a side task I administer a RHEL 7 server used as an internal KVM host. Now it runs eight VMs which, but for one, are idle most of their time, or at least not doing anything at all resource ...
1
vote
0answers
15 views

Qemu/KVM with hardware OpenGL rendering

I've seen that support for hardware accelerated rendering is getting mature in Qemu now but I'm confused about the best way to set it up, or if it's worth it compared to VMWare's 3D support. For ...
1
vote
0answers
16 views

QEMU: How to convert -net flags into -device & -netdev

I'm trying to emulate Raspberry Pi via QEMU and the following works for me: qemu-system-arm \ -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \ -boot c \ -cpu arm1176 \ -drive "...
1
vote
1answer
29 views

Transparent x86 emulation using QEMU on Raspbian

I'm trying to setup transparent x86 emulation on Raspbian according to this tutorial: https://wiki.debian.org/QemuUserEmulation. The issue is that after enabling multiarch and running sudo apt-get ...
0
votes
0answers
17 views

“Disk I/O error” when trying to run OS via QEMU on Pi

I am trying to run Windows 98 on QEMU on my Pi using a project I found here: https://www.hackster.io/314reactor/windows-98-wrist-watch-15ecfd . When I run qemu-system-i386 -localtime -cpu 486 -m 96 -...
-1
votes
1answer
60 views

KVM-QEMU virtualization platform issue with creating guests of red-hat based distributions

I do use virtualization a lot , and of course my favorite tool is kvkm-qemu. However I am extremely frustrated with it lately, all my attempts to create a redhat based virtual machine with centos,...
0
votes
0answers
9 views

Create libvirt vm with a default network bridge

I'm currently trying to use a generic xml file to create virtual machines. My problem is that I cannot tell which adapter is present in the host system but I need a network bridge using the "default" ...
0
votes
0answers
17 views

Is there a security issue running libvirt-qemu as root to set rights on mounted host folder?

I'm trying to set up a server with 2 vms, which should be in productive mode later. I want to access some folders on the host, like log files and the webserver data folder, but the data on the host is ...
0
votes
0answers
31 views

Shrinking a qcow2 image when it contains an APFS filesystem

I'm not having much luck re-shrinking a qcow2 image; it contains an APFS filesystem and I suspect this is the issue. Has anyone successfully done this? I did zero out the free-space as usual and have ...
-7
votes
1answer
62 views

Does Docker work with VirtualBox but not with KVM/QEMU?

Docker can creat virtual machines to be used as nodes in swarms. The machine drivers contains VirualBox but no KVM/QEMU. Does it mean that virtual machines created by KVM/QEMU can't be used as ...
-1
votes
1answer
19 views

QEMU command line hard disk

I've installed Windows 10 as guest. Everything is OK. But I would like to use my physical hard drive (/dev/sdc) with files. When I start the virtual machine only shows 'Booting from hard disk'. I use ...
-2
votes
1answer
70 views

Is KVM a hypervisor?

https://en.wikipedia.org/wiki/Hypervisor#Classification says QEMU is type 2 hypervisor, and KVM can be both type 1 and 2 hypervisor: The distinction between these two types is not always clear. ...
1
vote
1answer
40 views

How can I not give a virtual graphics card at all to your VM and have the console on serial?

Stéphane Chazelas wrote that Can I start Debian on a text virtual console in a virtual machine? You could also not give a virtual graphics card at all to your VM and have the console on serial. ...
0
votes
0answers
17 views

How does task switching work between root/non root mode and host OS threads with KVM

KVM with QEMU spawns 1 process per VM and one thread per core. The KVM code uses VMON, VMENTER etc but when Linux task switches these threads with threads of the host OS, how does that work? How does ...
0
votes
1answer
37 views

QEMU VM has no IP

I tried to run a VM on QEMU, but the VM is up without an IP address associated with eth0. I configured the bridge and tap interface on the host, and I can see that: brctl show bro bridge name ...
3
votes
1answer
72 views

What are equivalences to QEMU/KVM in VirtualBox?

Are QEMU and KVM both kernel modules? In VirtualBox, what are the equivalences to these kernel modules? Thanks.
1
vote
0answers
28 views

Own boot parameter in Linux kernel gives no outprint (Homework)

The task is to write a own boot parameter in the linux kernel that activates printk under the kernel initiation. The Linux kernel version that is edited is 4.16.7 (buildroot 2018.11.2) and my ...
2
votes
1answer
51 views

Accessing internet hosts from qemu guests behind a bridged network

I am trying to set up a number of qemu quests on the same private network. I want them to not be accessible outside the host but they should be able to access each other and resources from the ...
0
votes
0answers
11 views

QEMU USB HID device (gamepad) is reset all the time when in use

I try to run a Windows 10 VM with GPU passthru, that works fine but my gamepad , actualy a Betaflight flight controller running in HID mode, is resetted all the time. The controller works on the host ...
0
votes
0answers
118 views

Shared folder in QEMU between Windows Host and Debian Guest

How do you share between the two? I have booted my image on my Windows 10 host using this: qemu-system-x86_64 -hda debian.img -m 512 -net user,smb=C:\users\jason\Desktop\sharing\ -net nic,model=virtio ...
0
votes
1answer
109 views

Why hostfwd option of QEMU need root access in some times and doesn't need some times

This command of QEMU doesn't need root access : qemu-system-x86_64 -m 3072 -smp 2 -hda Debian9.qcow2 -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::5555-:22,hostfwd=tcp::9000-:9000 When ...
0
votes
1answer
30 views

Fedora 29 qemu time problem

Since i upgraded my workstation from fedora28 to fedora29 i encountered a problem with my virtual machine which is running on my workstation. I am using this virtual machine for browsing in the ...
0
votes
1answer
166 views

Why is a machine of type i440fx created when I specify q35 and how do I get q35 to work?

I need to create a Windows VM with a Q35 machine type. However, in spite of specifying q35, and i440fx machine is created. created with: sudo virt-install \ --name wintest \ --boot uefi \ --ram ...
0
votes
0answers
53 views

Run Qemu VM as a User (non root) / DMA mapping failed

When i trying to run my windows VM as non-root i get this message sudo ./win10vmuser.sh (qemu) qemu-system-x86_64: VFIO_MAP_DMA: -12 qemu-system-x86_64: vfio_dma_map(0x555dd67af690, 0x90000000, ...
1
vote
0answers
34 views

qemu user networking: forward non-localhost guest IPs to the host

I'm running a qemu VM in user networking mode and I'd like to be able to access forwarded ports from the host. Something like the following works well. -netdev user,id=t0,hostfwd=tcp::9992-:9992 ...
0
votes
1answer
47 views

Can I run a .vdi file for Windows 8.1. virtual machine in KVM/QEMU or VMM?

Can I run a .vdi file for Windows 8.1. virtual machine in KVM/QEMU or VMM? Do I need to convert the file from .vdi to some format familiar to KVM/QEMU? What are the steps, if possible? I have ...
-1
votes
1answer
128 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 ...
0
votes
0answers
46 views

Running QEMU inside VM

I want to be testing some potential bugs for QEMU escape, but since I don't want to damage my host Windows 10 OS, I was wondering if I could install QEMU inside a Linux Fedora 29 VM, and if I can, ...
0
votes
0answers
32 views

Cannot Reach External Network Despite DHCP on QEMU Embedded Guest

I am trying to give an embedded router networking on QEMU. I replaced the router's kernel and modules using a generic buildroot build for the Malta CPU. I also can compile any software needed to help ...
0
votes
0answers
33 views

Black screen while emulating buildroot built kernel on QEMU

Till this date I was only able to emulate the RPI kernel but I want to emulate BeagleBone Black & i.MX based firmwares that I've built using buildroot. I'm passing the following command:-- qemu-...
2
votes
0answers
414 views

QEMU/KVM Windows 10 Guest won't copy/paste text or files back to host

I am running Debian 9 (Stretch) with QEMU/KVM hosting a Windows 10 - 1809 guest. Using Spice for graphics. I installed SPICE Guest Tools 0.141 and am able to copy/paste files and text from my Debian ...
0
votes
0answers
48 views

Qemu-user : get memory maps while debugging remotely

I am trying to get the memory map of a process I am debugging remotely (peda pull request link), the process is ran with qemu-user, for example: qemu-arm -L /usr/arm-linux-gnueabihf/ -g 1234 ./ch47 ...
1
vote
0answers
80 views

How do I run a raw file in qemu? [closed]

I have been trying to run this project from github. https://github.com/asafch/xv6-paging My machine is running ubuntu 18.04, so this code isn't running here. I have seen this solution Booting a raw ...
1
vote
0answers
9 views

Corrupt display observed via VNC with TrueOS on QEMU

I am trying to run TrueOS v17.12x64 on QEMU but got corrupted display immediately after booting to GUI: I am just going with the ordinary graphics setup. Here's my domain file: <graphics type='...
0
votes
1answer
228 views

QEMU USB passthrough broken after Ubuntu 18.04 upgrade

For the past 2 years I've been running a Windows VM to which I passed through USB devices. The devices were attached while the VM was running, using virsh attach-device vm_name config_file.xml, where ...
0
votes
0answers
56 views

On which serial port numbers will see Qemu Guest OSes the attached serial ports?

Currently I am trying to give a physical rs232 port to a Qemu VM. Currently I use -chardev serial,path=/dev/ttyUSB0,id=hostusbserial command argument to do that. However, being an usb-based serial ...
2
votes
0answers
71 views

How to exit a qemu monitor telnet session beautifully?

In a telnet session of the qemu monitor, the exit command doesn't exit the command session. It exits the emulator, i.e. the emulated virtual machine gets a hard poweroff. I use the qemu monitor from ...
0
votes
1answer
128 views

Bridge network stop working with kvm/qemu

2-3 months ago I followed this article https://brooks.sh/2017/12/22/configuring-kvm-on-clear-linux/ to setup bridge network for kvm/qemu guest ubuntu. My Host os is ClearLinux. However the guest OS ...
0
votes
0answers
11 views

how to correct a conflict to install gns3 in opensuse?

When trying to install the gns3 from this repo https://download.opensuse.org/repositories/home:Dremor:gns3/openSUSE_Tumbleweed/home:Dremor:gns3.repo It conflicts with files from an already installed ...
0
votes
1answer
19 views

How to clear partitioned disk for QEMU

I have a 100Gb partition for QEMU purposes. However, I was installing Windows 10, but the installation failed and corrupted. Is there a way to completely wipe that partition so I can start over?
1
vote
1answer
266 views

QEMU Commandline arguments to lib-virt are not accepted - unable to save xml file

I am trying to get audio working on a Win10 Guest running on a Ubuntu host following this guide https://blog.zerosector.io/2018/07/28/kvm-qemu-windows-10-gpu-passthrough/ . GPU pass through works ...
0
votes
0answers
40 views

QEMU over ssh without using vncviewer

It seems that when I want to run qemu-system-x86_64 on a node via ssh -Y, I have to connect to the guest via VNC. So, here is an example: [mahmood@rocks7 ~] ssh -Y compute-0-0 [mahmood@compute-0-0 ~] ...
1
vote
0answers
24 views

Static IPv4 in QEMU

I'm attempting to provide static IP addresses to the network interfaces while bringing up the QEMU images via command line. The command is like below: qemu-system-x86_64 -smp 2 -hda disk.img -net nic,...
2
votes
0answers
77 views

Sharing multiple folders between linux and windows in QEMU

With an option like -netdev user,net=10.0.2.0/24,id=host_files,restrict=off,smb=/home/mahmood,smbserver=10.0.2.4, I can share the home folder and my linux home is accessible from windows by mapping \\...
0
votes
0answers
49 views

QEMU GPU passthrough, how is that even possible?

I saw on internet that we can pass physical video card to guest machine. but how can that be possible? for example : if we have following machine: CPU: intel 7700k with HD Graphics 630 RAM: 16G GPU:...
0
votes
1answer
314 views

qemu - access guest VM from the host machine

I am running an Ubunut on qemu. Here is the command I execute to lunch the machine qemu-system-x86_64 \ -cdrom ubuntu-18.04.1.0-live-server-amd64.iso \ -drive file=ubuntu-18.04-server-amd64.img....
1
vote
1answer
236 views

VMs attached to the same bridge cannot ping each other

I am now trying to host two VMs directly by qemu, without any tools like libvirt. I did setup the bridge/tap interfaces for each of them like ip link add br0 type bridge ip addr add 192.168.122.1/24 ...