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.

0
votes
1answer
15 views

How do I non-interactively provision ubuntu virtual machines using `libvirt`?

Previously (some years back) I have used vmbuilder, but this now seems to be unmaintained and cannot be used with newer ubuntu versions. I have also tried vagrant with vagrant-libvirt plugin, apart ...
0
votes
0answers
14 views

Cirros run on VM

I installed Cirros on QEMU/KVM with following commands: service libvirtd start wget --no-check-certificate https://download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img qemu-img info cirros-...
0
votes
0answers
44 views

How to boot and install the Ubuntu server image on QEMU -nographic without the GUI?

At How to run Ubuntu 16.04 Desktop on QEMU? I have described in detail how to boot and install the desktop Ubuntu image on QEMU. Now I wanted to do a similar setup for the server image to try keep ...
0
votes
0answers
28 views

QEMU/KVM: How to prevent remote-viewer with a SPICE connection from passing ACPI signal to the VM

I have a Win server 2012 on a virtual machine on QEMU/KVM with SPICE support running on a physical Ubuntu 16.04 server. I connect to it from a physical computer with Ubuntu 18.04 using the following ...
0
votes
0answers
37 views

Ubuntu 18.04 w/MAAS on KVM, KVM nodes on UEFI cannot boot

I have just started using MAAS and testing on a KVM environment with isolated virtual network connected through NAT to the outside Internet. MAAS installed fine in a KVM VM and I am able to ...
0
votes
0answers
39 views

I can't start my linux in qemu-vm

I try to run a Ubuntu in my qemu,but I always encounter errors: [ OK ] Started Create Static Device Nodes in /dev. [FAILED] Failed to mount /sys/kernel/config. See 'systemctl status sys-kernel-...
0
votes
1answer
69 views

Distro 'ubuntu18.04' does not exist in our dictionary

(Ubuntu greenhorn here) I am running Ubuntu server 18.04 on my bare metal, with a couple of VMs running presently which are 14.04. I am having no issues whatsoever with the 14.04 servers running for ...
0
votes
0answers
26 views

Configre QEMU(Emulator) for xilinx SDK

I am using Xilinx Vivado and Xilinx SDK for simple program on ZYNQ FPGA/MP Ultra Scale. but i havn't the hardware device(Development board). So i tried to configure the Qemu to run the SDK program. ...
0
votes
1answer
118 views

Cannot ping across a bridge (netplan, qemu)

I cannot ping a virtual image running as a qemu guest in Ubuntu 18.04. The default yaml file in /etc/netplan/ is: network: version: 2 renderer: networkd ethernets: eno1: dhcp4: yes ...
1
vote
0answers
32 views

Unable to install Ubuntu on Lenovo T470, kernel error for i686 [duplicate]

I'm trying to install Ubuntu 18.04 on a Lenovo T470. It currently has Windows 10. In System Properties it shows Windows 10, 64-bit OS, x64 processor. When I try to install Ubuntu from pen drive ...
2
votes
1answer
120 views

Virt-Manager Error

I've installed QEMU-KVM and Virt-manager according to this guide: https://linuxconfig.org/install-and-set-up-kvm-on-ubuntu-18-04-bionic-beaver-linux. I can get pretty far until I reach step 4 of 5 ...
1
vote
0answers
46 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
141 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 ...
1
vote
0answers
178 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
45 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
160 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
172 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
248 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
562 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
139 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
38 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
106 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
3k 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 ...
1
vote
0answers
317 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
236 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
968 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
895 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
180 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
48 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
55 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
281 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
768 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
465 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
347 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
226 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
407 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
239 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
330 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
142 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
121 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
504 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
121 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
110 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
50 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
635 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
22 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
373 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
205 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
482 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 ...