[Qemu-devel] [PATCH] hs/iommu.c add turboSPARC mask id register

2008-01-23 Thread Robert Reif
Add microSPARC II and turboSPARC mask ID register support. Index: hw/iommu.c === RCS file: /sources/qemu/qemu/hw/iommu.c,v retrieving revision 1.25 diff -p -u -r1.25 iommu.c --- hw/iommu.c 1 Jan 2008 17:06:38 - 1.25 +++

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

2008-01-23 Thread Aurelien Jarno
Jocelyn Mayer a écrit : On Mon, 2007-12-10 at 10:13 +0100, Aurelien Jarno wrote: Hi all, Hi, 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

Re: [Qemu-devel] [PATCH][PPC] Use float32/64 instead of float/double

2008-01-23 Thread Aurelien Jarno
Aurelien Jarno a écrit : On Sun, Dec 30, 2007 at 06:32:45PM +0200, Blue Swirl wrote: On 12/30/07, Aurelien Jarno [EMAIL PROTECTED] wrote: The patch below changes the float and double types into float32 and and float64 types in the PPC code. This doesn't change anything when using

[Qemu-devel] [PATCH 0/5] SCSI passthrough cleanup

2008-01-23 Thread Laurent Vivier
This series of patches makes some cleanups in SCSI passthrough and add functionnalities. [PATCH 1/5] reverse scsi-generic Reverse previous implementation and restore block-raw-posix.c. [PATCH 2/5] Move AIO This patche moves raw AIO part from block-raw-posix.c to qemu-aio-raw.c. [PATCH 3/5]

[Qemu-devel] [PATCH 5/5] SCSI device DMA split

2008-01-23 Thread Laurent Vivier
With some emulated SCSI devices, like usb-storage or ide-scsi, DMA transfers are limited to 64 kiB or 32 kiB. This patch allows to split a READ or WRITE into several READ or WRITE. Laurent --- block-sg.c|1 hw/scsi-generic.c | 110

[Qemu-devel] [PATCH 3/5] Add block SG interface

2008-01-23 Thread Laurent Vivier
This patch re-implement scsi-generic.c using a new block interface called block-sg.c instead of block-raw-posix.c. It adds a new interface (bdrv_execute) allowing to send command to the device. Laurent --- Makefile |2 Makefile.target |2 block-sg.c| 194

[Qemu-devel] [PATCH 1/5] reverse scsi-generic

2008-01-23 Thread Laurent Vivier
This patch removes modifications in block interface introduced by the scsi-generic implementation, and disables scsi-generic support. Files restored are: block-raw-posix.c revision 1.2 block.c revision 1.52 block.h revision 1.5 block_int.h

[Qemu-devel] [PATCH 2/5] Move AIO

2008-01-23 Thread Laurent Vivier
This patche moves raw AIO part from block-raw-posix.c to qemu-aio-raw.c to be able to use raw AIO from other files. Laurent --- Makefile |2 Makefile.target |2 block-raw-posix.c | 205 ++--- qemu-aio-posix.c | 241

[Qemu-devel] qemu cpu-all.h cpu-exec.c qemu-doc.texi vl.c

2008-01-23 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 08/01/23 19:01:12 Modified files: . : cpu-all.h cpu-exec.c qemu-doc.texi vl.c Log message: Add option to disable TB cache, by Herve Poussineau. CVSWeb URLs:

Re: [Qemu-devel] qemu cpu-all.h cpu-exec.c qemu-doc.texi vl.c

2008-01-23 Thread Robert Reif
Thiemo Seufer wrote: CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 08/01/23 19:01:12 Modified files: . : cpu-all.h cpu-exec.c qemu-doc.texi vl.c Log message: Add option to disable TB cache, by Herve Poussineau. CVSWeb URLs:

Re: [Qemu-devel] [PATCH 0/5] SCSI passthrough cleanup

2008-01-23 Thread Fabrice Bellard
Two questions: - Why do you use AIO ? If the Linux sg device supports selects, then using the QEMU select() callback suffices. - Why do you use a block device ? Regards, Fabrice. Laurent Vivier wrote: This series of patches makes some cleanups in SCSI passthrough and add functionnalities.

Re: [Qemu-devel] emulate the Intel-VT behavior on any type of CPU

2008-01-23 Thread octane indice
En réponse à Alexander Graf [EMAIL PROTECTED] : He was talking about running SVM code in KQemu/KVM. It might work with kqemu No, I have a intel PIII CPU without vt extensions. I want to test KVM. My idea is to use a qemu machine emulating the VT instruction. So, in the qemu machine, I

Re: [Qemu-devel] emulate the Intel-VT behavior on any type of CPU

2008-01-23 Thread Alexey Eremenko
Try: qemu-system-x86_64 By default, you use qemu which is a 32-bit emulator. I think SVM is available only to 64-bit guests. The 64-bit emulator is named: qemu-system-x86_64, and don't worry, your CPU will work, despite being 32-bit without SVM. 64-bit part is for guests, not for host. I'm not

[Qemu-devel] [PATCH] fix SVM event injection

2008-01-23 Thread Bernhard Kauer
The SVM event injection mechanism for NMI and INTRs should not be handled as software interrupts. Bernhard Kauer Index: target-i386/helper.c --- target-i386/helper.c 24 Dec 2007 13:36:00 - 1.98 +++ target-i386/helper.c 23 Jan 2008 22:37:49 - @@ -4124,7 +4193,7 @@ case

[Qemu-devel] vgabios-cirrus.bin header problems

2008-01-23 Thread Myles Watson
I've been trying to use qemu with coreboot (linuxbios v3), but it complains about vgabios-cirrus.bin not matching the device ids. It worked for someone else, and they sent me their vgabios-cirrus.bin, which is different from mine, even though we both downloaded tarballs of 0.9.0. The broken one

[Qemu-devel] [PATCH] hw/sun4m.c fix power addresses

2008-01-23 Thread Robert Reif
diff -p -u -r1.81 sun4m.c --- hw/sun4m.c 17 Jan 2008 21:04:16 - 1.81 +++ hw/sun4m.c 24 Jan 2008 05:06:38 - @@ -687,7 +687,7 @@ static const struct hwdef hwdefs[] = { .dma_base = 0x7840, .esp_base = 0x7880, .le_base = 0x78c0, -

[Qemu-devel] [Bug] qemu_memalign not matched with qemu_free

2008-01-23 Thread TeLeMan
qemu_memalign was introduced after this patch: http://www.nabble.com/forum/ViewPost.jtp?post=14488239framed=y But the free function was qemu_free yet, the correct function should be qemu_vfree. This bug will lead to heap corrupted. -- View this message in context: