[Qemu-devel] [PATCH] Capture network traffic

2007-12-18 Thread Balazs Attila-Mihaly (Cd-MaN)
W00t, my first patch got applied :) Thank you. Here goes version 0.3 of my packet capture patch. I rewritten it to be a custom VLANClient which implements the capturing part in its fd_read proceudre, rather than adding additional properties to the VLAN structure. Monitor support is also

Re: [Qemu-devel] [PPC] FPIMM macro and mtfsfi instruction

2007-12-18 Thread claude vittoria
Hi Jocelyn, Thanks for the quickly answer, but I got a wrong result again. The actual version of mtfsfi translate.c:l2048 does not seem update the good flag. The programmer environnement manual 32bits gives if Rc = 1 affected : copy of FX,FEX,VX,OX flags of FPSCR into CR1 of CR. Here, I only

Re: [Qemu-devel] qemu-forum.ipi.fi down?

2007-12-18 Thread Pablo Virolainen
Robert Nestor wrote: It seems qemu-forum.ipi.fi is down. Is there an alternate place one can obtain source snapshots or browse the user forums? It should be back online once again (and it has been almost all the time). The reason you haven't been able to reach it was my mistake. When the

[Qemu-devel] PATCH: block-vvfat.c: fix number_of_entries for filename of length [13]

2007-12-18 Thread Tristan Gingold
Hi, when the length of a LFN is a multiple of 13 (ie 26 bytes), no padding (0x or 0x) is added. [ Linux vfat fs follows this policy: in namei.c:xlat_to_uni *longlen = *outlen; if (*outlen % 13) { *op++ = 0; *op++ = 0;

Re: [Qemu-devel] [PATCH 2/2 v2][UPDATED] Direct IDE I/O

2007-12-18 Thread Laurent Vivier
Le mardi 18 décembre 2007 à 00:03 +, Paul Brook a écrit : On Monday 17 December 2007, Fabrice Bellard wrote: Laurent Vivier wrote: This patch enhances the -drive ,cache=off mode with IDE drive emulation by removing the buffer used in the IDE emulation. --- block.c | 10

Re: [Qemu-devel] xen / qemu convergence ?

2007-12-18 Thread Ian Jackson
andrzej zaborowski writes (Re: [Qemu-devel] xen / qemu convergence ?): There's currently no way in qemu to map a chunk of host memory to guest memory 1:1 if it's not in phys_ram_base, so all video adapters in qemu do that. Mapped memory that's part of phys_ram_base also gets dirty pages

[Qemu-devel] [PATCH] fix cmpxchg8b translation

2007-12-18 Thread Bernhard Kauer
The cmpxchg8b opcode is only valid if the nnn bits in the mod/rm byte are 001, otherwise an #UD should be generated. The attached patch fixes this. Bernhard Kauer Index: target-i386/translate.c --- target-i386/translate.c 8 Nov 2007 14:25:03 - 1.74 +++ target-i386/translate.c 18 Dec

[Qemu-devel] Re: [kvm-devel] [PATCH][UPDATE] kvm-userspace: sync icache for morearchitectures

2007-12-18 Thread Christian Ehrhardt
Hollis Blanchard wrote: On Fri, 2007-12-14 at 10:07 +0100, Christian Ehrhardt wrote: Hollis Blanchard wrote: A comment to explain why the icache needs flushing only in the KVM case would be useful. Other than that I'm fine with it. Signed-off-by: Hollis Blanchard [EMAIL PROTECTED] AFAIK

[Qemu-devel] [PATCH] SVM enabled processor should provide cpuid Fn8000_000A

2007-12-18 Thread Bernhard Kauer
An SVM enabled processor should provide the CPUID extended leaf Fn8000_000A (see AMD documentation #25481). The attached patch add this feature. Bernhard Kauer Index: target-i386/helper.c === RCS file:

Re: [Qemu-devel] qemu-forum.ipi.fi down?

2007-12-18 Thread Ben Taylor
Pablo Virolainen [EMAIL PROTECTED] wrote: Robert Nestor wrote: It seems qemu-forum.ipi.fi is down. Is there an alternate place one can obtain source snapshots or browse the user forums? It should be back online once again (and it has been almost all the time). The reason you

[Qemu-devel] [PATCH v3] Add cache parameter to -drive

2007-12-18 Thread Laurent Vivier
This patch adds a new parameter to -drive Using cache=off with -drive will open the disk image file using O_DIRECT. By default, cache is set to on to keep original behavior of qemu. v3 modify hw/sd.c to allocate buffer on init and not on each blk_read()/blk_write() and add cache= in

Re: [PATCH] Re: [Qemu-devel] QEMU keyboard issue with Gujin-2.2

2007-12-18 Thread Avi Kivity
Etienne Lorrain wrote: Hello, I have digged further my problem of keyboard problem when the mouse is activated using qemu (i.e. dummy char present in the keyboard buffer), and can say that this patch solves completely the problem: $ diff -urp qemu-0.9.0-init qemu-0.9.0

Re: [Qemu-devel] [PATCH 2/2 v2][UPDATED] Direct IDE I/O

2007-12-18 Thread Avi Kivity
Paul Brook wrote: Unfortunately it is more complicated to write to the CPU memory. In particular, specific action should be done when translated code is present. A consistent API must include something like cpu_page_lock() / unlock(). Look at cpu_physical_memory_rw() to see the various issues

Re: [Qemu-devel] qemu vl.c

2007-12-18 Thread Avi Kivity
andrzej zaborowski wrote: Attached is a small patch to do exactly this. The rearming in main_loop_wait() can also be made conditional but I don't think there would be a real gain. Testing with KVM will be appreciated. Regards Time in grub is completely off, Linux calibrate_delay()

Re: [Qemu-devel] Bug report

2007-12-18 Thread Paul Brook
- Qemu initializes all its memory to 0. Real hardware doesn't seem to do that. This means that usage of uninitialized memory is very hard to debug (because 0 is often a good value, while [random] is not, so the problem can only be seen on real hardware, which makes it hard to

[Qemu-devel] Re: multicast and the eepro100 driver

2007-12-18 Thread Bjørn Mork
Stefan Weil [EMAIL PROTECTED] writes: eepro100.c is my work, so maybe I can help you. First of all: there exists a newer version of eepro100.c which fixes some bugs of the CVS version and largely improves support for big endian hosts and targets. Get it from

Re: [Qemu-devel] [Patch 1/2] switch support v2

2007-12-18 Thread Armin
Laurent Vivier wrote: Le lundi 17 décembre 2007 à 09:40 -1000, Armin a écrit : Laurent Vivier wrote: Hi, if you just want to configure which bank to use with pflash, perhaps you can do something like: qemu -drive if=pflash,unit=0 to use the first bank, and qemu -drive

Re: [Qemu-devel] [Patch 1/2] switch support v2

2007-12-18 Thread Laurent Vivier
Le mardi 18 décembre 2007 à 08:40 -1000, Armin a écrit : Laurent Vivier wrote: Le lundi 17 décembre 2007 à 09:40 -1000, Armin a écrit : Laurent Vivier wrote: Hi, if you just want to configure which bank to use with pflash, perhaps you can do something like: qemu -drive

Re: [Qemu-devel] [Patch 1/2] switch support v2

2007-12-18 Thread Armin
Laurent Vivier wrote: Le mardi 18 décembre 2007 à 08:40 -1000, Armin a écrit : Laurent Vivier wrote: Le lundi 17 décembre 2007 à 09:40 -1000, Armin a écrit : Laurent Vivier wrote: Hi, if you just want to configure which bank to use with pflash, perhaps you

Re: [Qemu-devel] qemu vl.c

2007-12-18 Thread Anders
Avi Kivity wrote: Time in grub is completely off, Linux calibrate_delay() complains, 'sleep 1' doesn't return, but FC6 x86-64 boots. (this is with your patch on top of the re-applied patch I reverted earlier). Now I have updated my kvm checkout, and I immediately got trouble booting the

Re: [Qemu-devel] Bug report

2007-12-18 Thread Bas Wijnen
On Tue, Dec 18, 2007 at 04:52:47PM +, Paul Brook wrote: - Qemu initializes all its memory to 0. Real hardware doesn't seem to do that. This means that usage of uninitialized memory is very hard to debug (because 0 is often a good value, while [random] is not, so the problem can

Re: [Qemu-devel] An architectural question

2007-12-18 Thread Mulyadi Santosa
Hi... First of all I want to apologize for this mail and hope that I won't wast to much of your valuable time hacking on Qemu ;-). My goal is to implement a tracing system in Qemu, which would suspend the emulation at certain points (determined by linear addresses), dump some information

Re: [Qemu-devel] qemu-forum.ipi.fi down?

2007-12-18 Thread Mulyadi Santosa
Hi.. Just personal question, could you bring back the daily CVS snapshot tarball which was usually posted at front page of Qemu forum? regards, Mulyadi.