qemu

Get two linux boxes talking over a serial port

What is the best way to setup one linux box to listen on its serial port for incoming connections? I've done a lot of googling but I can't find the right combination of commands to actually get them to talk! My main objective is to provide a serial interface to running instances of kvm/qemu VMs which currently only have a VNC interface (...

KVM/QEMU network TAP problems with libvirt

I'm trying to use libvirt with virsh to manage my kvm/qemu vms. The problem I have is with getting it to work with public IPs. The server is running ubuntu 8.04. libvirt keeps trying to run it as: /usr/bin/kvm -M pc -m 256 -smp 3 -monitor pty -no-acpi \ -drive file=/opt/virtual-machines/calculon/root.qcow2,if=ide,boot=on \ -net ...

What's a good source to learn about QEMU?

What book or website would you recommend to learn about QEMU? I'd like to see some usage examples as well as how to use the APIs. ...

Compile Android image

I want to start playing around with Android. Downloaded the sources and followed the instructions from the download page Made a plain generic build: ============================================ TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_B...

Scripting QEMU: How to copy in files, start the virtual machine, and copy files out?

I'm running a Linux guest on a Windows host (using WinQEMU), and I would like to have files copied to the guest and back to the host. I don't suppose it matters which initiates the transfer. But I don't have Admin rights on the Window side, so I can't map a drive letter to a virtual disk. Also, from the QEMU docs, the TFTP interface ...

host and kvm/qemu guest shared partition

¿It's possible to share a partition (or lvm volume) and using it at the same time between the host and the guest virtual machine? For example, if you have the /home in the /dev/sdf2 partition, use it inside the otherdistro vm and work at the same time, also. Thanks. ...

Minimal Linux Distrobution with SDL support and NO XWindows?

I want to setup a x86 Linux Box such that: It uses minimal system resources. Runs SDL, without XWindows Includes sufficient functionality to run QEmu. Basically I simply want it to ONLY be a host for Virtulization and be as "thin" as possible leaving nearly all resources available for the "client" OS. Is there anything like that ava...

How to emulate an ARM architecture under OSX 10.6 ("Snow Leopard")?

Hi everyone; I wish to emulate an ARM architecture (I wish to compile software for my DNS-323 NAS drive, to be more precise) and I'm having a hard time. First I tried installing Q, which is an OSX port of QEMU. It freezes when I try to launch it. Then I tried to download the source code for QEMU and apply a patch someone had written to...

Is binding qemu guest cpu like mips/arm/powerpc to x86 host PCI address space possible?

PCI should be architecture independent, so I thought this was possible. Sorry if I've missed anything. ...

error installing packages in Minix

this is the error Out of i-nodes in device 3/130 I have booted Minix using qemu 1Gb(Gigs) partition is allocated when trying to install a few packages using packman and then selecting some numbers, it continued and installed some, then gave this error. I doubt it is memory shortage, but please tell if there is any methods to know t...

USB function controller emulation in QEMU

Hi all, Does QEMU provide emulation for any target with USB device controller? Actually I am developing an embedded linux based device and was thinking about testing it on QEMU. BR, Mooni ...

USB Host and device side support in QEMU

Hi all, I've few questions about QEMU: 1) I read in QEMU's official documentation that in case of using host system devices "USB devices requiring real time streaming (i.e. USB Video Cameras) are not supported yet". Also there is no isochronous transfer based virtual USB device in QEMU. I want to know what is current status of Iso. sup...

Changing the Android emulator locale automatically

For automated testing (using Hudson) I have a script that generates a bunch of emulators for many combinations of Android OS version, screen resolution, screen density and language. This works fine, except for the language part. I need to find a way to change the Android system locale automatically. Here's some approaches I can think o...

Migration of virtual machines

Are there tools for migrating from one virtual machine type to another? E.g let's say I have some Xen virtual machine and like to make it run under KVM. I know that qeumu has tools which can be used to "migrate" such machines, but how about: Xen -> Kvm Kvm -> Xen Xen -> VMware (server?) ...

how mount userdata.img or userdata-qemu.img in osx

Disk Utility in OSX easily mounts an SD Card image as a device, but not so the other img files. I want to get the database I just created in the Android Emulator off the drive and into my osx file system. I updated my system with qemu using macports but no combination I try succeeds. Anyone figured out how to do this? Obviously one wa...

Low level qemu based debugging

I've to test some low level code on an ARM architecture. Typically experimentation is quite complicated on the real board, so I was thinking about QEMU. What I'd like to get is some kind of debugging information like printfs or gdb. I know that this is simple with linux since it implements both the device driver for the QEMU Integrator ...

How to get started on implementing a virtual machine?

I have recently become interested in implementing a basic x86 virtual machine. I think that it would be one the best ways to completely understand the way an x86 machine works. Other than the code base of open source VMMs like bochs, QEMU, kvm, or xen, what resources would you recommend that I look into to get started? ...

Boot from flash-rom with qemu-system-arm

Is it possible to emulate boot from flash memory using qemu-system-arm? (Using Integrator/CP motherboard) I'm able to boot using qemu's -kernel option, but if I try using an option such as -pflash, qemu generates an error telling me that I must use the -kernel option. Is there any way around this? ...

bios video services interrupt call

I'm trying to use the bios video interrupt to display a character on the screen. The following is the assembly code: mov $0x0A, %AH mov $0x68, %AL ; to display character 'h' int $0x10 I assembled this code using GNU assembler to produce an object file called sample.o The total size of sample.o is 449 bytes. Now I manually write to th...

How is device emulation done in kvm

I know that the qemu-kvm does the device emulation stuff in KVM. Is the qemu-kvm being executed in the userspace of the host? So when a kick function is encountered, it exits the VM through a hypercall into the hypervisor, then the hypervisor hand over to qemu-kvm in host userspace. Next after doing the needed things, the qemu-kvm transi...