0
votes
0answers
16 views

“qemu-nbd --create” without sudo

I'm working on a custom OS, and the make recipe I wrote for creating a new disk image requires sudo for connecting/disconnecting the virtual HDD image to a /dev/nbdN device. Because I don't want sudo ...
2
votes
1answer
33 views

Qemu user mode networking doesn't work

I try to use network in guest system. I installed an OS in a virtual machine, but I did not get the network configured. When I try to ping, for instance google.com I get the IP address for the domain, ...
0
votes
0answers
28 views

QEMU guest and Linux host networking configuration

+-----------------------+ +---------------------+ | bro - Host - Linux | | Guest - QEMU- Linux | | +------+ +------+ | | eth0 | | | tap0 |----| eth0 | | ...
0
votes
1answer
55 views

Weird output from linux `top` command

I got a weird output from command top, which shows the summation of the RES column is greater than my physical memory. For instance, I have a host with 64G physical memory and the swap partition has ...
0
votes
1answer
21 views

QEMU outside gateway

I've created two instances of CentOS6.5 (KVM) using Virtual Manager and I'm able to ping google.com, yahoo.com,etc... However the ip addresses for the instances are 192.168.0.* and the machine that ...
0
votes
0answers
41 views

Testing Linux Kernel in QEMU gives black screen after brief text

I'm trying to run a linux kernel (version 3.14) I custom built using make menuconfig. I am trying to test it in QEMU and this is the command I am trying to run: qemu-system-x86_64 -kernel ...
0
votes
1answer
114 views

How to create a fixed size virtual disk with qemu-img?

What's the best way to create a fixed size disk with qemu-img ? I tried doing this., and it always seems to be creating a virtual /growing disk, doing a ls returns the actual small size of the vmdk. ...
1
vote
0answers
54 views

How to forward usb port to guest OS using qemu

I have lots of usb devices and I would like to connect them to guest os. Currently I'm forwarding one device at a time. $ qemu-system-x86_64 ... -usbdevice host:xxxx:yyyy I would like to give ...
0
votes
0answers
24 views

Making qemu look better

I have a machine running kubuntu, and use qemu to run a VM. It looks really bad as you can see in the screenshot. What can I do to make it better? I prefer solutions that don't require sudo access, ...
1
vote
0answers
44 views

QEMU: weird display output when install debian on mac osx

I got weird display when I tried to install debian on osx 10.9.1 qemu-system-i386 -hda debian.img -cdrom ~/Downloads/debian-testing-i386-netinst.iso -boot d QEMU is the newest version brewed from ...
0
votes
0answers
55 views

Virtual machines using wrong IP addresses

I have a host computer (A), running three virtual machines: X,Y and Z. They're under a NAT layer, in which the Host A is the gateway (192.168.0.1/16), and the VM's are respectively 192.168.0.2 (X), ...
3
votes
1answer
2k views

How to enable network with a raspberry pi emulated on qemu?

I'm trying to emulate a raspberry pi on my ubuntu 13.04. I installed qemu and it works well except for the network. I followed this procedure. On the virtual machine, the file /etc/network/interface ...
0
votes
0answers
101 views

How to install QEMU on Damn Small Linux?

I'm trying to install QEMU on a Damn Small Linux installation in order to emulate Pentium features in a 486 computer. Though DSL was discontinued, it's the only Linux that runs reasonably on the 486 ...
1
vote
1answer
68 views

Will QEMU emulate processors newer than the one in which it's running?

If I compile QEMU in Linux running on a 486 processor, will it be able to emulate the Pentium processor features on it (like MSR)? And, if it doesn't, is there any way to emulate the Pentium features ...
0
votes
0answers
46 views

How to debug a kernel created using ubuntu-vm-builder?

Aim: Trying to perform a code walkthrough of what functions are getting called for sending and receiving packets over the network. I am building a kernel and using gdb for debugging/ tracing ...
0
votes
0answers
43 views

Redirecting qemu output to a local file

Hi I am working on qemu which virtualizes android 2.3.5 gingerbread. I can give basic linux commands in qemu such as ps. what i want to know how can I redirect the output. Looking for something like ...
1
vote
0answers
76 views

Unknown OS hostname and product in virt-manager

I'm using libvirt on a Fedora 19 host, running various Linux guests with QEMU and KVM hypervisors. Using the virt-manager GUI, when I look at the guest Overview screen, in the Operating System ...
0
votes
1answer
395 views

QEMU and the Raspberry Pi

[I re-titled this for posterity, since it does turn out to be somewhat raspberry-pi centric] I'd like to try QEMU as an alternative to cross-compiling. I'm using v. 1.0.1 on fedora 17 [later: same ...
0
votes
0answers
147 views

Installation of QEMU and GCC for emulation of ARM processor - RHEL

I am trying to install the QEMU to emulate the ARM processor and run assembly programs. As part of the emulation in RHEL systems, I need to install the following. QEMU Emulator GCC for ARM GDB ...
0
votes
0answers
106 views

Virtual machine host software

I would like to create a virtual machine running Linux and a couple of network services. This virtual machine should be on a USB stick and able to run on both Windows and Linux hosts, with as little ...
0
votes
1answer
2k views

QEmu to share a directory with the host

My problem is that networking devices in my device tree are not very stable so I thought the best way to share a folder between qemu and the host system is mount the same img without cache on both ...
0
votes
1answer
60 views

How do I define a new virtual machine in QEMU?

I have installed QEMU for fedora via: yum install qemu Now how do I start it ? I mean how do I define a new virtual machine, like I do in VMware? Also I don't see any icon made for QEMU.
0
votes
1answer
716 views

vagrant fails to create box with libvirt

I am trying to setup a box with vagrant and libvirt with the following Vagrantfile Vagrant.configure("2") do |config| config.vm.define :test_vm do |test_vm| test_vm.vm.box = "test" ...
5
votes
2answers
7k views

How do I convert an .img file to vhd?

I have an image file (linux based image) and want to convert it to VHD so that it can be used to create hyper-V VMs. I used "qemu-img convert" to convert raw to vpc format, but vpc doesnt work for ...
3
votes
0answers
892 views

QEMU within VirtualBox and bridged connections all the way down

I'm trying to get an ARM QEMU system out on my LAN. I tried running QEMU directly from Windows (Windows 7 x64), with success except I could not get a TAP adapter to bridge to my wireless connection. ...
0
votes
1answer
933 views

qemu-i386 on ARM processor giving ld-linux.so.2 error

I am trying to install Ventrilo server on my SheevaPlug, running Debian ARMEL. Since Ventrilo server is an x86 program, I would like to try and use qemu-i386 to run the server on my ARM processor. ...
1
vote
1answer
1k views

linux 'top' not showing all processes

I am running linux top command to see processes running inside qemu VM. Sometimes, a process does not appear in them, but if I run, ps -eo psr,pcpu,comm | grep myprocessname then the process is ...
1
vote
1answer
4k views

How to access internet from QEMU?

I am running qemu version 0.13 on windows XP. My Host OS is Windows XP and my guest OS is Debian 4(Etch). How do I connect to internet from Debian OS? My windows OS can connect to Internet. The ...
1
vote
2answers
421 views

Drive not recognized by linux when launched from qemu

I'm attempting to boot a linux kernel, ramdisk, and a drive using qemu: qemu -initrd ramdisk.cpio.gz -kernel mylinux.i686 -m 1024 -append console=ttyS0,38400 -serial file:serial.out -hdd raw.img ...
10
votes
2answers
1k views

How crazy is “sudo qemu -hda /dev/sda”(mounting host's sda as client's hda)?

I was playing with qemu on Linux when I discovered that I could just run sudo qemu -hda /dev/sda And it would boot up my system again! I closed qemu immediately after Grub was loaded successfully ...
0
votes
1answer
603 views

Write qemu booting virtual machine output to a file

I've been trying out qemu to play around with some VMs. It's working well but I keep wanting to be able to view the text (linux boot process) that quickly scrolls by in the qemu window on startup of ...
0
votes
0answers
595 views

Networked Parallel Port in Linux / KVM / QEMU

What I want to use is the "-parallel" tcp or udp option from KVM / QEMU, but I don't seem to find any server for this client. I don't serve a printer but a hardware dongle. I checked ser2net, which ...
1
vote
1answer
2k views

How to use qcow2 disk image in Linux?

I have a large qcow2 formatted disk image, which I use as storage. Often I need to move data to and from this disk image. I mount the disk using the qemu-nbd tool as follows: modprobe nbd max_part=63 ...
3
votes
5answers
647 views

How does it hurt to use Linux (Ubuntu) as a guest OS for all my tasks?

I have a machine running Windows, where the disk has two partitions C (50 GB) and D (250GB). I do research in Information Retrieval and need to work with a large corpus (more than 50 GB) and in ...
1
vote
0answers
422 views

Trying to run QEMU with a file as hda

I'm trying to run QEMU and use a simple file on the host system as the guest's hard drive. Here's what I attempted so far: $ dd if=/dev/zero of=/home/felix/vm/archlinux.img bs=1MB count=8192 8192+0 ...
2
votes
2answers
196 views

What emulator / VM software can I use to create a Win32-portable Linux Guest?

I want to create a portable VM setup so that I can boot a Linux install regardless of which Windows XP / Windows 7 host machine I am on. I was looking at Qemu but it doesn't appear to have a ...
2
votes
1answer
1k views

How To Change The Floppy Image Of Qemu?

I'm developing my own OS, but I'm having some problems with Qemu, because I need to change the floppy image from grub.img to os.img while the emulation is running, but how can I do this?
6
votes
2answers
15k views

Is it possible to resize a QEMU disk image?

Like the title says: Is it possible to resize a QEMU disk image in Linux? And if so, what happens to the partitions within it? Are they automatically resized as well (doubtful) or is there just a new ...