[Qemu-devel] [PATCH v3] showing a splash picture when start

2011-06-26 Thread Wayne Xia
Made an option to let qemu pass a picture to bios, let the bios show it as a logo. By default it is off, enable it as following -boot splash_time=N,splash_filename=P N have a max value of 0x, unit is ms. P is the a file name or a absolute path. Currently a trial version of sea-bios could

Re: [Qemu-devel] [PATCH 12/12] Remove temp_buf, rename CPU_TEMP_BUF_NLONGS

2011-06-26 Thread Wayne Xia
Hi, it seems the patched TCG have some problem, I got a segment fault. Running condition: qemu-system-x86_64 -L /home/xiawenc/WorkDir/Source/bios/pc-bios/ when I invoke it with --kvm-enabled, no segment fault. qemu version: commit f44c99607a46484c52f03aed373e3a3a194af721 Author: Blue Swi

Re: [Qemu-devel] [PATCH 2/2] qxl: add QXL_IO_UPDATE_MEM for guest S3&S4 support

2011-06-26 Thread yhalperi
On 06/26/2011 08:47 PM, Alon Levy wrote: On Sun, Jun 26, 2011 at 12:59:06PM -0400, Yonit Halperin wrote: Sorry for the late response, wasn't available. I'm afraid that (1) and (2) will indeed wakeup the worker, but will not assure emptying the command ring, as it depends on the client pipe siz

Re: [Qemu-devel] [PATCH] vnc: Fix compilation with --enable-vnc-png

2011-06-26 Thread Jan Kiszka
On 2011-06-27 08:10, Stefan Hajnoczi wrote: > On Mon, Jun 27, 2011 at 6:29 AM, Stefan Weil wrote: >> Commit f26e428da505709ec03b2ed2c9eb3db82b30bd7b fixed compilation >> with --enable-vnc-png, but broke it with --enable-vnc-png. >> >> The breakage is caused by pngconfig.h which checks whether >> s

Re: [Qemu-devel] [PATCH] vnc: Fix compilation with --enable-vnc-png

2011-06-26 Thread Stefan Hajnoczi
On Mon, Jun 27, 2011 at 6:29 AM, Stefan Weil wrote: > Commit f26e428da505709ec03b2ed2c9eb3db82b30bd7b fixed compilation > with --enable-vnc-png, but broke it with --enable-vnc-png. > > The breakage is caused by pngconfig.h which checks whether > setjmp.h was already included and fails because qemu

Re: [Qemu-devel] [PATCH] vnc: Fix compilation with --enable-vnc-png

2011-06-26 Thread Jan Kiszka
On 2011-06-27 07:29, Stefan Weil wrote: > Commit f26e428da505709ec03b2ed2c9eb3db82b30bd7b fixed compilation > with --enable-vnc-png, but broke it with --enable-vnc-png. > > The breakage is caused by pngconfig.h which checks whether > setjmp.h was already included and fails because qemu-common.h >

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-26 Thread Roy Tam
2011/6/27 Stefan Weil : > Am 27.06.2011 04:37, schrieb TeLeMan: >> >> This patch breaks the compilation with --enable-vnc-png: >> >> CC ui/vnc-enc-tight.o >> In file included from /usr/include/png.h:518, >> from ui/vnc-enc-tight.c:34: >> /usr/include/pngconf.h:371: error: expected '=', ',', ';', 'a

Re: [Qemu-devel] [PATCH] vnc: Fix compilation with --enable-vnc-png

2011-06-26 Thread Stefan Weil
Am 27.06.2011 07:29, schrieb Stefan Weil: Commit f26e428da505709ec03b2ed2c9eb3db82b30bd7b fixed compilation with --enable-vnc-png, but broke it with --enable-vnc-png. should be with --enable-vnc-jpeg, but broke it with --enable-vnc-png. Please fix this detail before applying the patch. Thank

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-26 Thread Stefan Weil
Am 27.06.2011 04:37, schrieb TeLeMan: This patch breaks the compilation with --enable-vnc-png: CC ui/vnc-enc-tight.o In file included from /usr/include/png.h:518, from ui/vnc-enc-tight.c:34: /usr/include/pngconf.h:371: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token /usr

Re: [Qemu-devel] [PATCH v3 03/12] VMDK: probe for monolithicFlat images

2011-06-26 Thread Stefan Hajnoczi
On Mon, Jun 27, 2011 at 6:11 AM, Fam Zheng wrote: > On Mon, Jun 27, 2011 at 12:43 PM, Stefan Hajnoczi wrote: >> On Mon, Jun 27, 2011 at 4:48 AM, Fam Zheng wrote: >>> +            if (strncmp("version=1\n", p, strlen("version=1\n")) == 0 || >>> +                strncmp("version=1\r\n", p, strlen(

Re: [Qemu-devel] [V11 00/15] virtio-9p: Use chroot to safely access files in passthrough security model

2011-06-26 Thread M. Mohan Kumar
On Sun, Jun 26, 2011 at 09:22:27PM +0300, Blue Swirl wrote: > On Fri, Jun 24, 2011 at 11:22 AM, M. Mohan Kumar wrote: > > In passthrough security model, following symbolic links in the server > > side could result in TOCTTOU vulnerabilities. > > (http://en.wikipedia.org/wiki/Time-of-check-to-time-

[Qemu-devel] [PATCH] vnc: Fix compilation with --enable-vnc-png

2011-06-26 Thread Stefan Weil
Commit f26e428da505709ec03b2ed2c9eb3db82b30bd7b fixed compilation with --enable-vnc-png, but broke it with --enable-vnc-png. The breakage is caused by pngconfig.h which checks whether setjmp.h was already included and fails because qemu-common.h includes setjmp.h. The check is disabled by definin

Re: [Qemu-devel] [PATCH v3 03/12] VMDK: probe for monolithicFlat images

2011-06-26 Thread Fam Zheng
On Mon, Jun 27, 2011 at 12:43 PM, Stefan Hajnoczi wrote: > On Mon, Jun 27, 2011 at 4:48 AM, Fam Zheng wrote: >> +            if (strncmp("version=1\n", p, strlen("version=1\n")) == 0 || >> +                strncmp("version=1\r\n", p, strlen("version=1\r\n")) == 0 || >> +                strncmp("v

Re: [Qemu-devel] [PATCH v3 09/12] VMDK: open/read/write for monolithicFlat image

2011-06-26 Thread Stefan Hajnoczi
On Mon, Jun 27, 2011 at 4:48 AM, Fam Zheng wrote: > Parse vmdk decriptor file and open mono flat image. > @@ -598,6 +600,154 @@ static int vmdk_open_vmdk4(BlockDriverState *bs, int > flags) >     return ret; >  } > > +/* find an option value out of descriptor file */ > +static int vmdk_parse_desc

Re: [Qemu-devel] [PATCH v3 03/12] VMDK: probe for monolithicFlat images

2011-06-26 Thread Stefan Hajnoczi
On Mon, Jun 27, 2011 at 4:48 AM, Fam Zheng wrote: > +            if (strncmp("version=1\n", p, strlen("version=1\n")) == 0 || > +                strncmp("version=1\r\n", p, strlen("version=1\r\n")) == 0 || > +                strncmp("version=2\n", p, strlen("version=2\n")) == 0 || > +            

Re: [Qemu-devel] [PATCH v3 04/12] VMDK: separate vmdk_open by format version

2011-06-26 Thread Stefan Hajnoczi
On Mon, Jun 27, 2011 at 4:48 AM, Fam Zheng wrote: > -        extent = s->extents; > -        extent->flat = false; > -        extent->file = bs->file; > -        extent->cluster_sectors = le32_to_cpu(header.granularity); > -        extent->l2_size = 1 << 9; > -        extent->l1_size = 1 << 6; > -

[Qemu-devel] [PATCH v3 11/12] VMDK: fix coding style

2011-06-26 Thread Fam Zheng
Conform coding style in vmdk.c to pass scripts/checkpatch.pl checks. Signed-off-by: Fam Zheng --- block/vmdk.c | 79 +++-- 1 files changed, 48 insertions(+), 31 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c index 94e486a..d9c781b 100

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-26 Thread Roy Tam
Hi, 2011/6/27 TeLeMan : > This patch breaks the compilation with --enable-vnc-png: > >  CC    ui/vnc-enc-tight.o > In file included from /usr/include/png.h:518, >                 from ui/vnc-enc-tight.c:34: > /usr/include/pngconf.h:371: error: expected '=', ',', ';', 'asm' or > '__attribute__' bef

[Qemu-devel] [PATCH v3 10/12] VMDK: create different subformats

2011-06-26 Thread Fam Zheng
Add create option 'format', with enums: monolithicSparse monolithicFlat twoGbMaxExtentSparse twoGbMaxExtentFlat Each creates a subformat image file. The default is monolithiSparse. Signed-off-by: Fam Zheng --- block/vmdk.c | 563 ++

[Qemu-devel] [PATCH v3 09/12] VMDK: open/read/write for monolithicFlat image

2011-06-26 Thread Fam Zheng
Parse vmdk decriptor file and open mono flat image. Read/write the flat extent. Signed-off-by: Fam Zheng --- block/vmdk.c | 182 + 1 files changed, 169 insertions(+), 13 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c index c5a02b3.

[Qemu-devel] [PATCH v3 08/12] VMDK: change get_cluster_offset return type

2011-06-26 Thread Fam Zheng
The return type of get_cluster_offset was an offset that use 0 to denote 'not allocated', this will be no longer true for flat extents, as we see flat extent file as a single huge cluster whose offset is 0 and length is the whole file length. So now we use int return value, 0 means success and othe

[Qemu-devel] [PATCH v3 07/12] VMDK: move 'static' cid_update flag to bs field

2011-06-26 Thread Fam Zheng
Cid_update is the flag for updating CID on first write after opening the image. This should be per image open rather than per program life cycle, so change it from static var of vmdk_write to a field in BDRVVmdkState. Signed-off-by: Fam Zheng --- block/vmdk.c |6 +++--- 1 files changed, 3 in

[Qemu-devel] [PATCH v3 12/12] BlockDriver: add bdrv_get_allocated_file_size() operation

2011-06-26 Thread Fam Zheng
qemu-img.c wants to count allocated file size of image. Previously it counts a single bs->file by 'stat' or Window API. As VMDK introduces multiple file support, the operation becomes format specific with platform specific meanwhile. The functions are moved to block/raw-{posix,win32}.c and qemu-im

[Qemu-devel] [PATCH v3 04/12] VMDK: separate vmdk_open by format version

2011-06-26 Thread Fam Zheng
Separate vmdk_open by subformats to: * vmdk_open_vmdk3 * vmdk_open_vmdk4 Signed-off-by: Fam Zheng --- block/vmdk.c | 255 -- 1 files changed, 177 insertions(+), 78 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c index 0517fdf..55b1e

[Qemu-devel] [PATCH v3 05/12] VMDK: add field BDRVVmdkState.desc_offset

2011-06-26 Thread Fam Zheng
There are several occurrence of magic number 0x200 as the descriptor offset within mono sparse image file. This is not the case for images with separate descriptor file. So a field is added to BDRVVmdkState to hold the correct value. Signed-off-by: Fam Zheng --- block/vmdk.c | 26 +

[Qemu-devel] [PATCH v3 06/12] VMDK: flush multiple extents

2011-06-26 Thread Fam Zheng
Flush all the file that referenced by the image. Signed-off-by: Fam Zheng --- block/vmdk.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c index 0b5d5fc..37239b5 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@ -1094,7 +1094,17 @@ s

[Qemu-devel] [PATCH v3 01/12] VMDK: introduce VmdkExtent

2011-06-26 Thread Fam Zheng
Introduced VmdkExtent array into BDRVVmdkState, enable holding multiple image extents for multiple file image support. Signed-off-by: Fam Zheng --- block/vmdk.c | 321 -- 1 files changed, 222 insertions(+), 99 deletions(-) diff --git a/bl

[Qemu-devel] [PATCH v3 02/12] VMDK: bugfix, align offset to cluster in get_whole_cluster

2011-06-26 Thread Fam Zheng
In get_whole_cluster, the offset is not aligned to cluster when reading from backing_hd. When the first write to child is not at the cluster boundary, wrong address data from parent is copied to child. Signed-off-by: Fam Zheng --- block/vmdk.c |8 +--- 1 files changed, 5 insertions(+), 3

[Qemu-devel] [PATCH v3 03/12] VMDK: probe for monolithicFlat images

2011-06-26 Thread Fam Zheng
Probe as the same behavior as VMware does. Recognize image as monolithicFlat descriptor file when the file is text and the first effective line (not '#' leaded comment or space line) is either 'version=1' or 'version=2'. No space or upper case charactors accepted. Signed-off-by: Fam Zheng --- bl

[Qemu-devel] [PATCH v3 00/12] Adding VMDK monolithic flat support

2011-06-26 Thread Fam Zheng
Changes from v2: [03/12]: string comparision and line ending improvements. [04/12]: introduced vmdk_add_extent. [06/12]: fix as comments of v1. [09/12]: use vmdk_add_extent in descriptor parsing. Fam Zheng (12): VMDK: introduce VmdkExtent VMDK: bugfix, align offset to cluster i

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-26 Thread TeLeMan
This patch breaks the compilation with --enable-vnc-png: CCui/vnc-enc-tight.o In file included from /usr/include/png.h:518, from ui/vnc-enc-tight.c:34: /usr/include/pngconf.h:371: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token /usr/include/pngconf.h

Re: [Qemu-devel] [PATCH RFC 0/3] basic support for composing sysbus devices

2011-06-26 Thread Paul Brook
> On Mon, Jun 20, 2011 at 6:23 PM, Paul Brook wrote: > >> > Yeah, that's why I said, "hard to do well". It makes it very hard to > >> > add new socket types. > >> > >> PCI, USB, IDE, SCSI, SBus, what else? APICBus? I2C? 8 socket types > >> ought to be enough for anybody. > > > > Off the top of

Re: [Qemu-devel] RFC: Qemu Guest Tools ISO

2011-06-26 Thread Natalia Portillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ok you're forgetting one thing: 90% of the devices we emulate are real physical ones. The drivers for those devices in non-opensource guests already exist, and most of the times prevent we distributing them (read the EULA). I think a "guest tools"

Re: [Qemu-devel] GSoC Intro - Intel Itanium (IA64) processor emulation

2011-06-26 Thread peter
> "Prashant" == Prashant Vaibhav writes: Prashant> Sorry I should have been more precise about that. I don't Prashant> mean a standalone disassembler (objdump should handle that), Prashant> I meant a simple instruction bundle decoder to decode the op Prashant> code, arguments, predicate etc.

[Qemu-devel] buildbot failure in qemu on disable_kvm_x86_64_out_of_tree

2011-06-26 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_x86_64_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_x86_64_out_of_tree/builds/138 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Buil

[Qemu-devel] buildbot failure in qemu on disable_kvm_x86_64_debian_5_0

2011-06-26 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_x86_64_debian_5_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_x86_64_debian_5_0/builds/141 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build:

[Qemu-devel] buildbot failure in qemu on disable_kvm_i386_out_of_tree

2011-06-26 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_i386_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_i386_out_of_tree/builds/138 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: y

[Qemu-devel] buildbot failure in qemu on disable_kvm_i386_debian_5_0

2011-06-26 Thread qemu
The Buildbot has detected a new failure on builder disable_kvm_i386_debian_5_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/disable_kvm_i386_debian_5_0/builds/138 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuz

[Qemu-devel] buildbot failure in qemu on default_x86_64_debian_5_0

2011-06-26 Thread qemu
The Buildbot has detected a new failure on builder default_x86_64_debian_5_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_x86_64_debian_5_0/builds/137 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki

[Qemu-devel] Benchmarking activities

2011-06-26 Thread Ben Vogler
Hi QEMU devel team, I work for Toyota Technical Centre Australia in the software department. We are currently conducting benchmarking on a broad spectrum of virtual platform simulators. I was wondering if I could ask you guys a few question about QEMU, however I understand if it is too much

[Qemu-devel] buildbot failure in qemu on default_i386_out_of_tree

2011-06-26 Thread qemu
The Buildbot has detected a new failure on builder default_i386_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_i386_out_of_tree/builds/137 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Bu

[Qemu-devel] buildbot failure in qemu on default_i386_debian_5_0

2011-06-26 Thread qemu
The Buildbot has detected a new failure on builder default_i386_debian_5_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_i386_debian_5_0/builds/138 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Buil

[Qemu-devel] buildbot failure in qemu on default_x86_64_out_of_tree

2011-06-26 Thread qemu
The Buildbot has detected a new failure on builder default_x86_64_out_of_tree while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_x86_64_out_of_tree/builds/137 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuk

Re: [Qemu-devel] [PATCH 01/12] TCG/HPPA: use TCG_REG_CALL_STACK instead of TCG_REG_SP

2011-06-26 Thread Richard Henderson
On 06/26/2011 12:20 PM, Blue Swirl wrote: > Use TCG_REG_CALL_STACK instead of TCG_REG_SP for consistency. > > Signed-off-by: Blue Swirl Acked-by: Richard Henderson r~

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-26 Thread Blue Swirl
On Sun, Jun 26, 2011 at 11:03 PM, Stefan Weil wrote: > Am 26.06.2011 20:06, schrieb Blue Swirl: >> >> On Thu, Jun 23, 2011 at 6:05 PM, Stefan Weil  wrote: >>> >>> Am 23.06.2011 15:52, schrieb Stefan Hajnoczi: On Sat, Jun 18, 2011 at 10:35:57AM +0200, Stefan Weil wrote: > > Am 18.

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-26 Thread Stefan Weil
Am 26.06.2011 20:06, schrieb Blue Swirl: On Thu, Jun 23, 2011 at 6:05 PM, Stefan Weil wrote: Am 23.06.2011 15:52, schrieb Stefan Hajnoczi: On Sat, Jun 18, 2011 at 10:35:57AM +0200, Stefan Weil wrote: Am 18.06.2011 07:13, schrieb Roy Tam: This patch fix conflicting types for 'INT32' in basets

[Qemu-devel] [PATCH 12/12] Remove temp_buf, rename CPU_TEMP_BUF_NLONGS

2011-06-26 Thread Blue Swirl
Remove now unused temp_buf from CPUState. Rename CPU_TEMP_BUF_NLONGS to TCG_TEMP_BUF_NLONGS. Signed-off-by: Blue Swirl --- cpu-defs.h |3 --- tcg/arm/tcg-target.c |6 +++--- tcg/hppa/tcg-target.c |2 +- tcg/i386/tcg-target.c |4 ++-- tcg/ia64/tcg-target.c |4

[Qemu-devel] [PATCH 08/12] TCG/PPC: use TCG_REG_CALL_STACK instead of TCG_REG_R1

2011-06-26 Thread Blue Swirl
Use TCG_REG_CALL_STACK instead of TCG_REG_R1 etc. for consistency. Signed-off-by: Blue Swirl --- tcg/ppc/tcg-target.c | 18 +++--- tcg/ppc64/tcg-target.c | 16 +--- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-t

[Qemu-devel] [PATCH 11/12] TCG/s390: use stack for TCG temps

2011-06-26 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl --- tcg/s390/tcg-target.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index e112052..c063509 100644 --- a/tcg/s390/tcg-target.

[Qemu-devel] [PATCH 10/12] TCG/s390: use TCG_REG_CALL_STACK instead of TCG_REG_R15

2011-06-26 Thread Blue Swirl
Use TCG_REG_CALL_STACK instead of TCG_REG_R15 for consistency. Signed-off-by: Blue Swirl --- tcg/s390/tcg-target.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index 2fc5646..e112052 100644 --- a/tcg/s390/tcg-target

[Qemu-devel] [PATCH 06/12] TCG/MIPS: use TCG_REG_CALL_STACK instead of TCG_REG_SP

2011-06-26 Thread Blue Swirl
Use TCG_REG_CALL_STACK instead of TCG_REG_SP for consistency. Signed-off-by: Blue Swirl --- tcg/mips/tcg-target.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index 12ff9d5..79e20fa 100644 --- a/tcg/mips/tcg-ta

[Qemu-devel] [PATCH 07/12] TCG/MIPS: use stack for TCG temps

2011-06-26 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl --- tcg/mips/tcg-target.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index 79e20fa..d536457 100644 --- a/tcg/mips/tcg-target.

[Qemu-devel] [PATCH 09/12] TCG/PPC: use stack for TCG temps

2011-06-26 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl --- tcg/ppc/tcg-target.c |7 +-- tcg/ppc64/tcg-target.c |7 +-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c index 5ab5d6d..10

[Qemu-devel] [PATCH 04/12] TCG/IA64: use TCG_REG_CALL_STACK instead of TCG_REG_R12

2011-06-26 Thread Blue Swirl
Use TCG_REG_CALL_STACK instead of TCG_REG_R12 for consistency. Signed-off-by: Blue Swirl --- tcg/ia64/tcg-target.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c index 6386a5b..e22e9b6 100644 --- a/tcg/ia64/tcg-targe

[Qemu-devel] [PATCH 03/12] TCG/ARM: use stack for TCG temps

2011-06-26 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl --- tcg/arm/tcg-target.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c index 93eb0f1..eacda6b 100644 --- a/tcg/arm/tcg-target.

[Qemu-devel] [PATCH 05/12] TCG/IA64: use stack for TCG temps

2011-06-26 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Blue Swirl --- tcg/ia64/tcg-target.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c index e22e9b6..528ae64 100644 --- a/tcg/ia64/tcg-targe

[Qemu-devel] [PATCH 02/12] TCG/HPPA: use stack for TCG temps

2011-06-26 Thread Blue Swirl
Use stack instead of temp_buf array in CPUState for TCG temps. Signed-off-by: Richard Henderson Signed-off-by: Blue Swirl --- tcg/hppa/tcg-target.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-target.c index bd40954..db33e

[Qemu-devel] [PATCH 01/12] TCG/HPPA: use TCG_REG_CALL_STACK instead of TCG_REG_SP

2011-06-26 Thread Blue Swirl
Use TCG_REG_CALL_STACK instead of TCG_REG_SP for consistency. Signed-off-by: Blue Swirl --- tcg/hppa/tcg-target.c | 30 -- 1 files changed, 16 insertions(+), 14 deletions(-) diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-target.c index 79bca63..bd40954 100644 --

[Qemu-devel] [PATCH 00/12] TCG stack frame patches, remainder

2011-06-26 Thread Blue Swirl
I pushed the AREG0 patches and stack frame patches for x86 and Sparc64. This series contains the remaining stack frame patches, also here: git://repo.or.cz/qemu/blueswirl.git Please test and Ack. Blue Swirl (12): TCG/HPPA: use TCG_REG_CALL_STACK instead of TCG_REG_SP TCG/HPPA: use stack for T

Re: [Qemu-devel] [V11 00/15] virtio-9p: Use chroot to safely access files in passthrough security model

2011-06-26 Thread Blue Swirl
On Fri, Jun 24, 2011 at 11:22 AM, M. Mohan Kumar wrote: > In passthrough security model, following symbolic links in the server > side could result in TOCTTOU vulnerabilities. > (http://en.wikipedia.org/wiki/Time-of-check-to-time-of-use) > > This patchset resolves this issue by creating a dedicate

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-26 Thread Blue Swirl
On Thu, Jun 23, 2011 at 6:05 PM, Stefan Weil wrote: > Am 23.06.2011 15:52, schrieb Stefan Hajnoczi: >> >> On Sat, Jun 18, 2011 at 10:35:57AM +0200, Stefan Weil wrote: >>> >>> Am 18.06.2011 07:13, schrieb Roy Tam: This patch fix conflicting types for 'INT32' in basetsd.h in including

Re: [Qemu-devel] [PATCH] Fix fallouts from Linux header inclusion

2011-06-26 Thread Blue Swirl
Thanks, applied. On Thu, Jun 23, 2011 at 11:05 AM, Jan Kiszka wrote: > From: Jan Kiszka > > This is an all-in-one fix for the smaller and bigger mistakes of the > build system changes for accompanied Linux headers: >  - only enable KVM and vhost on Linux hosts >  - fix powerpc asm header symlink

Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet?

2011-06-26 Thread Blue Swirl
On Fri, Jun 24, 2011 at 3:52 AM, Super Bisquit wrote: > The last time I asked, Blue Swirl was somewhat working on the port. > Has anything been improved since? I'm somewhat working on OpenBSD host support, not FreeBSD, but there shouldn't be great differences. What's the status on FreeBSD, does Q

Re: [Qemu-devel] [PATCH v2] Optimize screendump

2011-06-26 Thread Blue Swirl
On Thu, Jun 23, 2011 at 12:22 AM, Andreas Färber wrote: > Am 20.06.2011 um 15:11 schrieb Avi Kivity: > >> On 06/20/2011 03:33 PM, Jan Kiszka wrote: >>> >>> >  --- a/hw/vga.c >>> >  +++ b/hw/vga.c >>> >  @@ -2349,15 +2349,19 @@ int ppm_save(const char *filename, struct >>> > DisplaySurface *ds) >>

Re: [Qemu-devel] QEMU timing requirements

2011-06-26 Thread felix.matenaar@rwth-aachen
On 06/26/2011 06:49 AM, Mulyadi Santosa wrote: On Sun, Jun 26, 2011 at 05:29, felix.matenaar@rwth-aachen wrote: Think I found the problem. It was a bug in my code and because of some weird circumstances, backtrace and addresses seemed to be a segfault in a BBL. glad you find it. care to s

Re: [Qemu-devel] [PATCH 2/2] qxl: add QXL_IO_UPDATE_MEM for guest S3&S4 support

2011-06-26 Thread Alon Levy
On Sun, Jun 26, 2011 at 12:59:06PM -0400, Yonit Halperin wrote: > Sorry for the late response, wasn't available. > I'm afraid that (1) and (2) will indeed wakeup the worker, but will not > assure emptying the command ring, as it depends on the client pipe size. > I actually can't figure out wha

Re: [Qemu-devel] [PATCH] virtio-serial: Fix segfault on guest boot

2011-06-26 Thread Blue Swirl
On Wed, Jun 22, 2011 at 7:53 AM, Amit Shah wrote: > On (Sun) 19 Jun 2011 [00:43:20], Blue Swirl wrote: >> On Sat, Jun 18, 2011 at 6:42 AM, Amit Shah wrote: >> > On (Fri) 17 Jun 2011 [15:08:11], Luiz Capitulino wrote: >> > >> >> > >          if (!cpkt.value) { >> >> > > -            error_report("

Re: [Qemu-devel] [PATCH 2/2] qxl: add QXL_IO_UPDATE_MEM for guest S3&S4 support

2011-06-26 Thread Yonit Halperin
Sorry for the late response, wasn't available. I'm afraid that (1) and (2) will indeed wakeup the worker, but will not assure emptying the command ring, as it depends on the client pipe size. - Original Message - From: "Alon Levy" To: "Gerd Hoffmann" Cc: qemu-devel@nongnu.org, yhalp..

Re: [Qemu-devel] [PATCH 09/10] exec: remove unused variable

2011-06-26 Thread Stefan Hajnoczi
On Sun, Jun 26, 2011 at 12:08 PM, Michael S. Tsirkin wrote: > On Tue, Jun 14, 2011 at 08:36:26PM +0300, Michael S. Tsirkin wrote: >> Signed-off-by: Michael S. Tsirkin > > Any comments on this one? Juan Quintela's "exec: last_first_tb was only used in !ONLY_USER case" patch is equivalent and the

Re: [Qemu-devel] [PATCH 10/10] linux-user: remove unused variables

2011-06-26 Thread Michael S. Tsirkin
On Tue, Jun 14, 2011 at 08:36:33PM +0300, Michael S. Tsirkin wrote: > Signed-off-by: Michael S. Tsirkin Riku, could you fix this up in a way that makes sense please? All I really care about is that -Werror build passes with the latest gcc. -- MST

Re: [Qemu-devel] [PATCH 09/10] exec: remove unused variable

2011-06-26 Thread Michael S. Tsirkin
On Tue, Jun 14, 2011 at 08:36:26PM +0300, Michael S. Tsirkin wrote: > Signed-off-by: Michael S. Tsirkin Any comments on this one? > --- > exec.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/exec.c b/exec.c > index 81808f4..b784f08 100644 > --- a/exec.c > +++

[Qemu-devel] [PATCH] xen: move to new pci initializers

2011-06-26 Thread Michael S. Tsirkin
move ids to pci info structure Signed-off-by: Michael S. Tsirkin Untested. --- hw/xen_platform.c | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/hw/xen_platform.c b/hw/xen_platform.c index 9a01735..f43e175 100644 --- a/hw/xen_platform.c +++ b/hw/xen_platf

[Qemu-devel] [PATCH] pci_ids: tweak names to match linux/pci_ids.h

2011-06-26 Thread Michael S. Tsirkin
Sync xen names to ones used by linux. Add xen platform device id as well. Signed-off-by: Michael S. Tsirkin --- hw/pci_ids.h |3 ++- hw/xen_platform.c |8 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hw/pci_ids.h b/hw/pci_ids.h index d94578c..b49c602 10064

Re: [Qemu-devel] [PATCH RESEND 1/3] xen: Add the Xen platform pci device

2011-06-26 Thread Michael S. Tsirkin
On Thu, Jun 16, 2011 at 05:05:17PM +0100, stefano.stabell...@eu.citrix.com wrote: > diff --git a/hw/pci_ids.h b/hw/pci_ids.h > index d9457ed..d94578c 100644 > --- a/hw/pci_ids.h > +++ b/hw/pci_ids.h > @@ -109,3 +109,5 @@ > #define PCI_DEVICE_ID_INTEL_82371AB 0x7111 > #define PCI_DEVICE_ID_I

Re: [Qemu-devel] Image streaming gives live block copy for free (and vice versa)

2011-06-26 Thread Dor Laor
On 06/24/2011 12:35 PM, Stefan Hajnoczi wrote: On Sun, Jun 19, 2011 at 5:12 PM, Dor Laor wrote: On 06/17/2011 08:53 AM, Stefan Hajnoczi wrote: Perhaps someone has been saying this all along but I want to spell it out that image streaming and live block copy are equivalent in theory. I just re

Re: [Qemu-devel] Image streaming and live block copy

2011-06-26 Thread Dor Laor
On 06/24/2011 12:28 PM, Stefan Hajnoczi wrote: On Sun, Jun 19, 2011 at 5:02 PM, Dor Laor wrote: On 06/18/2011 12:17 PM, Stefan Hajnoczi wrote: On Sat, Jun 18, 2011 at 10:15 AM, Stefan Hajnoczi wrote: On Fri, Jun 17, 2011 at 1:31 PM, Marcelo Tosatti wrote: On Thu, Jun 16, 2011 at 04:30

Re: [Qemu-devel] [PATCH] Correct spelling of licensed

2011-06-26 Thread Andreas Färber
Am 26.06.2011 um 04:21 schrieb Matthew Fernandez: Correct typos of "licenced" to "licensed". Signed-off-by: Matthew Fernandez Reviewed-by: Andreas Färber BTW some of the files refer to "the GPL" or "the LGPL". Does that mean version 1.0 or any version? Andreas

Re: [Qemu-devel] [PATCH v2 0/3] io-thread optimizations

2011-06-26 Thread Jan Kiszka
On 2011-06-26 00:44, Andreas Färber wrote: > Am 25.06.2011 um 10:38 schrieb Jan Kiszka: > >> On 2011-04-13 22:16, Aurelien Jarno wrote: >>> On Mon, Apr 11, 2011 at 10:27:41PM +0200, Jan Kiszka wrote: These patches were posted before. They bring down the overhead of the io-thread mode for

Re: [Qemu-devel] [PATCH] usb-hid: Fix 0/0 position for Windows in tablet mode

2011-06-26 Thread Jan Kiszka
On 2011-06-25 15:10, Andreas Färber wrote: > Am 25.06.2011 um 14:55 schrieb Jan Kiszka: > >> On 2011-06-25 14:37, Andreas Färber wrote: >>> Am 24.06.2011 um 16:27 schrieb Jan Kiszka: >>> For unknown reasons, Windows drivers (tested with XP and Win7) ignore usb-tablet events that move the