[Qemu-devel] [PATCH] Capture traffic to a pcap file

2007-12-05 Thread Balazs Attila-Mihaly (Cd-MaN)
This patch allows to capture the traffic flowing through a particular vlan in a tcpdump compatible pcap file. The patch is identical to the one created some time back, however it was updated to apply to HEAD. Usage: -net nic,pcap=capture_file.pcap

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

2007-12-05 Thread Anthony Liguori
Gerd Hoffmann wrote: Anthony Liguori wrote: Gerd Hoffmann wrote: Hi, I really want to use readv/writev though. With virtio, we get a scatter/gather list for each IO request. Yep, I've also missed pwritev (or whatever that syscall would be named). Once I post the

Re: [Qemu-devel] [PATCH] Capture traffic to a pcap file

2007-12-05 Thread Anthony Liguori
Balazs Attila-Mihaly (Cd-MaN) wrote: This patch allows to capture the traffic flowing through a particular vlan in a tcpdump compatible pcap file. The patch is identical to the one created some time back, however it was updated to apply to HEAD. Usage: -net nic,pcap=capture_file.pcap I

[Qemu-devel] Re: [PATCH] r2d: Add R2D-PLUS FPGA support.

2007-12-05 Thread Magnus Damm
On Dec 3, 2007 6:30 PM, Paul Mundt [EMAIL PROTECTED] wrote: This adds trivial support for the R2D-PLUS FPGA, mostly just for the versioning information that the kernel uses for IRL mappings, in addition to handling the heartbeat and poweroff writes. Signed-off-by: Paul Mundt [EMAIL PROTECTED]

Re: [Qemu-devel] Re: [PATCH 2/3] virtio network device

2007-12-05 Thread Paul Brook
Actually according to qemu's standard, one should use cpu_physical_memory_write/ cpu_physical_memory_read functions. This is true also for reading the ring values. Yes, and unfortunately, cpu_physical_memory_{read,write} are copy interfaces. We really don't want that for high speed I/O.

[Qemu-devel] Re: [PATCH 2/3] virtio network device

2007-12-05 Thread Anthony Liguori
Dor Laor wrote: Anthony Liguori wrote: Index: qemu/hw/virtio-net.c === --- /dev/null 1970-01-01 00:00:00.0 + +++ qemu/hw/virtio-net.c2007-12-04 14:17:37.0 -0600 + +static void virtio_net_receive(void

[Qemu-devel] [PATCH] add rdpmc intercept for SVM

2007-12-05 Thread Bernhard Kauer
The attached patch adds an SVM intercept for rdpmc to qemu, thus allowing a VMM to virtualize them. Please note that performance counters are currently unimplemented in qemu. Bernhard Kauer Index: target-i386/helper.c --- target-i386/helper.c 18 Nov 2007 01:44:38 - 1.95 +++

Re: [Qemu-devel] gcc

2007-12-05 Thread Rick Vernam
On Tuesday 04 December 2007 06:35:53 pm Carlo Marcelo Arenas Belon wrote: On Mon, Dec 03, 2007 at 08:20:28PM -0600, Rick Vernam wrote: any comments on the current status of moving beyond dependency on GCC 3.3.6? you meant dependency on GCC 4 right? yeah..thanks. I use gcc 3.4.6 and there

Re: [Qemu-devel] and now bus error for i386 guest

2007-12-05 Thread Blue Swirl
On 12/5/07, Shaddy Baddah [EMAIL PROTECTED] wrote: 0x1e958 main+13992: ld [ %l6 + 0x8c ], %l1 0x1e95c main+13996: call 0xa90b4 cpu_x86_exec 0x1e960 main+14000: mov %l1, %o0 Maybe you missed the effect of the delay slot. The first argument is prepared in %l1 and moved to %o0 in the

[Qemu-devel] [PATCH 1/2] Refactor CHS guessing to be usable outside of IDE

2007-12-05 Thread Anthony Liguori
The next patch I post will require this patch. It refactors the CHS guessing so it can be used by devices other than IDE. Regards, Anthony Liguori Index: qemu/block.c === --- qemu.orig/block.c 2007-12-04 16:18:46.0 -0600

Re: [Qemu-devel] Online image backup

2007-12-05 Thread Ricardo Almeida
Hi, Discalmer: I'm just a user of QEmu :) comments bellow 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 3.

Re: [Qemu-devel] Re: [PATCH 2/3] virtio network device

2007-12-05 Thread Anthony Liguori
Paul Brook wrote: Actually according to qemu's standard, one should use cpu_physical_memory_write/ cpu_physical_memory_read functions. This is true also for reading the ring values. Yes, and unfortunately, cpu_physical_memory_{read,write} are copy interfaces. We really don't want that

[Qemu-devel] [PATCH 1/2] Add an in-memory block device

2007-12-05 Thread Anthony Liguori
This is a generic in-memory block device. It is needed by the next patch. Regards, Anthony Liguori Index: qemu/Makefile === --- qemu.orig/Makefile 2007-12-05 15:39:09.0 -0600 +++ qemu/Makefile 2007-12-05 15:39:39.0

Re: [Qemu-devel] [PATCH] Capture traffic to a pcap file

2007-12-05 Thread Paul Brook
On Wednesday 05 December 2007, Balazs Attila-Mihaly (Cd-MaN) wrote: This patch allows to capture the traffic flowing through a particular vlan in a tcpdump compatible pcap file. The patch is identical to the one created some time back, however it was updated to apply to HEAD. Usage: -net

[Qemu-devel] [PATCH 2/2] Option ROM for booting from SCSI/PV disks

2007-12-05 Thread Anthony Liguori
Hi, The attached patch is an option ROM that allows x86 guests to boot from any block device supported by QEMU (and the guest kernel). It works by hijacking the BIOS int13 function and then uses a very simply protocol to communicate all block requests to QEMU. This patch also adds a

Re: [Qemu-devel] and now bus error for i386 guest

2007-12-05 Thread Shaddy Baddah
Hi, Blue Swirl wrote: On 12/4/07, Shaddy Baddah [EMAIL PROTECTED] wrote: HI, Blue Swirl wrote: On 11/14/07, Shaddy Baddah [EMAIL PROTECTED] wrote: Hi again, After further culling the target list, I was able to install qemu on my sun4u host. However, running it, I get a bus error. See

[Qemu-devel] Re: [PATCH 0/3] virtio support for QEMU

2007-12-05 Thread Anthony Liguori
Avi Kivity wrote: Rusty Russell wrote: On Wednesday 05 December 2007 11:10:46 Anthony Liguori wrote: Dor Laor wrote: Can you set up an uptodate git repository for the kernel part, other Yeah, patches are required that aren't yet in Rusty's queue. I'll update the list once we've

[Qemu-devel] Re: [PATCH] target-sh4: Support CPU versioning.

2007-12-05 Thread Magnus Damm
On Dec 3, 2007 5:40 PM, Paul Mundt [EMAIL PROTECTED] wrote: Trivial patch adding CPU listing and the ability to do per-subtype CVR/PVR/PRR values. The existing semantics aren't changed, as only the SH7751R values are stubbed in for the moment, but the kernel is at least able to get the cache

[Qemu-devel] Re: [PATCH 0/3] virtio support for QEMU

2007-12-05 Thread Avi Kivity
Rusty Russell wrote: On Wednesday 05 December 2007 11:10:46 Anthony Liguori wrote: Dor Laor wrote: Can you set up an uptodate git repository for the kernel part, other Yeah, patches are required that aren't yet in Rusty's queue. I'll update the list once we've gotten his queue

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

2007-12-05 Thread Magnus Damm
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 instead of being overwritten using mmap(). Without this patch I experience

[Qemu-devel] Re: [PATCH 0/3] virtio support for QEMU

2007-12-05 Thread Rusty Russell
On Wednesday 05 December 2007 11:10:46 Anthony Liguori wrote: Dor Laor wrote: Can you set up an uptodate git repository for the kernel part, other Yeah, patches are required that aren't yet in Rusty's queue. I'll update the list once we've gotten his queue straightened out. I'm actually on

Re: [Qemu-devel] Online image backup

2007-12-05 Thread Lorenzo Mancini
Matteo Bertini wrote: Hello everyone, is there any support for an online image backup? Or some direction to have it? Imagine I have an emulated server. How can I make an online backup of the server state? If I'm right in the actual design this is very hard. Or there are some image internals

Re: [Qemu-devel] and now bus error for i386 guest

2007-12-05 Thread Shaddy Baddah
Hi, Blue Swirl wrote: On 12/5/07, Shaddy Baddah [EMAIL PROTECTED] wrote: 0x1e958 main+13992: ld [ %l6 + 0x8c ], %l1 0x1e95c main+13996: call 0xa90b4 cpu_x86_exec 0x1e960 main+14000: mov %l1, %o0 Maybe you missed the effect of the delay slot. The first argument is prepared in %l1 and

[Qemu-devel] [PATCH] sh4: add interrupt support to sh_timer.c

2007-12-05 Thread Magnus Damm
Hi everyone, This patch adds interrupt support to the sh specific timer code. Tested with a 2.6.24-rc guest kernel. hw/sh.h |7 ++- hw/sh7750.c | 12 +--- hw/sh_timer.c | 32 ++-- 3 files changed, 33 insertions(+), 18 deletions(-) /

[Qemu-devel] Re: [PATCH 0/3] virtio support for QEMU

2007-12-05 Thread Avi Kivity
Anthony Liguori wrote: This patch series adds support for paravirtual device drivers that use virtio. virtio is a frame work in Linux for abstracting the details of virtual IO so that a single device driver (like networking) can be used with multiple hypervisors using a small shim layer.

[Qemu-devel] [PATCH 2/2] Use extboot to support -kernel

2007-12-05 Thread Anthony Liguori
This patch uses the extboot option ROM to support -kernel. Instead of hijacking the first boot sector of the first IDE drive, we use extboot to read the boot sector from an in-memory block device. This eliminates the need to have an IDE device (or any device) configured when using -kernel.

[Qemu-devel] EFI BIOS on QEMU

2007-12-05 Thread Kuniyasu Suzaki
Hello, We tried EFI BIOS on QEMU. http://bellard.org/qemu/efi-bios.tar.bz2 It' fine but the network is not effective. The devices command of EFI does not find a NIC. # Linux can not set up also network. Please tell me how to solve this problem. I will re-compile EFI BIOS if necessary. We

[Qemu-devel] QEMU problem ...

2007-12-05 Thread dara burke
Hi, I've got a problem with Qemu, it won't seem to work on my ubuntu system. It can't seem to find the framebuffer device ... [EMAIL PROTECTED]:~/qemu_dir$ qemu -localtime -cdrom /dev/cdrom -m 384 -boot d c.img Warning: No DNS servers found -- DirectFB v0.9.25

Re: [Qemu-devel] [PATCH] Capture traffic to a pcap file

2007-12-05 Thread Balazs Attila-Mihaly (Cd-MaN)
This patch allows to capture the traffic flowing through a particular vlan in a tcpdump compatible pcap file. The patch is identical to the one created some time back, however it was updated to apply to HEAD. Usage: -net nic,pcap=capture_file.pcap I like the idea but I think it would