Re: [Qemu-devel] [security bug]code_gen_buffer can be overflowed

2007-12-09 Thread Blue Swirl
On 12/1/07, Blue Swirl [EMAIL PROTECTED] wrote: On 12/1/07, TeLeMan [EMAIL PROTECTED] wrote: Blue Swirl-2 wrote: On 11/28/07, TeLeMan [EMAIL PROTECTED] wrote: dyngen_code() can generate more than CODE_GEN_MAX_SIZE bytes, code_gen_buffer can be overflowed. I hope this

Re: [Qemu-devel] [PATCH] Allow setting the vendor_id string with x86's -cpu option

2007-12-09 Thread Dan Kenigsberg
On Sun, Dec 09, 2007 at 03:02:44AM +, Thiemo Seufer wrote: Dan Kenigsberg wrote: Having AuthenticAMD hard-coded is nice, but allowing the user to impersonate whatever CPU she wants is even nicer. Also, an English typo (due to me) is corrected. Dan. ---

Re: [Qemu-devel] [PATCH] Allow setting the vendor_id string with x86's -cpu option

2007-12-09 Thread Paul Brook
+x86_cpu_def-vendor1 = cpu_to_le32(*(uint32_t *)val); +x86_cpu_def-vendor2 = cpu_to_le32(*(uint32_t *)(val + 4)); +x86_cpu_def-vendor3 = cpu_to_le32(*(uint32_t *)(val Still not good enough. val might not be aligned. Paul

Re: [Qemu-devel] [PATCH] Allow setting the vendor_id string with x86's -cpu option

2007-12-09 Thread Dan Kenigsberg
On Sun, Dec 09, 2007 at 11:36:34AM +, Paul Brook wrote: +x86_cpu_def-vendor1 = cpu_to_le32(*(uint32_t *)val); +x86_cpu_def-vendor2 = cpu_to_le32(*(uint32_t *)(val + 4)); +x86_cpu_def-vendor3 = cpu_to_le32(*(uint32_t *)(val Still not good

[Qemu-devel] [PATCH] sparc32 sun4m eccmemctl

2007-12-09 Thread Robert Reif
This patch adds sparc32 sun4m SMP ECC memory controller support. Three files are attached: The first is a diff to existing code. The second is a diff for the new eccmemctl.c. The third is the openboot outputs for the 3 systems that support this chip. This patch is necessary for using sun

Re: [Qemu-devel] [PATCH] OSX x86_64 host support

2007-12-09 Thread Mike Kronenberg
Hi from Q, Yes we have a OpenGL, CG and in dev a Core Animation version for vga output. Quickdraw is depreciated since Tiger. But as QEMU has never added gcc4 to the tool-chain, there was never a official running version on any Intel machine :) Our OpenGL and CG implementation offer

[Qemu-devel] qemu Makefile.target hw/sun4m.c hw/sun4m.h hw/e...

2007-12-09 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl blueswir1 07/12/09 17:03:50 Modified files: . : Makefile.target hw : sun4m.c sun4m.h Added files: hw : eccmemctl.c Log message: Add support for

Re: [Qemu-devel] [PATCH] sparc32 sun4m eccmemctl

2007-12-09 Thread Blue Swirl
On 12/9/07, Robert Reif [EMAIL PROTECTED] wrote: This patch adds sparc32 sun4m SMP ECC memory controller support. Thanks, applied. I just moved the ecc_base after the other bases. Three files are attached: The first is a diff to existing code. The second is a diff for the new eccmemctl.c.

Re: [Qemu-devel] [Patch][Pxa2xx] Mainstone mmc support

2007-12-09 Thread Armin
Andrzej, andrzej zaborowski wrote: On 08/12/2007, Armin [EMAIL PROTECTED] wrote: Hello, Please consider this patch for inclusion. This adds MMC and the rest of the FPGA irq definitions for the Mainstone II Why are both the write-protect and card-detect signals being connected to

Re: [Qemu-devel] [PATCH] OSX x86_64 host support

2007-12-09 Thread Alexander Graf
Hi, On Dec 9, 2007, at 5:52 PM, Mike Kronenberg wrote: Hi from Q, Yes we have a OpenGL, CG and in dev a Core Animation version for vga output. Quickdraw is depreciated since Tiger. But as QEMU has never added gcc4 to the tool-chain, there was never a official running version on any

Re: [Qemu-devel] [PATCH] Allow setting the vendor_id string with x86's -cpu option

2007-12-09 Thread Dan Kenigsberg
On Sun, Dec 09, 2007 at 07:29:49PM +0100, Andreas Schwab wrote: Dan Kenigsberg [EMAIL PROTECTED] writes: +x86_cpu_def-vendor1 = val[0] + (val[1] 8) + + (val[2] 16) + (val[3] 24); +x86_cpu_def-vendor2 = val[4] + (val[5]

Re: [Qemu-devel] [PATCH] Allow setting the vendor_id string with x86's -cpu option

2007-12-09 Thread Dan Kenigsberg
On Sun, Dec 09, 2007 at 08:58:34PM +0200, Dan Kenigsberg wrote: On Sun, Dec 09, 2007 at 07:29:49PM +0100, Andreas Schwab wrote: Dan Kenigsberg [EMAIL PROTECTED] writes: +x86_cpu_def-vendor1 = val[0] + (val[1] 8) + + (val[2] 16) +

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

2007-12-09 Thread Robert Reif
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; } break; +case 0x39: /* data cache

[Qemu-devel] [PATCH] linux-user, Fix execve argc/envc counting.

2007-12-09 Thread Takashi Yoshii
In execve code for linux-user emulation, address increment steps seems to be wrong when counting argc/envc. /yoshii Index: linux-user/syscall.c === RCS file: /sources/qemu/qemu/linux-user/syscall.c,v retrieving revision 1.156 diff

[Qemu-devel] qemu/hw omap.c omap.h

2007-12-09 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 07/12/09 22:32:42 Modified files: hw : omap.c omap.h Log message: OMAP DMA 3.2 support by Lauro Ramos Venancio. CVSWeb URLs:

[Qemu-devel] qemu/hw piix_pci.c

2007-12-09 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 07/12/09 23:02:39 Modified files: hw : piix_pci.c Log message: Remove leftover support for 82371FB (Step A1), by Carlo Marcelo Arenas Belon. CVSWeb URLs:

[Qemu-devel] qemu/linux-user syscall.c

2007-12-09 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 07/12/09 23:12:56 Modified files: linux-user : syscall.c Log message: Fix execve argc/envc counting, by Takashi Yoshii. CVSWeb URLs:

Re: [Qemu-devel] [PATCH 0/2] Real SCSI device passthrough

2007-12-09 Thread Thiemo Seufer
Laurent Vivier wrote: This series of patches allows to connect real SCSI device to the virtual SCSI controller of Qemu using the SCSI Generic interface (/dev/sg) for instance: qemu -hda my_disk.qcow2 -drive file=/dev/sg3,if=scsi Please update also the documentation to mention this

[Qemu-devel] qemu/hw omap.c

2007-12-09 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 07/12/09 23:23:02 Modified files: hw : omap.c Log message: Use pointers to channels rather than channel numbers in the DMA. CVSWeb URLs:

[Qemu-devel] qemu/hw mainstone.c

2007-12-09 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 07/12/09 23:29:35 Modified files: hw : mainstone.c Log message: No write-protect detect diode on Mainstone II. CVSWeb URLs:

[Qemu-devel] qemu/target-i386 exec.h helper.c op.c translate.c

2007-12-09 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 07/12/09 23:35:28 Modified files: target-i386: exec.h helper.c op.c translate.c Log message: Add rdpmc SVM intercept, by Bernhard Kauer. CVSWeb URLs:

[Qemu-devel] qemu/target-i386 helper.c

2007-12-09 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 07/12/09 23:39:23 Modified files: target-i386: helper.c Log message: Make SVM IOIO intercept check all needed bits, by Bernhard Kauer. CVSWeb URLs:

[Qemu-devel] qemu/hw pci.c piix_pci.c

2007-12-09 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 07/12/09 23:56:13 Modified files: hw : pci.c piix_pci.c Log message: Save/load PCI-device, PCI-bus and PIIX3 irq-related state (patches by Uri Lublin. Note that

Re: [Qemu-devel] saving/loading PCI irq related state

2007-12-09 Thread andrzej zaborowski
Hi, On 27/11/2007, Uri Lublin [EMAIL PROTECTED] wrote: Hello, If one is not lucky he/she may lose PCI interrupts when saving and loading a VM. It seems PCI irq related state is not being saved. When this happens, the guest hangs/spins and the cpu usage of the process stays around 100%.

Re: [Qemu-devel] [Patch][update] Mainstone re-org plus flash

2007-12-09 Thread andrzej zaborowski
On 02/12/2007, Armin [EMAIL PROTECTED] wrote: Thiemo, Thiemo Seufer wrote: Armin wrote: Hello, This includes the previous Mainstone re-org patch I sent earlier plus flash support. This adds two 32MiB flash devices. Mounts from mtdblock2 on flash device 0 fine at boot. I

[Qemu-devel] qemu/hw flash.h gumstix.c mainstone.c pflash_cf...

2007-12-09 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 07/12/10 00:28:27 Modified files: hw : flash.h gumstix.c mainstone.c pflash_cfi01.c pflash_cfi02.c ppc405_boards.c Log message: Desambiguate

[Qemu-devel] qemu/hw flash.h

2007-12-09 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 07/12/10 00:33:13 Modified files: hw : flash.h Log message: Fix incompatible declaration in previous commit. CVSWeb URLs:

[Qemu-devel] qemu/hw flash.h omap.c pflash_cfi02.c

2007-12-09 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski balrog 07/12/10 01:07:47 Modified files: hw : flash.h omap.c pflash_cfi02.c Log message: Fix OMAP1 MPUI/O keyboard interrupt masking. CVSWeb URLs:

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

2007-12-09 Thread Robert Reif
Index: vl.c === RCS file: /sources/qemu/qemu/vl.c,v retrieving revision 1.377 diff -p -u -r1.377 vl.c --- vl.c6 Dec 2007 22:11:20 - 1.377 +++ vl.c10 Dec 2007 01:17:59 - @@ -7838,6 +7838,7 @@ static void

Re: [Qemu-devel] [Patch][update] Mainstone re-org plus flash

2007-12-09 Thread andrzej zaborowski
On 10/12/2007, andrzej zaborowski [EMAIL PROTECTED] wrote: On 02/12/2007, Armin [EMAIL PROTECTED] wrote: Thiemo, Thiemo Seufer wrote: Armin wrote: Hello, This includes the previous Mainstone re-org patch I sent earlier plus flash support. This adds two 32MiB flash

Re: [Qemu-devel] [Patch][update] Mainstone re-org plus flash

2007-12-09 Thread Armin
andrzej zaborowski wrote: On 10/12/2007, andrzej zaborowski [EMAIL PROTECTED] wrote: On 02/12/2007, Armin [EMAIL PROTECTED] wrote: Thiemo, Thiemo Seufer wrote: Armin wrote: Hello, This includes the previous Mainstone re-org patch I sent earlier plus flash support.

[Qemu-devel] qemu/hw esp.c lsi53c895a.c scsi-disk.c scsi-dis...

2007-12-09 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 07/12/10 02:58:34 Modified files: hw : esp.c lsi53c895a.c scsi-disk.c scsi-disk.h usb-msd.c Log message: SCSI cleanup, by Laurent Vivier. CVSWeb URLs:

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

2007-12-09 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/12/10 07:40:16 Modified files: target-ppc : cpu.h translate_init.c Log message: Fix PowerPC 74xx definitions. CVSWeb URLs: