[Qemu-devel] qemu/target-ppc cpu.h

2007-12-10 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/12/10 08:13:10 Modified files: target-ppc : cpu.h Log message: Cleanup: remove useless TARGET_GPR_BITS definition. CVSWeb URLs:

[Qemu-devel] qemu/linux-user socket.h syscall_defs.h ppc/sys...

2007-12-10 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/12/10 08:24:59 Modified files: linux-user : socket.h syscall_defs.h linux-user/ppc : syscall.h target_signal.h Log message: Various linux-user structures and definitions

[Qemu-devel] [PATCH][PPC] mtfsf: fix FPSCR_VX and FPSCR_FEX computation

2007-12-10 Thread Aurelien Jarno
Hi all, The patch below fix the computation of FPSCR_VX and FPSCR_FEX when using the mtfsf instruction. As stated in the PowerPC manual the mtfsf instruction can't alter those bit, and thus it should always be computed. Bye, Aurelien Index: target-ppc/op_helper.c

[Qemu-devel] [PATCH][DOC]Update documention with '-drive' usage.

2007-12-10 Thread Laurent Vivier
Hi, The attached patch update qemu-doc.texi with the definition of '-drive'. Laurent -- - [EMAIL PROTECTED] -- Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clarke --- qemu-doc.texi | 70

Re: [Qemu-devel] Online image backup

2007-12-10 Thread Lorenzo Mancini
Ricardo Almeida wrote: Fabrice, that's just part of the problem. A full automated remote backup service for qemu VMs should work like this: 1. send a savevm state command to qemu; 2. wait for savevm completion; 2.1 Switch to snapshot mode How do you switch to snapshot mode *while* the

[Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Balazs Attila-Mihaly (Cd-MaN)
Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcap - it is also available from the monitor - added some more constants / defines to avoid repeating portions of the code

[Qemu-devel] high resolution timer question

2007-12-10 Thread Robert Reif
Writing data to a serial port on the sparc emulation happens immediately. I would like to throttle the write speed to match the actual baud rate. What's the best way to do this in qemu? Will QEMUTimer work for a 1 millisecond timer?

RE: [Qemu-devel] high resolution timer question

2007-12-10 Thread Arnon Gilboa
The usb host controller emulations in qemu (usb-uhci usb-ohci) use QEMUTimer for 1 millisecond timer. This precise interval is required for generating usb 1.1 frames. I currently implement usb 2.0 host controller emulation for qemu (usb-ehci). It uses QEMUTimer for generating usb 2.0 microframes

Re: [Qemu-devel] PATCH: ide.c: send irq for WIN_DIAGNOSE

2007-12-10 Thread Tristan Gingold
Index: hw/ide.c === RCS file: /sources/qemu/qemu/hw/ide.c,v retrieving revision 1.72 diff -u -r1.72 ide.c --- hw/ide.c18 Nov 2007 01:44:37 - 1.72 +++ hw/ide.c30 Nov 2007 14:02:33 - @@ -2042,6 +2053,7 @@

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Anthony Liguori
Balazs Attila-Mihaly (Cd-MaN) wrote: Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcap Is it really necessary/useful to specify this on the command line since it can be controlled from the monitor? Regards,

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Johannes Schindelin
Hi, On Mon, 10 Dec 2007, Anthony Liguori wrote: Balazs Attila-Mihaly (Cd-MaN) wrote: Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcap Is it really necessary/useful to specify this on the command line

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Paul Brook
On Monday 10 December 2007, Anthony Liguori wrote: Balazs Attila-Mihaly (Cd-MaN) wrote: Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcap Is it really necessary/useful to specify this on the command line

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Balazs Attila-Mihaly (Cd-MaN)
The use case I need it for is for honeypot-like systems. Ie. the system starts from a snapshot and accesses links / runs executables while observing the behaviour. For this use case it is the best if it is setable from the command line.

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Anthony Liguori
Johannes Schindelin wrote: Hi, On Mon, 10 Dec 2007, Anthony Liguori wrote: Balazs Attila-Mihaly (Cd-MaN) wrote: Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcap Is it really necessary/useful to

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Johannes Schindelin
Hi, On Mon, 10 Dec 2007, Anthony Liguori wrote: Johannes Schindelin wrote: On Mon, 10 Dec 2007, Anthony Liguori wrote: Balazs Attila-Mihaly (Cd-MaN) wrote: Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net

[Qemu-devel] BSP information

2007-12-10 Thread André Gustavo Degraf Uchôa
I would like to recieve some kind of documents, tutorials, or other related info about BSP on QEMU. I would like to emulate VxWorks on QEMU. Thanks your attention. This message was sent using IMP, the Internet Messaging

Re: [Qemu-devel] Online image backup

2007-12-10 Thread Ricardo Almeida
2.1 Switch to snapshot mode How do you switch to snapshot mode *while* the VM is running, i.e. without stopping and restarting qemu? The only way I know to enter that mode is using the -snapshot switch at invocation time and I don't think it can be done online. As I said, I'm just a user

Re: [Qemu-devel] high resolution timer question

2007-12-10 Thread Blue Swirl
On 12/10/07, Robert Reif [EMAIL PROTECTED] wrote: Writing data to a serial port on the sparc emulation happens immediately. I would like to throttle the write speed to match the actual baud rate. What's the best way to do this in qemu? Will QEMUTimer work for a 1 millisecond timer? Do you

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Anthony Liguori
Hi Johannes, Johannes Schindelin wrote: Hi, However, I have no problem maintaining my own fork. Much like I will do with VNC again, since I recently had to use QEmu via VNC and the artefacts are just horrible. I just sent a patch to the mailing list that should fix those artifacts.

[Qemu-devel] [PATCH][VNC] Fix fragments due to incomplete dirty tracking in CGA mode

2007-12-10 Thread Anthony Liguori
Dirty tracking is done in the VNC server by splitting the framebuffer into 16-pixel blocks and then updating a bitmap when a dpy-update() occurs. If dpy-update() is called with an x st (x % 16) != 0, then the very last block dirtied by the update could potentially not be tracked. This is

Re: [Qemu-devel] high resolution timer question

2007-12-10 Thread Anthony Liguori
Blue Swirl wrote: On 12/10/07, Robert Reif [EMAIL PROTECTED] wrote: Writing data to a serial port on the sparc emulation happens immediately. I would like to throttle the write speed to match the actual baud rate. What's the best way to do this in qemu? Will QEMUTimer work for a 1

[Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer

2007-12-10 Thread Ian Jackson
The existing stdvga driver from xen-unstable tools/ioemu/hw/vga* does not save the emulated VGA memory contents. The symptoms include video malfunction after restore, including black screen (which can often be fixed by asking the guest to redraw) but also missing font setup etc. The attached

Re: [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer

2007-12-10 Thread andrzej zaborowski
On 10/12/2007, Ian Jackson [EMAIL PROTECTED] wrote: The existing stdvga driver from xen-unstable tools/ioemu/hw/vga* does not save the emulated VGA memory contents. The symptoms include video malfunction after restore, including black screen (which can often be fixed by asking the guest to

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Johannes Schindelin
Hi, On Mon, 10 Dec 2007, Anthony Liguori wrote: Johannes Schindelin wrote: However, I have no problem maintaining my own fork. Much like I will do with VNC again, since I recently had to use QEmu via VNC and the artefacts are just horrible. I just sent a patch to the mailing list

[Qemu-devel] qemu/target-sparc op_helper.c

2007-12-10 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl blueswir1 07/12/10 19:58:20 Modified files: target-sparc : op_helper.c Log message: Add ASIs (Robert Reif) CVSWeb URLs:

[Qemu-devel] qemu vl.c hw/boards.h hw/sun4m.c

2007-12-10 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl blueswir1 07/12/10 20:00:11 Modified files: . : vl.c hw : boards.h sun4m.c Log message: Add SPARCstation 20 machine type (Robert Reif) CVSWeb URLs:

[Qemu-devel] qemu/hw slavio_serial.c

2007-12-10 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl blueswir1 07/12/10 20:05:09 Modified files: hw : slavio_serial.c Log message: Name the magic constants, wrap long lines CVSWeb URLs:

Re: [Qemu-devel] [PATCH] sparc32 add a few more ASI

2007-12-10 Thread Blue Swirl
On 12/9/07, Robert Reif [EMAIL PROTECTED] wrote: diff -p -u -r1.60 op_helper.c --- target-sparc/op_helper.c28 Nov 2007 18:08:28 - 1.60 +++ target-sparc/op_helper.c9 Dec 2007 20:33:02 - @@ -411,6 +411,9 @@ void helper_ld_asi(int asi, int size, in break;

Re: [Qemu-devel] [PATCH] sparc32 add SPARCstation 20 machine type

2007-12-10 Thread Blue Swirl
On 12/10/07, Robert Reif [EMAIL PROTECTED] wrote: +qemu_register_machine(ss20_machine); Thanks, applied. I also added support to OpenBIOS, but although the change is very minimal and SS-10 continues to work, SS-20 doesn't. Puzzling.

Re: [Qemu-devel] [RFC] QEMU Dbus support - a proposal management API

2007-12-10 Thread Blue Swirl
On 12/10/07, Yuval Kashtan [EMAIL PROTECTED] wrote: Hello All, Attached is a proposed patch which adds DBus support to QEMU. DBus is a standard message bus for linux (http://www.freedesktop.org/wiki/Software/dbus ) The idea behind this is to allow for external programs such as controlling

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Anthony Liguori
Johannes Schindelin wrote: Hi, On Mon, 10 Dec 2007, Anthony Liguori wrote: Johannes Schindelin wrote: However, I have no problem maintaining my own fork. Much like I will do with VNC again, since I recently had to use QEmu via VNC and the artefacts are just horrible. I just

Re: [Qemu-devel] high resolution timer question

2007-12-10 Thread Paul Brook
I think the throttling should be done at CharDriver level so that all targets and also other devices, like parallel ports (SUNW,bpp anyone?) But the timing is entirely a concept of the hardware devices. It seems like it would be easier to just add a growable buffer, and then setup a timer

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated

2007-12-10 Thread Thiemo Seufer
Anthony Liguori wrote: Balazs Attila-Mihaly (Cd-MaN) wrote: Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcap Is it really necessary/useful to specify this on the command line since it can be controlled

[Qemu-devel] Re: [PATCH] mark host pages as reserved

2007-12-10 Thread Magnus Damm
Hi everyone, On Dec 5, 2007 5:45 PM, Magnus Damm [EMAIL PROTECTED] wrote: Hi all, This patch teaches the user space emulator about host pages. It marks present host page mappings with PAGE_RESERVED so mmap_find_vma() properly can detect that pages at mmap_next_start should be skipped over

Re: [Qemu-devel] [RFC] QEMU Dbus support - a proposal management API

2007-12-10 Thread Yuval Kashtan
Some answers: - If there is interest I can re-create the patch so it will work against the current head. I thought to receive some comments about it first.. - thanks for the styling and configuration remarks, I will certainly fix these. But before I invest more time in it, I would like to hear