[Qemu-devel] [PATCH] Dump traffic to pcap file - update

2007-07-01 Thread Balazs Attila-Mihaly \(Cd-MaN\)
Hello all. Attached you find an updated version of my patch to dump the traffic on a given interface to a tcpdump file. The changes are: -moved from f* functions (fopen, fwrite) to the more basic functions (open, write, etc) because this seems to be the norm in the source code -fixed some forma

[Qemu-devel] [PATCH] Macaddr parsing

2007-07-01 Thread Balazs Attila-Mihaly \(Cd-MaN\)
Hello all. Attached is an other patch (against the CVS) to allow for more flexible mac address parsing from the command line. Specifically it allows: -using the '-' as separator (as Windows uses it) -using no separator at all (just 12 hexadecimal characters in a row) - again Windows uses this s

Re: [Qemu-devel] Porting QEMU to PalmOS

2007-07-01 Thread andrzej zaborowski
On 5/24/07, sinisa marovic <[EMAIL PROTECTED]> wrote: I'm afraid I will have to dissapoint you: it will be only isapc with no networking or other fancy devices. Main goal is the ability to run dos games. I do not know how familiar are you with PalmOS developer support. It is poor, gcc lack many i

Re: [Qemu-devel] [PATCH] starting qemu vnc session on a pre-allocated port

2007-07-01 Thread Anthony Liguori
Gilad Ben-Yossef wrote: Anthony Liguori wrote: The machine running qemu has a web based interface to start VMs. A user asks for a new VM to start by browsing to a URL. The CGI implmenting that URL will start a new qemu instance, send to the user web browser an HTML page with a JAVA VNC viewer e

Re: [Qemu-devel] Porting QEMU to PalmOS

2007-07-01 Thread Luke-Jr
On Sunday 01 July 2007 07:29, andrzej zaborowski wrote: > On 5/24/07, sinisa marovic <[EMAIL PROTECTED]> wrote: > > I'm afraid I will have to dissapoint you: it will be only isapc with no > > networking or other fancy devices. Main goal is the ability to run dos > > games. I do not know how familia

Re: [Qemu-devel] qemu exec.c monitor.c

2007-07-01 Thread Stefan Weil
ANSI / POSIX do not define "wa" as mode string for fopen. I have no idea how many implementations of libc will fail with this mode which was introduced by the latest version of exec.c. The standard mode for append is just "a". Even better (because it is faster and creates smaller log files for Win

Re: [Qemu-devel] [PATCH] Dump traffic to pcap file - update

2007-07-01 Thread Blue Swirl
On 7/1/07, Balazs Attila-Mihaly (Cd-MaN) <[EMAIL PROTECTED]> wrote: Attached you find an updated version of my patch to dump the traffic on a given interface to a tcpdump file. The changes are: This part is not right: +void pcap_close_files() +{ + int i; + for (i = 0; i <= nb_nics;

Re: [Qemu-devel] Porting QEMU to PalmOS

2007-07-01 Thread Johannes Schindelin
Hi, On Sun, 1 Jul 2007, Luke-Jr wrote: > On Sunday 01 July 2007 07:29, andrzej zaborowski wrote: > > On 5/24/07, sinisa marovic <[EMAIL PROTECTED]> wrote: > > > > > [...] When I ported dosbox (which is written in c++) > > > > (Happily violating the GPL) > > > > Will the qemu port also be binary o

Re: [Qemu-devel] Porting QEMU to PalmOS

2007-07-01 Thread andrzej zaborowski
On 01/07/07, Luke-Jr <[EMAIL PROTECTED]> wrote: On Sunday 01 July 2007 07:29, andrzej zaborowski wrote: > On 5/24/07, sinisa marovic <[EMAIL PROTECTED]> wrote: > > I'm afraid I will have to dissapoint you: it will be only isapc with no > > networking or other fancy devices. Main goal is the abili

[Qemu-devel] qemu exec.c

2007-07-01 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/07/01 18:21:11 Modified files: . : exec.c Log message: Fix bogus fopen mode. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec.c?cvsroot=qemu&r1=1.102&r2=1.103

Re: [Qemu-devel] qemu exec.c monitor.c

2007-07-01 Thread Paul Brook
On Sunday 01 July 2007, Stefan Weil wrote: > ANSI / POSIX do not define "wa" as mode string for fopen. > I have no idea how many implementations of libc > will fail with this mode which was introduced by > the latest version of exec.c. > > The standard mode for append is just "a". You are correct.

Re: [Qemu-devel] [PATCH] Dump traffic to pcap file - update

2007-07-01 Thread Balazs Attila-Mihaly \(Cd-MaN\)
You're absolutely right. Attached a corrected version. - Original Message From: Blue Swirl <[EMAIL PROTECTED]> To: qemu-devel@nongnu.org Sent: Sunday, 1 July, 2007 9:08:00 PM Subject: Re: [Qemu-devel] [PATCH] Dump traffic to pcap file - update On 7/1/07, Balazs Attila-Mihaly (Cd-MaN) <[E