Stack Exchange Network

Stack Exchange network consists of 174 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 is a cross-platform processor emulator.

1
vote
0answers
6 views

qemu-system-arm: -M raspi2 can't support USB input

I have a problem launching Ubuntu Mate startup in qemu-arm. Here we have qemu-3.0.0 with libusb. I installed it with $ ./configure $ make install $ cd arm-sofmmu Here is the qemu command line input: ...
0
votes
0answers
60 views

Keyboard keys not working properly via KVM/QEMU

My hosting provider enables me to access my VPS via their website using KVM/QEMU. I have yet to figure out how this is possible, as I've not installed anything at my end for this to work. I find this ...
0
votes
0answers
23 views

Android Emulator problem on Turkish Ubuntu 18.10

I just installed Ubuntu 18.10 with Turkish language. And installed Android studio and emulator. Emulator is crashed to start with this command "./emulator -avd Nexus_5_API_21 -qemu -m 2047 -enable-kvm"...
1
vote
0answers
54 views

Nested virtualization with KVM is not working in Ubuntu16.04

[If there is a more suitable place to ask this question, let me know !] 1 What am I trying to do ? I want to use libvirt KVM with nested virtualization like described in [1] and [2]. But it does not ...
1
vote
1answer
31 views

Emulate NUMA machine with virt-manager

I need to develop a C program which uses libnuma library. But I don't have a NUMA machine at home, and the function numa_avaiable() returns 0. I would like to emulate a NUMA machine. So, I have ...
0
votes
1answer
72 views

Qemu libusb always fails with “Operation not permitted”

I'm attempting to pass through USB devices through a qemu KVM and receiving the following error: libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/009: Operation not ...
1
vote
1answer
70 views

virsh shows VM running, but it either doesn't start, or has no network access

I am having a HECK of a time getting virtual machines running on 18.04 (server) LTS. I say running, because it FEELS like virsh REPORTS it running, but that it never starts up. This is a very basic ...
1
vote
1answer
74 views

Unable to ping from host to guest in KVM

I have a Windows guest setup using KVM on an Ubuntu host. The problem is that I am able to connect to the internet and ping the host from the guest, but can't seem to ping the guest from the host or ...
2
votes
1answer
240 views

Virtual Machine best practices, and RAW vs QCOW2 [closed]

Tl/Dr: rebuilding VMs after OS SSD crash. Looking for best practice tips to see if I am missing anything, and to confirm if RAW vs QCOW2 has performance differences, and if they can be set up with the ...
0
votes
0answers
62 views

qemu windows guest with access to host samba share but blocking external network access?

I am running my qemu virtual windows machine with the command: qemu-system-x86_64 -enable-kvm -m 2048 -boot d disk.qcow2 -net user,smb=/share/ -net nic,model=rtl8139 -localtime -vga std which ...
0
votes
0answers
20 views

Cross-compile code for ARM builds, but wont run

I have Eclipse CDT and Linaro 7.3.1 installed according to this page on my Ubuntu machine. Then, I install some other tools like QEMU and the different architectures for ARM after this guide. Next, ...
0
votes
0answers
71 views

Unable to bridge network to qemu (libvirt) guest

I am running a virtual machine with virt-manager on my Ubuntu 16.04 server and am trying to get the guest into the same network as the host. I have attempted to follow these directions however I ...
5
votes
1answer
1k views

How do I install QEMU 3.0 on ubuntu 18.04?

I am using a ryzen proccecer and as such have been told that I need to use QEMU 3.0 for the SMT patch. The issue is that I cannot seem to find any way to install it on ubuntu 18.04 lts at all. Its not ...
0
votes
0answers
112 views

after running qemu connect to it with ssh

My goal is to execute a script that after running qemu vm ill connect to it and execute several commands. The idea was after running the qemu vm I'm trying to connect with ssh. if it fail it means the ...
1
vote
0answers
225 views

Windows guest's audio choppy in QEMU/KVM with virt-manager

I'm using QEMU with KVM in virt-manager, with a Windows 10 guest. I've noticed the audio to be very choppy, and will cut in and out constantly. After installing most of the virtio drivers for Windows, ...
0
votes
1answer
169 views

Resize ubuntu 16.04 KVM Hard drive

I'm currently doing the following process on the Host mv vm.qcow2 vm.qcow2.bak qemu-img create -f qcow2 addon.qcow2 +100G cat vm.qcow2.bak addon.qcow2 >> vm.qcow2 This works, but when I book ...
0
votes
1answer
668 views

Ubuntu 18.04 netplan issues: VM with 2 interfaces with static IP addressing will not configure the interfaces on boot

I have a VM with two interfaces that are configured statically. For this I have an /etc/netplan/config.yaml file like this: network: version: 2 ethernets: ens3: dhcp4: ...
1
vote
1answer
648 views

Invalid YAML in Netplan/Bridging/VLAN tags for qemu/libvertd

I am new to netplan and Ubuntu 18.04 , and am trying to set up a VM host using qemu/libvert. The issue is with creating a netplan yaml file that meets our needs and works Interface eno1 is a ...
0
votes
1answer
123 views

Qemu build failing with “fatal error: scsi/sg.h: No such file or directory”

Trying to build Qemu from source to run kvm. I am following the instructions from https://wiki.qemu.org/Hosts/Linux. This resulting following error message. block/file-posix.c:67:21: fatal error: ...
1
vote
0answers
36 views

Adding a running qemu vm to virsh list

I'm running a vmdk image using qemu-system-x86_64. How can I attach libvirt to this running image? Thanks for help
0
votes
0answers
52 views

How to view live file system of QEMU or KVM VM externally?

I require to view the file system of a QEMU running image. I need to do it live. Can somebody provide me with instructions on how to do it?
3
votes
0answers
238 views

How to set up debugger for ARM Assembly using qemu and gdb

I followed this tutorial as well as this one to set up a compiler + debugger for ARM Assembly. Following the first one, I ran the command qemu-arm -singlestep -g 1234 emptyand started a new shell, ...
0
votes
1answer
586 views

how to create dynamic qcow2 image from Windows C:\ drive?

I want to convert a Windows 7 C:\ Drive from my previous laptop into a qcow2 image which I wan to use to create a KVM virtual machine from on a new (linux based) computer. I guess the simplest way ...
0
votes
0answers
381 views

A lot of commands on Ubuntu 16.04 fail to execute:

A lot of commands on Ubuntu 16.04 fail to execute: Recently, I was learning about QEMU, as well as being able to build Debian ARM64 root file system, so maybe I was wrong to execute some commands :(. ...
0
votes
0answers
282 views

Libvirt-bin failed to start Virtuelization deamon, exit-code 127 on Ubuntu server 16.04

I am trying to install libvirt on Ubuntu Server 16.04. When I execute: apt-get install libvirt-bin Installation fails at: Setting up libvirt-bin With exit code 127 and this error message: Failed ...
0
votes
0answers
168 views

Ubuntu Core armhf on QEMU

I am running Ubuntu Core on QEMU raspi2 Machine but it does not support any network devices and can not be accessed over the network. Now I want to emulate Ubuntu Core armhf on QEMU, there actually ...
2
votes
1answer
289 views

/usr/bin/qemu-kvm missing in qemu-kvm/artful-updates,artful-security,now 1:2.10+dfsg-0ubuntu3.5 amd64

Is /usr/bin/qemu-kvm missing in qemu-kvm/artful-updates,artful-security,now 1:2.10+dfsg-0ubuntu3.5 amd64? I am unable to find /usr/bin/qemu-kvm in any package in the repo.
0
votes
1answer
213 views

Run Ubuntu Core 16 image for Raspberry Pi 3 in QEMU

I am trying to run Ubuntu Core 16 image for Raspberry Pi 3 in QEMU but it does not work. I followed this steps: Mount Ubuntu Core 16 image for Raspberry Pi 3 extract kernel.img Start qemu qemu-...
1
vote
1answer
286 views

QEMU won't boot anything on GPU passthrough VM

I have been attempting to setup a Windows 7 VM with GPU passthrough on Ubuntu 17.10 and have not had any success getting anything to boot, from hard drives, to ISOs, to even actual DVDs. I get the ...
0
votes
1answer
111 views

qemu/kvm snapshot with non-usb device

I have a fully-working QEMU virtual machine (ubutu host, XP guest). I cannot save the machine state into a snapshot because I have a PCIe card attached to the VM. The error message says «Requested ...
0
votes
1answer
75 views

QEMU keys not functional

I have installed several operatings systems under qumu. Host OS is ubunti 17.10, guest OSes are MS-DOS 6.22, OS/2 warp 4.52, Windows 98 SE. In all cases, keys on my keyboard are non-functional even ...
4
votes
3answers
3k views

QEMU frequency mismatch on Kubuntu

I have the following message on my Kubuntu 17.10 - I googled the message but unfortunately hits are way too technical for me to find a solution: Emulator: qemu-system-i386: warning: TSC frequency ...
0
votes
0answers
442 views

QEMU KVM Windows guests freeze the host

When I boot up a Windows VM using QEMU with KVM, the VM would freeze my entire host system and I have to forcibly reboot my computer. System information: CPU: Intel Core i5 6200U (2 cores 4 ...
0
votes
0answers
101 views

How to add networking on a QEMU Windows Server 2008 guest

I'm running a machine with Ubuntu 17.04 and have added the QEMU hypervisor, and installed Windows Server 2008 R2 as a guest. What I'm struggling with is how to add a bridge connection between the ...
0
votes
1answer
90 views

Can I resize an EXT4 image for QEMU?

Is there a way to resize a built image used in QEMU? I have built an image, the output format is ext4. As I am running some test and need additional libraries and just want to transfer them via SCP, ...
0
votes
0answers
305 views

Qemu/KVM Bridged Network: Client working, host unable to reach client

I have Qemu/KVM setup according to the Ubuntu Help page. I also setup bridged networking with Network Manager (I have used both the default virbr0 and created a new bridge and added "bridged ...
0
votes
0answers
305 views

QEMU uses 100% of one thread CPU of the host after a Android phone access server

I have made a virtual machine which has Ubuntu 16.04 and apache 2.4 with mod_mono, and I am using Xubuntu 17.10 and QEMU in the host system. Initially, the page was just a "Hello World" in plain text ...
0
votes
0answers
41 views

How can I get extra space in /boot partition to update linux kernel version in a QEMU VM?

I have an Ubuntu 16.10 Server LTS running in QEMU and I am trying to compile a new kernel version linux-4.13.8, more specifically. Because I used default installation configurations, the partitions ...
0
votes
0answers
58 views

linux image any events(mouse or keyboard) on macOSx 10.10 using qemu is very slow

I tried to launch images on macos 10.10 using qemu. OS is booting (very slow) and events also very slow. As of my knowledge , Its is rendering through cpu, thats why getting slow. can I use host gpu ...
0
votes
0answers
320 views

Qemu VM always crashes with double free or corruption (!prev): 0x5f68ea80 ***

I want to install a VM with Windows XP inside for testing old software. But when I start the VM I always get the following message: Error in `qemu-system-x86_64': double free or corruption (!prev): ...
0
votes
0answers
568 views

ubuntu kvm qemu permission denied

I am trying to add a qmeu argument to my qemu/kvm setup, however I keep getting a permission denied, but I did set the file to chmod777 and it is in the /tmp directory What user account does qemu kvm ...
0
votes
0answers
20 views

Can my friend (mac user) boot the QEMU virtual machines that I created in Ubuntu?

I am using Ubuntu, but my friend is on Mac. Can I create a VM in QEMU in ubuntu and them "give" him my virtual machine file so that he can boot the system?
1
vote
0answers
318 views

qemu arm64 emulation on host x86, it stuck when booting kernel

I am trying to emulate ARM architecture using QEMU. My host OS is ubuntu 16.04 and the guest OS inside the emulated machine is also ubuntu 16.04. Hardware specifications of my host system are: ...
1
vote
1answer
166 views

QEMU is displayed in dpkg but I cant uninstall it

I am using UBUNTU 16.04 LTS on HP probook. I recently installed QEMU and now I want to uninstall it. However when I use the following command sudo apt-get purge --auto-remove qemu-system-x86_64 I ...
1
vote
0answers
469 views

Ubuntu 17.10 won't start on QEMU

I tried several times to install a new image of Ubuntu 17.10 on Qemu. Everytime I install and reboot, it starts for the first time Then I apply the updates, and reboot again. It gets stuck in the ...
4
votes
1answer
2k views

kvm “default” NAT network doesn't work

I just created a virtual machine using qemu-kvm. Both the host and the guest is Ubuntu 16.04 LTS. However, the guest doesn't have access to internet. I can ping host from guest or ping guest from ...
0
votes
0answers
71 views

send qemu window output to network and use telnet to capture it

i have already tried this .connected qemu to and ip and port over remote host. But when i telnet on the specified ip and port it gets connected but now what i want is that the output on the qemu ...
0
votes
1answer
109 views

Qemu vs. Xen(Qemu): virsh can't find qemu

Im running following setup build from source: libvirt Xen(quemu was part of Xen build process) virsh vol-create qcow2 Responds to me: No qemu installd, only raw possible. Every solution pointet out ...
1
vote
0answers
133 views

Huge lags when playing multiplayer games using qemu/kvm, win7 guest, lubuntu host.

i hope you can help me out. For now i am stuck since days with this problem not finding a solution. I am running a win7 guest using qemu/kvm with gpu-passthru. All runs fine. The only problem i have ...
0
votes
0answers
85 views

Run complex program from USB drive without chroot

I am creating a portable USB drive that has a Windows VM on it so I can run my Windows games on any computer. I am using QEMU as my virtual machine program because it is portable, multiplatform, and ...