Re: [Qemu-devel] Resuming a guest freezes on high resolutions

2006-08-09 Thread Brad Campbell
Fabrice Bellard wrote: This is a PCI save/restore issue. I am working on it. In between you can boot and wait until the VGA is initialized by the guest OS and then do the loadvm. If you did this, I would have thought you were letting the guest alter the state of the disk image, you then loadv

[Qemu-devel] -cdrom /dev/cdrom and could not open hard disk image

2006-08-09 Thread Pavel Janík
Hi, the current CVS: [EMAIL PROTECTED]:~> /tmp/QEMU/bin/qemu -cdrom /dev/cdrom qemu: could not open hard disk image '/dev/cdrom' [EMAIL PROTECTED]:~> Probably because: open("/dev/cdrom", O_RDWR|O_LARGEFILE) = -1 EROFS (Read-only file system) I can read from CD-ROM: [EMAIL PROTECTED]:~> head

[Qemu-devel] Re: qemu-system-sparc video problem on 16 bit displays

2006-08-09 Thread Anthony Liguori
On Thu, 10 Aug 2006 00:32:20 +0200, Juergen Lock wrote: > Hi! > > I was made aware of this by a FreeBSD user, but i suspect the > problem is not specific to FreeBSD hosts: If run on a 16 bit display, > qemu-system-sparc' video is messed up like shown here: > http://img320.imageshack.us/im

Re: [Qemu-devel] qemu-system-sparc video problem on 16 bit displays

2006-08-09 Thread WaxDragon
I can confirm this happens under linux also. Never thought to try 24bit. On 8/9/06, Juergen Lock <[EMAIL PROTECTED]> wrote: Hi! I was made aware of this by a FreeBSD user, but i suspect the problem is not specific to FreeBSD hosts: If run on a 16 bit display, qemu-system-sparc' video is mess

[Qemu-devel] qemu/hw pci.c

2006-08-09 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 06/08/10 01:03:35 Modified files: hw : pci.c Log message: Add SCSI controller class. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pci.c?cvsroot=qemu&r1=1.27&r2=1.28 _

[Qemu-devel] [PATCH] slavio serial mouse

2006-08-09 Thread Igor Kovalenko
Hi!This patch adds serial mouse support for sun4m slavio emulation. Index: hw/slavio_serial.c === RCS file: /cvsroot/qemu/qemu/hw/slavio_serial.c,v retrieving revision 1.6 diff -u -r1.6 slavio_serial.c --- hw/slavio_serial.c 12 Apr 200

[Qemu-devel] [PATCH] lance.c emulation corrections

2006-08-09 Thread Igor Kovalenko
Hi!lance.c emulation implements incorrect algorithm to scan receive/transmit descriptors: - it scans a whole ring of descriptors instead of stopping at first owned by host - it skips buffers in corner cases  - card is not reset, current rx/tx descriptor number is not reset when card is stopped by d

[Qemu-devel] qemu/hw lance.c

2006-08-09 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard06/08/09 22:38:19 Modified files: hw : lance.c Log message: removed tabs CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/lance.c?cvsroot=qemu&r1=1.8&r2=1.9 __

[Qemu-devel] qemu-system-sparc video problem on 16 bit displays

2006-08-09 Thread Juergen Lock
Hi! I was made aware of this by a FreeBSD user, but i suspect the problem is not specific to FreeBSD hosts: If run on a 16 bit display, qemu-system-sparc' video is messed up like shown here: http://img320.imageshack.us/img320/3807/qemusparckd1.png (pink, and uses only half of the window'

[Qemu-devel] qemu/hw lance.c

2006-08-09 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard06/08/09 21:55:56 Modified files: hw : lance.c Log message: indent CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/lance.c?cvsroot=qemu&r1=1.7&r2=1.8

Re: [Qemu-devel] Resuming a guest freezes on high resolutions

2006-08-09 Thread Fabrice Bellard
This is a PCI save/restore issue. I am working on it. In between you can boot and wait until the VGA is initialized by the guest OS and then do the loadvm. Fabrice. Robert Annessi wrote: Hi, when using a higher resolutions then 640x480 resuming a guest freezes (I ran into that problem with l

[Qemu-devel] qcow2 issues on freebsd

2006-08-09 Thread Robert Annessi
Hi, although it's not yet released, I tried the qcow2 format on some OSes. Linux, Windowx XP and OpenBSD worked quite well, but I had a reproduceable issue with FreeBSD: qemu segfaults when creating a snapshot. Afterwards the disk is unuseable (at least qemu hangs when reading it). I just thought

[Qemu-devel] Resuming a guest freezes on high resolutions

2006-08-09 Thread Robert Annessi
Hi, when using a higher resolutions then 640x480 resuming a guest freezes (I ran into that problem with linux, fbsd and win xp guests). The monitor still works, but the guest doesnt respond to anything. Workaround: use -std-vga as argument to qemu (dont emulate cirrus vga but a standard vga card)

[Qemu-devel] RE: Qemu-devel Digest, Vol 41, Issue 22

2006-08-09 Thread Schwarz, Konrad
> Also note that qemu isn't even vaguely cycle accurate, and > doesn't accurately model TLB or cache. It should be > sufficient for most applications, but code that does sneaky > hardware specific things (like assuming a particular TLB size > or relying on cache/TLB lockdown for correct behavio

Re: [Qemu-devel] Port Qemu to another ARM platform

2006-08-09 Thread Paul Brook
> > > Is there a documents available which decribes how to port qemu to > > > another ARM platform or something similar? > > > > Not really. However qemu already supports a few different Arm boards, so > > looking at the source should tell you most of what you need to know. > > But the Integrator p

[Qemu-devel] asking about nfs server on Windows

2006-08-09 Thread Tieu Ma Dau
Hi all,In Windows, I use ProNFS to create a NFS server on my host; OpenVPN to create a TAP-Win32 Adapter. When I run Qemu to simulate ARM system by the following command:qemu-system-arm -kernel zImage.integrator -initrd arm_root.img -net nic,vlan=0 -net tap,vlan=0,ifname=my-tapAnd after that, in Qe

Re: [Qemu-devel] Port Qemu to another ARM platform

2006-08-09 Thread Christian Roepke
Hello, > > Hi, > > > > I consider to port qemu to another ARM platform so that I have a software > > simulator for my microcontroller board. There is an ARM926EJ-S core on my > > board which is backwards compatible from ARM7. Hence I must not port the > > cpu core only the interrupt controller, ti

[Qemu-devel] qemu -cdrom /dev/cdrom opens the cdrom for RW and fails w/ RO devices (linux)

2006-08-09 Thread Artur Skawina
recently (probably since the AIO code went in) qemu opens the cdrom device like this: open("/dev/cdrom", O_RDWR|O_LARGEFILE)= -1 EROFS (Read-only file system) which obviously fails and qemu quits w/ an error message about being unable to access the cdrom. Patch below makes a RO -cdrom de

Re: [Qemu-devel] Bug of Qemu when running TAP device on Windows?

2006-08-09 Thread Paul Sokolovsky
Hello Tieu,        Do you think that posting same long mail several times will get you more answers than careful reading of docs/some thought? ;-) Wednesday, August 9, 2006, 11:31:51 AM, you wrote: > Hi all, I ran successfully Qemu to simulate ARM system on Linux host with the followi

[Qemu-devel] Best way to give qemu time to read from parallel port?

2006-08-09 Thread Steve Ellenoff
As a follow up to my previous post - I'm debugging data via the host parallel port to some custom hardware. The OS (which I don't have code for), sets up the RTC for a very fast 0.25ms (4096Hz) time, and runs exclusively off the interrupt geneted, ie all subsequent timing and functions are based

[Qemu-devel] Bug of Qemu when running TAP device on Windows?

2006-08-09 Thread Tieu Ma Dau
Hi all, I ran successfully Qemu to simulate ARM system on Linux host with the following command: ./qemu-system-arm -kernel zImage.integratorCP -append "root=/dev/nfs nfsroot=192.168.7.1:/mnt/nfsqemu rw ip=192.168.7.2::192.168.7.1:255.255.255.0 " -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,scr

Re: [Qemu-devel] Log I/O from host Parallel Port?

2006-08-09 Thread Steve Ellenoff
Thanks Vincent! I guess I should have just looked in the parallel.c file.. Not being too familiar with linux, I just assumed the port was forwarded to linux, I didn't realize qemu had to code the transfer of data, and thus could easily log it. Now that I think about it, that's pretty stupid of