[Qemu-devel] [PATCH] docs/specs/fw_cfg.txt: Add fw_cfg documentation

2011-04-03 Thread Jordan Justen
This initial version covers the generic portions of fw_cfg and the x86/x86-64 architecture specific portions of fw_cfg. Signed-off-by: Jordan Justen --- docs/specs/fw_cfg.txt | 168 + 1 files changed, 168 insertions(+), 0 deletions(-) create mode

Re: [Qemu-devel] [PATCH] ioapic: when switches to level trigger mode, interrupts raised repeatedly.

2011-04-03 Thread Aurelien Jarno
On Mon, Apr 04, 2011 at 08:42:07AM +0900, Isaku Yamahata wrote: > Thank you for applying. But I found that the patch is wrong and > I'm preparing the new one. Can you please revert it? Reverted for now, I'll ait for some comments on the new patch. > On Sun, Apr 03, 2011 at 09:53:14PM +0200, Aurel

Re: [Qemu-devel] [PATCH V1 6/8] Add measurement code to the BIOS

2011-04-03 Thread Kevin O'Connor
On Wed, Mar 30, 2011 at 01:55:40PM -0400, Stefan Berger wrote: > This patch adds invocactions of functions that measure various parts of the > code and data through various parts of the BIOS code. It follows TCG > specifications on what needs to be measured. It also adds the implementation > of the

[Qemu-devel] [PATCH] Fix non-portable format string in usb-ccid.c

2011-04-03 Thread David Gibson
At one point, usb-ccid.c attempts to use a %lX format specifier to print a uint64_t, which is only correct on some host platforms. This patch corrects the statement to use the stdint specified PRIX64 constant instead. Signed-off-by: David Gibson --- hw/usb-ccid.c |2 +- 1 files changed, 1 i

Re: [Qemu-devel] [PATCH V1 5/8] Support for BIOS interrupt handler

2011-04-03 Thread Kevin O'Connor
On Wed, Mar 30, 2011 at 01:55:39PM -0400, Stefan Berger wrote: > This patch implements the TCG BIOS interrupt handler 1ah. It is for > example used by trusted grub. [...] > +/*** > + Calculation of SHA1 in SW > + > + See: http://www.

Re: [Qemu-devel] [PATCH V1 2/8] Provide ACPI SSDT table for TPM device + S3 resume support

2011-04-03 Thread Kevin O'Connor
On Wed, Mar 30, 2011 at 01:55:36PM -0400, Stefan Berger wrote: > This patch provides ACPI support for the TPM device. It probes for the TPM > device and only if a TPM device is found then the TPM's SSDT and TCPA table > are created. This patch also connects them to the RSDT. [...] > // Space to re

Re: [Qemu-devel] [PATCH V1 3/8] Implementation of the TCG BIOS extensions

2011-04-03 Thread Kevin O'Connor
Hi Stefan, I haven't had a chance to fully review, but I do have some comments. On Wed, Mar 30, 2011 at 01:55:37PM -0400, Stefan Berger wrote: [...] > - a utility function called mssleep is added. It waits for a number > of milliseconds before it returns. I had tried to build a function > lik

Re: [Qemu-devel] [PATCH 06/27] Correct ppc popcntb logic, implement popcntw and popcntd

2011-04-03 Thread David Gibson
On Fri, Apr 01, 2011 at 08:02:24PM +0200, Alexander Graf wrote: > On 01.04.2011, at 19:58, Aurelien Jarno wrote: > > On Fri, Apr 01, 2011 at 03:15:13PM +1100, David Gibson wrote: [snip] > >> +target_ulong helper_popcntd (target_ulong val) > >> +{ > >> +val = (val & 0xULL) + ((va

Re: [Qemu-devel] [PATCH] ioapic: when switches to level trigger mode, interrupts raised repeatedly.

2011-04-03 Thread Isaku Yamahata
On Mon, Apr 04, 2011 at 08:42:07AM +0900, Isaku Yamahata wrote: > Thank you for applying. But I found that the patch is wrong and > I'm preparing the new one. Can you please revert it? Here is the corrected patch. The first wrong patch clears the interrupts bit unconditionally. Which caused losing

Re: [Qemu-devel] git.qemu.org problem, down?

2011-04-03 Thread Anthony Liguori
On 04/03/2011 03:06 PM, Stefan Weil wrote: Am 03.04.2011 21:55, schrieb Gerhard Wiesinger: On Sun, 3 Apr 2011, Anthony Liguori wrote: On 04/03/2011 12:46 PM, Gerhard Wiesinger wrote: Hello, I'm having problems accessing git.qemu.org since days. Is it moved or down? No, you can git pull/pu

Re: [Qemu-devel] [PATCH] ioapic: when switches to level trigger mode, interrupts raised repeatedly.

2011-04-03 Thread Isaku Yamahata
Thank you for applying. But I found that the patch is wrong and I'm preparing the new one. Can you please revert it? On Sun, Apr 03, 2011 at 09:53:14PM +0200, Aurelien Jarno wrote: > On Wed, Mar 16, 2011 at 06:05:01PM +0900, Isaku Yamahata wrote: > > - the trigger mode is edge at first > > - Durin

Re: [Qemu-devel] Help Debugging AIX boot on qemu-system-ppc (it reads bootfile.exe now)

2011-04-03 Thread Kenneth Salerno
--- On Sun, 4/3/11, Kenneth Salerno wrote: > From: Kenneth Salerno > Subject: Re: [Qemu-devel] Help Debugging AIX boot on qemu-system-ppc (it > reads bootfile.exe now) > To: "malc" > Cc: qemu-devel@nongnu.org > Date: Sunday, April 3, 2011, 11:29 AM > --- On Sun, 4/3/11, malc > wrote: > > > F

Re: [Qemu-devel] [PATCH 00/19] s390x emulation support

2011-04-03 Thread Alexander Graf
On 04.04.2011, at 00:37, Aurelien Jarno wrote: > On Tue, Mar 29, 2011 at 03:29:27PM +0200, Alexander Graf wrote: >> We've had support for running s390x guests with KVM for a >> while now. This patch set also enables support for running >> s390x guests in system as well as linux-user mode in emula

Re: [Qemu-devel] [PATCH 00/19] s390x emulation support

2011-04-03 Thread Aurelien Jarno
On Tue, Mar 29, 2011 at 03:29:27PM +0200, Alexander Graf wrote: > We've had support for running s390x guests with KVM for a > while now. This patch set also enables support for running > s390x guests in system as well as linux-user mode in emulation! > > Within this scope, I again want to stress t

Re: [Qemu-devel] [PATCH] w32: Fix compilation (wrong include file)

2011-04-03 Thread Aurelien Jarno
On Sun, Apr 03, 2011 at 08:55:35AM +0200, Stefan Weil wrote: > arpa/inet.h is not available for w32, so commit > edbb21363fbfe40e050f583df921484cbc31c79d breaks > w32 compilations. > > This is fixed by using qemu_socket.h. > > Cc: Alon Levy > Signed-off-by: Stefan Weil > --- > hw/ccid-card-pas

Re: [Qemu-devel] [PATCH] register signal handler after initializing SDL.

2011-04-03 Thread Aurelien Jarno
On Thu, Mar 31, 2011 at 11:27:23AM +0200, Gleb Natapov wrote: > SDL library initialization mangles signal handlers, so QEMU should > register them after initializing SDL. This was the case before and code > even have a comment about that. Fix it to be so again. > > Signed-off-by: Gleb Natapov >

Re: [Qemu-devel] [PATCH] vl.c: Tidy up message printed when we exit on a signal

2011-04-03 Thread Aurelien Jarno
On Wed, Mar 30, 2011 at 10:03:38PM +0100, Peter Maydell wrote: > Tidy up the message printed when qemu exits due to a signal, so that > it's clearer where the message is coming from and that it's not just > stray debug output. > > Signed-off-by: Peter Maydell > --- > vl.c | 11 +-- > 1

Re: [Qemu-devel] [PATCH] net: Remove unused net-checksum.c file

2011-04-03 Thread Aurelien Jarno
On Mon, Mar 28, 2011 at 10:00:30PM +0100, Stefan Hajnoczi wrote: > The common checksum functions were moved to net/checksum.c in commit > 7200ac3c7c8eefe574193b49eeff09f120e11ec7 but the original net-checksum.c > was never deleted from the source tree. Remove it now since all users > of the checks

Re: [Qemu-devel] [PATCH] e1000: Mask out lower bits of RDBAL/TDBAL

2011-04-03 Thread Aurelien Jarno
On Sat, Mar 26, 2011 at 07:37:56PM +0100, Kevin Wolf wrote: > Rx and Tx descriptors are 16 byte aligned, so the lower bits are > ignored by real hardware. In fact, they always read back as zero on real > hardware, but probably nobody relies on that. > > Signed-off-by: Kevin Wolf > --- > hw/e1000

[Qemu-devel] Memory Access Hooking Howto

2011-04-03 Thread felix.matenaar@rwth-aachen
Hi, since some people independently asked me if I got memory access tracing working, here is how one can do it for the archive: I did this on a 64bit Host with a 32bit x86 Guest Patch tcg/tcg-op.h: tcg_gen_qemu_ld* functions are responsible to read from memory tcg_gen_qemu_st* functions are respo

Re: [Qemu-devel] MIPS64 user mode emulation Patch

2011-04-03 Thread Aurelien Jarno
On Sat, Mar 26, 2011 at 11:58:37AM +0500, Khansa Butt wrote: > From cd88be1263d0fc9802cd4dd358ed0299c0d106b0 Mon Sep 17 00:00:00 2001 > From: Khansa Butt & Ehsan-ul-Haq > Date: Sat, 26 Mar 2011 11:53:11 +0500 > Subject: [PATCH] MIPS64 user mode emulation in QEMU > This patch adds support for Cavi

Re: [Qemu-devel] [PATCH] gdbstub: Catch and report more vmstop reasons

2011-04-03 Thread Aurelien Jarno
On Tue, Mar 22, 2011 at 11:02:09AM +0100, Jan Kiszka wrote: > When the VM goes into stop state while there is a gdb frontend attached, > it makes sense to inform gdb about this fact and at least a bit about > the stop reason. Basically, all stops are interesting except for the > temporary VMSTOP_SA

[Qemu-devel] [PATCH] hw/pflash_cfi02: Fix lazy reset of ROMD mode

2011-04-03 Thread Jordan Justen
When checking pfl->rom_mode for when to lazily reenter ROMD mode, the value was check was the opposite of what it should have been. This prevent the part from returning to ROMD mode after a write was made to the CFI rom region. Signed-off-by: Jordan Justen --- hw/pflash_cfi02.c |2 +- 1 file

Re: [Qemu-devel] git.qemu.org problem, down?

2011-04-03 Thread Stefan Weil
Am 03.04.2011 21:55, schrieb Gerhard Wiesinger: On Sun, 3 Apr 2011, Anthony Liguori wrote: On 04/03/2011 12:46 PM, Gerhard Wiesinger wrote: Hello, I'm having problems accessing git.qemu.org since days. Is it moved or down? No, you can git pull/push from it just fine. It's just not running

[Qemu-devel] Re: [PATCH] tests/cris: Fix some errors and potential crashes

2011-04-03 Thread Edgar E. Iglesias
On Sun, Apr 03, 2011 at 09:36:36PM +0200, Stefan Weil wrote: > These errors were reported by cppcheck: > > tests/cris/check_openpf1.c:30: error: > Mismatching allocation and deallocation: f > > tests/cris/check_openpf2.c:13: error: > Mismatching allocation and deallocation: f > > tests/cris/chec

Re: [Qemu-devel] git.qemu.org problem, down?

2011-04-03 Thread Gerhard Wiesinger
On Sun, 3 Apr 2011, Anthony Liguori wrote: On 04/03/2011 12:46 PM, Gerhard Wiesinger wrote: Hello, I'm having problems accessing git.qemu.org since days. Is it moved or down? No, you can git pull/push from it just fine. It's just not running a git browser ATM. git pull fatal: http://git.

Re: [Qemu-devel] [PATCH] ioapic: when switches to level trigger mode, interrupts raised repeatedly.

2011-04-03 Thread Aurelien Jarno
On Wed, Mar 16, 2011 at 06:05:01PM +0900, Isaku Yamahata wrote: > - the trigger mode is edge at first > - During initializatoin, the interrupt is raised as edge which is masked. > The corresponding bit of irr is set. > - Then the mode is switched to level and it's unmasked. > - the bit of irr is

Re: [Qemu-devel] [PATCH] hw/pflash_cfi02: Fix lazy reset of ROMD mode

2011-04-03 Thread Aurelien Jarno
On Mon, Mar 14, 2011 at 02:10:58PM -0700, jordan.l.jus...@intel.com wrote: > From: Jordan Justen > > When checking pfl->rom_mode for when to lazily reenter ROMD mode, > the value was check was the opposite of what it should have been. > This prevent the part from returning to ROMD mode after a wr

Re: [Qemu-devel] git.qemu.org problem, down?

2011-04-03 Thread Anthony Liguori
On 04/03/2011 12:46 PM, Gerhard Wiesinger wrote: Hello, I'm having problems accessing git.qemu.org since days. Is it moved or down? No, you can git pull/push from it just fine. It's just not running a git browser ATM. Regards, Anthony Liguori Thnx. Ciao, Gerhard -- http://www.wiesing

Re: [Qemu-devel] [PATCH RESEND(REBASED)] Fix trivial "endianness bugs"

2011-04-03 Thread Aurelien Jarno
On Sun, Mar 13, 2011 at 03:44:02PM +0100, Stefan Weil wrote: > Replace endianess -> endianness. > > Signed-off-by: Stefan Weil > --- > audio/sdlaudio.c | 20 ++-- > block/vdi.c |4 ++-- > target-microblaze/translate.c |2 +- > target-mips/

[Qemu-devel] [PATCH] tests/cris: Fix some errors and potential crashes

2011-04-03 Thread Stefan Weil
These errors were reported by cppcheck: tests/cris/check_openpf1.c:30: error: Mismatching allocation and deallocation: f tests/cris/check_openpf2.c:13: error: Mismatching allocation and deallocation: f tests/cris/check_stat3.c:16: error: Buffer overrun possible for long cmd-line args tests/cris

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-03 Thread Stefan Hajnoczi
On Sun, Apr 3, 2011 at 2:12 PM, Blue Swirl wrote: > On Sun, Apr 3, 2011 at 2:57 PM, Stefan Hajnoczi wrote: >> On Tue, Mar 29, 2011 at 8:04 PM, Stefan Hajnoczi >> wrote: >>> Piggy-back on the guest CD-ROM polling to poll on the host.  Open and >>> close the host CD-ROM file descriptor to ensure w

[Qemu-devel] git.qemu.org problem, down?

2011-04-03 Thread Gerhard Wiesinger
Hello, I'm having problems accessing git.qemu.org since days. Is it moved or down? Thnx. Ciao, Gerhard -- http://www.wiesinger.com/

[Qemu-devel] [Bug 749522] [NEW] qemu-system-arm reads wrong entry in L1 page table for cortex-a8

2011-04-03 Thread Anup Patel
Public bug reported: target-arm/helper.c:920 [current] table |= (address >> 18) & 0x3ffc [fix] table |= (address >> 20) & 0xfff ** Affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed

[Qemu-devel] [PATCH] darwin-user: Remove unneeded null pointer check

2011-04-03 Thread Stefan Weil
cppcheck reports this error: commpage.c:223: error: Possible null pointer dereference: value - otherwise it is redundant to check if value is null at line 214 The null pointer check in line 214 is indeed not needed. If value were null, the code would crash in line 223. See do_compare_and_swap64 w

[Qemu-devel] [PATCH] spapr_vscsi: Set uninitialized variable

2011-04-03 Thread Stefan Weil
cppcheck reports this error: hw/spapr_vscsi.c:274: error: Uninitialized variable: rc If llen == 0, rc was indeed used without being initialized. Signed-off-by: Stefan Weil --- hw/spapr_vscsi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/spapr_vscsi.c b/hw/spapr

Re: [Qemu-devel] [PATCH 01/10] target-arm: Make Neon helper routines use correct FP status

2011-04-03 Thread Aurelien Jarno
On Sun, Apr 03, 2011 at 04:32:51PM +0100, Peter Maydell wrote: > On 3 April 2011 16:12, Aurelien Jarno wrote: > > On Sun, Apr 03, 2011 at 12:21:49PM +0100, Peter Maydell wrote: > >> Anyway, how about I do a version of this patch which moves > >> the affected neon helpers to op_helper.c rather than

Re: [Qemu-devel] [PATCH 00/10] [PULL] ARM Neon fixes

2011-04-03 Thread Aurelien Jarno
On Fri, Apr 01, 2011 at 03:30:33PM +0100, Peter Maydell wrote: > This is a pull request for a set of patches fixing various minor Neon > problems for ARM targets, which I sent to the list a couple of weeks ago. > A few of them got reviewed-by Nathan, one had some minor discussion which > didn't amo

Re: [Qemu-devel] [PATCH v3 2/2] hw/vexpress.c: Add model of ARM Versatile Express board

2011-04-03 Thread Aurelien Jarno
On Mon, Mar 07, 2011 at 11:10:32AM +, Peter Maydell wrote: > Add a model of the ARM Versatile Express board (with A9MPx4 > daughterboard). > > Signed-off-by: Peter Maydell > --- > Makefile.target |1 + > hw/vexpress.c | 224 > +++ >

Re: [Qemu-devel] Help Debugging AIX boot on qemu-system-ppc (it reads bootfile.exe now)

2011-04-03 Thread Kenneth Salerno
--- On Sun, 4/3/11, malc wrote: > From: malc > Subject: Re: [Qemu-devel] Help Debugging AIX boot on qemu-system-ppc (it > reads bootfile.exe now) > To: "Kenneth Salerno" > Cc: qemu-devel@nongnu.org > Date: Sunday, April 3, 2011, 12:13 AM > On Sat, 2 Apr 2011, Kenneth Salerno > wrote: > > > Hi

Re: [Qemu-devel] [PATCH 01/10] target-arm: Make Neon helper routines use correct FP status

2011-04-03 Thread Peter Maydell
On 3 April 2011 16:12, Aurelien Jarno wrote: > On Sun, Apr 03, 2011 at 12:21:49PM +0100, Peter Maydell wrote: >> Anyway, how about I do a version of this patch which moves >> the affected neon helpers to op_helper.c rather than adding >> an env parameter >> Then I can do a separate patchset to mo

Re: [Qemu-devel] [PATCH 01/10] target-arm: Make Neon helper routines use correct FP status

2011-04-03 Thread Aurelien Jarno
On Sun, Apr 03, 2011 at 12:21:49PM +0100, Peter Maydell wrote: > On 3 April 2011 12:10, Blue Swirl wrote: > > On Sun, Apr 3, 2011 at 1:51 PM, Peter Maydell > > wrote: > >> But I can submit a patch to do that if it's the right thing. > > > > It's not so much about correctness, but performance. Al

Re: [Qemu-devel] [PATCH] fix build errors when we enable acpi_piix4 debug

2011-04-03 Thread Aurelien Jarno
On Sat, Apr 02, 2011 at 08:41:28AM +0900, Isaku Yamahata wrote: > Sorry for late comment after the commit. > PRIx64 shouldn't be used instead of cast? It what I thought first, but given the port number is a small 16-bit value, the cast is probably as good as the PRIx64. Also part of the already ex

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-03 Thread Blue Swirl
On Sun, Apr 3, 2011 at 2:57 PM, Stefan Hajnoczi wrote: > On Tue, Mar 29, 2011 at 8:04 PM, Stefan Hajnoczi > wrote: >> Piggy-back on the guest CD-ROM polling to poll on the host.  Open and >> close the host CD-ROM file descriptor to ensure we read the new size and >> not a stale size. >> >> Two th

Re: [Qemu-devel] I want to emulate Android's goldfish on QEMU, but first: How to familiarize with QEMU's source code and design?

2011-04-03 Thread Pantelis Koukousoulas
On Sat, Apr 2, 2011 at 10:56 PM, AKA wrote: > Hi guys. [...] > What I have tried so far to understand the source code > > Diffs: I made a Diff of the Android emulator code base and the corresponding > QEMU 0.10.x (lots of changes) and to a newer QEMU (it's easier to enumerate > what has not change

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-03 Thread Stefan Hajnoczi
On Tue, Mar 29, 2011 at 8:04 PM, Stefan Hajnoczi wrote: > Piggy-back on the guest CD-ROM polling to poll on the host.  Open and > close the host CD-ROM file descriptor to ensure we read the new size and > not a stale size. > > Two things are going on here: > > 1. If hald/udisks is not already poll

Re: [Qemu-devel] [PATCH 01/10] target-arm: Make Neon helper routines use correct FP status

2011-04-03 Thread Blue Swirl
On Sun, Apr 3, 2011 at 2:21 PM, Peter Maydell wrote: > On 3 April 2011 12:10, Blue Swirl wrote: >> On Sun, Apr 3, 2011 at 1:51 PM, Peter Maydell >> wrote: >>> But I can submit a patch to do that if it's the right thing. >> >> It's not so much about correctness, but performance. All generated >>

[Qemu-devel] Re: [PATCH 2/9] eepro100: Fix endianness issues

2011-04-03 Thread Michael S. Tsirkin
On Fri, Apr 01, 2011 at 07:52:52PM +0200, Stefan Weil wrote: > [snip] > > Thank you for your review, especially for the hints at lduw_phys > and potential alignment issues. I'll apply them to a new version > of this patch. > > There was already a function without prefix (stl_le_phys), > and the n

Re: [Qemu-devel] Project: x86 to ARM binary translator

2011-04-03 Thread Blue Swirl
On Sat, Apr 2, 2011 at 3:12 AM, Yale Zhang wrote: > Fellow developers, > I'm thinking of starting a VM project to allow running x86 Windows apps on > ARM Android. This will obviously involve binary translation. I've read about > QEMU's  tiny code generator and think for a usable experience, >  the

[Qemu-devel] [PATCH] ide: consolidate drive_get(IF_IDE)

2011-04-03 Thread Isaku Yamahata
factor out ide initialization to call drive_get(IF_IDE) Signed-off-by: Isaku Yamahata --- hw/ide.h |3 +++ hw/ide/core.c | 14 ++ hw/mips_fulong2e.c |9 + hw/mips_malta.c| 10 +- hw/mips_r4k.c | 10 +- hw/pc_piix.c |

Re: [Qemu-devel] [PATCH 01/10] target-arm: Make Neon helper routines use correct FP status

2011-04-03 Thread Peter Maydell
On 3 April 2011 12:10, Blue Swirl wrote: > On Sun, Apr 3, 2011 at 1:51 PM, Peter Maydell > wrote: >> But I can submit a patch to do that if it's the right thing. > > It's not so much about correctness, but performance. All generated > code already has access to global env, so passing it via help

Re: [Qemu-devel] [PATCH 01/10] target-arm: Make Neon helper routines use correct FP status

2011-04-03 Thread Blue Swirl
On Sun, Apr 3, 2011 at 1:51 PM, Peter Maydell wrote: > On 3 April 2011 10:41, Blue Swirl wrote: >> On Sat, Apr 2, 2011 at 1:33 AM, Peter Maydell >> wrote: >>> Nobody seemed to have a coherent rule about when functions >>> should be in op_helper.c and use the global 'env' variable >>> and when t

Re: [Qemu-devel] [PATCH 01/10] target-arm: Make Neon helper routines use correct FP status

2011-04-03 Thread Peter Maydell
On 3 April 2011 10:41, Blue Swirl wrote: > On Sat, Apr 2, 2011 at 1:33 AM, Peter Maydell > wrote: >> Nobody seemed to have a coherent rule about when functions >> should be in op_helper.c and use the global 'env' variable >> and when they should be in some other file and have 'env' >> passed as

Re: [Qemu-devel] [PATCH] Register only one qbus_reset_all_fn() for system bus

2011-04-03 Thread Isaku Yamahata
On Sat, Apr 02, 2011 at 06:47:37PM +0400, Dmitry Eremin-Solenikov wrote: > On 4/2/11, Isaku Yamahata wrote: > >> Have you verified that all bus devices have been qdevified since this > >> code has been added? I wouldn't bet it is the case. > > > > I think his analysis is valid. So how about the fo

[Qemu-devel] Re: [PATCH] w32: Fix compilation of new code

2011-04-03 Thread Blue Swirl
On Sun, Apr 3, 2011 at 12:41 PM, Stefan Weil wrote: > Am 03.04.2011 11:10, schrieb Blue Swirl: >> >> On Thu, Mar 31, 2011 at 11:58 PM, Stefan Weil >> wrote: >>> >>> Some recently added new code did not compile for w32 targets. >>> >>> The functions qemu_iohandler_fill and qemu_iohandler_poll need

Re: [Qemu-devel] [PATCH 01/10] target-arm: Make Neon helper routines use correct FP status

2011-04-03 Thread Blue Swirl
On Sat, Apr 2, 2011 at 1:33 AM, Peter Maydell wrote: > On 1 April 2011 19:29, Blue Swirl wrote: >> On Fri, Apr 1, 2011 at 5:30 PM, Peter Maydell >> wrote: >>> Make the Neon helper routines use the correct FP status from >>> the CPUEnv rather than using a dummy static one. This means >>> they wi

[Qemu-devel] Re: [PATCH] w32: Fix compilation of new code

2011-04-03 Thread Stefan Weil
Am 03.04.2011 11:10, schrieb Blue Swirl: On Thu, Mar 31, 2011 at 11:58 PM, Stefan Weil wrote: Some recently added new code did not compile for w32 targets. The functions qemu_iohandler_fill and qemu_iohandler_poll need data type fd_set which is declared in winsock2.h for w32 targets. Moving t

Re: [Qemu-devel] [PATCH V2 4/9] Add tpm_tis driver to build process

2011-04-03 Thread Blue Swirl
On Fri, Apr 1, 2011 at 10:57 PM, Stefan Berger wrote: > On 04/01/2011 02:14 PM, Blue Swirl wrote: >> >> On Wed, Mar 30, 2011 at 10:42 PM, Stefan Berger >>  wrote: >>> >>> The TPM interface (tpm_tis) needs to be explicitly enabled via >>> ./configure --enable-tpm. This restricts the building of th

[Qemu-devel] Re: [PATCH] w32: Fix compilation of new code

2011-04-03 Thread Blue Swirl
On Thu, Mar 31, 2011 at 11:58 PM, Stefan Weil wrote: > Some recently added new code did not compile for w32 targets. > > The functions qemu_iohandler_fill and qemu_iohandler_poll need > data type fd_set which is declared in winsock2.h for w32 targets. > > Moving the functions from qemu-common.h to

[Qemu-devel] [PATCH v2] Improve accuracy of block migration bandwidth calculation

2011-04-03 Thread Avishay Traeger
Revised patch for improving the accuracy of the block migration bandwidth calculation. Thanks a lot to Michael Roth for the input. For those that missed the original patch, here is the description: block_mig_state.total_time is currently the sum of the read request latencies. This is not very a

[Qemu-devel] Re: [PATCH] w32: Fix compilation (wrong include file)

2011-04-03 Thread Alon Levy
On Sun, Apr 03, 2011 at 08:55:35AM +0200, Stefan Weil wrote: > arpa/inet.h is not available for w32, so commit > edbb21363fbfe40e050f583df921484cbc31c79d breaks > w32 compilations. > > This is fixed by using qemu_socket.h. > Thanks, missed that. Reviewed-by: Alon Levy > Cc: Alon Levy > Signe

Re: [Qemu-devel] GSoC: Improved image format compatibility

2011-04-03 Thread Stefan Hajnoczi
On Sat, Apr 2, 2011 at 8:03 PM, Lyu Mitnick wrote: > Hello Stefan, > I have take a look at block.c. But I am a little confused about the meaning > of synchronous/asynchronous i/o. I know the two concept in a operating > system.  However I am not sure whether it is analogous in virtual machine. Yo