Re: [Qemu-devel] [RFC PATCH 5/7] vl.c: added -kerndtb option

2012-01-23 Thread Andreas Färber
Hi Peter, Am 24.01.2012 08:35, schrieb Peter Crosthwaite: > Thanks for that, I will rename the switch to -kernel-dtb. > > You are correct that 7/7 should have the usage in it, that patch was > incorrectly generated, I will regenerate and resend the series tomorrow > for another review cycle. Jus

Re: [Qemu-devel] [RFC PATCH 5/7] vl.c: added -kerndtb option

2012-01-23 Thread Peter Crosthwaite
Hi Andreas, Thanks for that, I will rename the switch to -kernel-dtb. You are correct that 7/7 should have the usage in it, that patch was incorrectly generated, I will regenerate and resend the series tomorrow for another review cycle. Regards. Peter On Tue, Jan 24, 2012 at 5:22 PM, Andreas F

Re: [Qemu-devel] [RFC PATCH 5/7] vl.c: added -kerndtb option

2012-01-23 Thread Andreas Färber
Am 23.01.2012 08:20, schrieb Peter A. G. Crosthwaite: > Added linux specific kernel dtb option. This option can be specified to inject > an argument device tree blob (dtb) into linux. > > Signed-off-by: Peter A. G. Crosthwaite > --- > qemu-options.hx |3 +++ > vl.c|4 >

Re: [Qemu-devel] buildbot failure in qemu on block_x86_64_debian_6_0

2012-01-23 Thread Andreas Färber
Am 24.01.2012 04:12, schrieb q...@buildbot.b1-systems.de: > The Buildbot has detected a new failure on builder block_x86_64_debian_6_0 > while building qemu. > Full details are available at: > > http://buildbot.b1-systems.de/qemu/builders/block_x86_64_debian_6_0/builds/162 > > Buildbot URL: htt

[Qemu-devel] buildbot failure in qemu on block_x86_64_debian_6_0

2012-01-23 Thread qemu
The Buildbot has detected a new failure on builder block_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/block_x86_64_debian_6_0/builds/162 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Buil

[Qemu-devel] buildbot failure in qemu on block_i386_debian_6_0

2012-01-23 Thread qemu
The Buildbot has detected a new failure on builder block_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/block_i386_debian_6_0/builds/162 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build Re

Re: [Qemu-devel] [RFC PATCH 4/7] cadence_gem: first revision

2012-01-23 Thread John Linn
> -Original Message- > From: Peter A. G. Crosthwaite [mailto:peter.crosthwa...@petalogix.com] > Sent: Sunday, January 22, 2012 11:21 PM > To: qemu-devel@nongnu.org; mon...@monstr.eu; > john.willi...@petalogix.com; peter.crosthwa...@petalogix.com; > edgar.igles...@petalogix.com; Duy Le; John

Re: [Qemu-devel] [RFC PATCH 3/7] cadence_wdt: first revision

2012-01-23 Thread John Linn
> -Original Message- > From: Peter A. G. Crosthwaite [mailto:peter.crosthwa...@petalogix.com] > Sent: Sunday, January 22, 2012 11:21 PM > To: qemu-devel@nongnu.org; mon...@monstr.eu; > john.willi...@petalogix.com; peter.crosthwa...@petalogix.com; > edgar.igles...@petalogix.com; Duy Le; John

Re: [Qemu-devel] [RFC PATCH 2/7] cadence ttc: first revision

2012-01-23 Thread John Linn
> -Original Message- > From: Peter A. G. Crosthwaite [mailto:peter.crosthwa...@petalogix.com] > Sent: Sunday, January 22, 2012 11:20 PM > To: qemu-devel@nongnu.org; mon...@monstr.eu; > john.willi...@petalogix.com; peter.crosthwa...@petalogix.com; > edgar.igles...@petalogix.com; Duy Le; John

Re: [Qemu-devel] [RFC PATCH 1/7] cadence_uart: first revision

2012-01-23 Thread John Linn
> -Original Message- > From: Peter A. G. Crosthwaite [mailto:peter.crosthwa...@petalogix.com] > Sent: Sunday, January 22, 2012 11:20 PM > To: qemu-devel@nongnu.org; mon...@monstr.eu; > john.willi...@petalogix.com; peter.crosthwa...@petalogix.com; > edgar.igles...@petalogix.com; Duy Le; John

[Qemu-devel] [Bug 920772] [NEW] Win98SE glitches RHEL6.2/CentOS6.2 QEMU

2012-01-23 Thread starlight
Public bug reported: I'm not sure if this is something anyone will be interested in, but I ran into some glitches setting up a Windows 98 SE QEMU VM with a relatively recent version. Needed this to restore an ancient backup and got it working well enough to get the job done. Versions D

[Qemu-devel] buildbot failure in qemu on block_openbsd_current

2012-01-23 Thread qemu
The Buildbot has detected a new failure on builder block_openbsd_current while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/block_openbsd_current/builds/117 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: brad_openbsd_cur

[Qemu-devel] buildbot failure in qemu on block_openbsd_4.9

2012-01-23 Thread qemu
The Buildbot has detected a new failure on builder block_openbsd_4.9 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/block_openbsd_4.9/builds/105 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_openbsd49 Build

[Qemu-devel] buildbot failure in qemu on block_mingw32

2012-01-23 Thread qemu
The Buildbot has detected a new failure on builder block_mingw32 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/block_mingw32/builds/105 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_rhel61 Build Reason: The

Re: [Qemu-devel] [Qemu-ppc] [PATCH] PPC: Pseries: Check for PCI boundaries

2012-01-23 Thread David Gibson
On Wed, Jan 18, 2012 at 07:28:33PM +0200, Michael S. Tsirkin wrote: > On Wed, Jan 18, 2012 at 05:24:50PM +0100, Alexander Graf wrote: > > We call pci_host_config_{read,write}_common() which perform PCI config > > accesses. However they don't do all limit checking the way we expect > > it to. > > >

[Qemu-devel] buildbot failure in qemu on default_ppc

2012-01-23 Thread qemu
The Buildbot has detected a new failure on builder default_ppc while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_ppc/builds/284 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: qemu-ppc.opensuse.org Build Reason:

[Qemu-devel] buildbot failure in qemu on default_s390

2012-01-23 Thread qemu
The Buildbot has detected a new failure on builder default_s390 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_s390/builds/139 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: qemu-s390.opensuse.org Build Reas

Re: [Qemu-devel] [PATCH 7/8] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Scott Wood
On 01/23/2012 03:29 PM, Alexander Graf wrote: > > > On 23.01.2012, at 21:10, Scott Wood wrote: > >> If TLB0 has TLBnCFG[AVAIL] set, then with this patch you'll be raising >> an exception rather than setting the size to the minimum. >> >> If TLB0 does not have TLBnCFG[AVAIL] set, you'll be letti

Re: [Qemu-devel] [RFC][PATCH] signrom: Speed up checksum calculation

2012-01-23 Thread Stefan Weil
On 01/23/2012 02:32 PM, Jan Kiszka wrote: On 2012-01-23 21:08, Anthony Liguori wrote: I've been thinking that we could potentially rewrite a large chunk (all?) of configure in python too since we have such a hard dependency now. [snip] However, I will now write signrom.py. That's much shorte

Re: [Qemu-devel] [PATCH 7/8] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Alexander Graf
On 23.01.2012, at 21:10, Scott Wood wrote: > On 01/23/2012 02:03 PM, Alexander Graf wrote: >> >> >> On 23.01.2012, at 19:49, Scott Wood wrote: >> >>> On 01/23/2012 12:41 PM, Alexander Graf wrote: >> For tlb0 on e500 and derivatives, tsize is explicitly documented as >> ignored. Sof

Re: [Qemu-devel] [PATCH 1/7] qemu-ga: move channel/transport functionality into wrapper class

2012-01-23 Thread Michael Roth
On 01/23/2012 02:24 PM, Anthony Liguori wrote: On 01/23/2012 08:21 AM, Michael Roth wrote: This is monstly in preparation for the win32 port, which won't use GIO channels for reasons that will be made clearer later. Here the GAChannel class is just a loose wrapper around GIOChannel calls/callbac

Re: [Qemu-devel] [PATCH 1/7] qemu-ga: move channel/transport functionality into wrapper class

2012-01-23 Thread Anthony Liguori
On 01/23/2012 02:24 PM, Anthony Liguori wrote: On 01/23/2012 08:21 AM, Michael Roth wrote: This is monstly in preparation for the win32 port, which won't use GIO channels for reasons that will be made clearer later. Here the GAChannel class is just a loose wrapper around GIOChannel calls/callbac

Re: [Qemu-devel] [RFC][PATCH] signrom: Speed up checksum calculation

2012-01-23 Thread Anthony Liguori
On 01/23/2012 02:32 PM, Jan Kiszka wrote: On 2012-01-23 21:08, Anthony Liguori wrote: On 01/23/2012 01:25 PM, Stefan Weil wrote: Am 23.01.2012 20:19, schrieb Jan Kiszka: On 2012-01-23 20:16, Stefan Weil wrote: Am 23.01.2012 19:38, schrieb Jan Kiszka: [snip] What about replacing the whole s

Re: [Qemu-devel] [RFC][PATCH] signrom: Speed up checksum calculation

2012-01-23 Thread Jan Kiszka
On 2012-01-23 21:08, Anthony Liguori wrote: > On 01/23/2012 01:25 PM, Stefan Weil wrote: >> Am 23.01.2012 20:19, schrieb Jan Kiszka: >>> On 2012-01-23 20:16, Stefan Weil wrote: Am 23.01.2012 19:38, schrieb Jan Kiszka: >> [snip] What about replacing the whole script by a python script

Re: [Qemu-devel] [PATCH 1/7] qemu-ga: move channel/transport functionality into wrapper class

2012-01-23 Thread Anthony Liguori
On 01/23/2012 08:21 AM, Michael Roth wrote: This is monstly in preparation for the win32 port, which won't use GIO channels for reasons that will be made clearer later. Here the GAChannel class is just a loose wrapper around GIOChannel calls/callbacks, but we also roll the logic/configuration for

[Qemu-devel] [PATCH] hyperv: fix build on non-KVM hosts

2012-01-23 Thread Blue Swirl
Signed-off-by: Blue Swirl --- Maybe a better fix would be to allow hyperv to be used also on TCG. --- Makefile.target |2 +- target-i386/hyperv.h |4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.target b/Makefile.target index 092565a..69193d4 100644

Re: [Qemu-devel] [PATCH 7/8] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Scott Wood
On 01/23/2012 02:03 PM, Alexander Graf wrote: > > > On 23.01.2012, at 19:49, Scott Wood wrote: > >> On 01/23/2012 12:41 PM, Alexander Graf wrote: > For tlb0 on e500 and derivatives, tsize is explicitly documented as > ignored. Software may rely on this. Yup, that's why there's the

Re: [Qemu-devel] [RFC][PATCH] signrom: Speed up checksum calculation

2012-01-23 Thread Anthony Liguori
On 01/23/2012 01:25 PM, Stefan Weil wrote: Am 23.01.2012 20:19, schrieb Jan Kiszka: On 2012-01-23 20:16, Stefan Weil wrote: Am 23.01.2012 19:38, schrieb Jan Kiszka: [snip] What about replacing the whole script by a python script? That would save about 6 more forks :-) I think we have no py

Re: [Qemu-devel] [PATCH 7/8] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Alexander Graf
On 23.01.2012, at 19:49, Scott Wood wrote: > On 01/23/2012 12:41 PM, Alexander Graf wrote: For tlb0 on e500 and derivatives, tsize is explicitly documented as ignored. Software may rely on this. >>> Yup, that's why there's the check for TLBnCG_AVAIL, which indicates that >>> a TLB ha

Re: [Qemu-devel] [PATCH 1/2] qdev: Introduce lost tick policy property

2012-01-23 Thread Daniel P. Berrange
On Mon, Jan 23, 2012 at 08:15:11PM +0100, Jan Kiszka wrote: > Potentially tick-generating timer devices will gain a common property: > lock_tick_policy. It allows to encode 4 different ways how to deal with > tick events the guest did not process in time: > > discard - ignore lost ticks (e.g. if t

Re: [Qemu-devel] [RFC][PATCH] signrom: Speed up checksum calculation

2012-01-23 Thread Stefan Weil
Am 23.01.2012 20:19, schrieb Jan Kiszka: On 2012-01-23 20:16, Stefan Weil wrote: Am 23.01.2012 19:38, schrieb Jan Kiszka: [snip] What about replacing the whole script by a python script? That would save about 6 more forks :-) I think we have no python dependency in the build system yet - wh

Re: [Qemu-devel] [PATCH 0/2] Generic tick reinjection control

2012-01-23 Thread Anthony Liguori
On 01/23/2012 01:15 PM, Jan Kiszka wrote: QEMU currently supports lost tick compensation for the periodic RTC timer. It is controlled via -rtc driftfix=slew|none. However, the next periodic timer with compensation qualities is approaching: KVM's in-kernel PIT. A previous discussion [1] showed th

Re: [Qemu-devel] [RFC][PATCH] signrom: Speed up checksum calculation

2012-01-23 Thread Jan Kiszka
On 2012-01-23 20:16, Stefan Weil wrote: > Am 23.01.2012 19:38, schrieb Jan Kiszka: >> Forking an expr process for every byte of the input data slows down the >> checksum calculation massively. Fix this while still remaining portable >> by implementing the algorithm in awk. >> >> Signed-off-by: Jan

Re: [Qemu-devel] [RFC][PATCH] signrom: Speed up checksum calculation

2012-01-23 Thread Stefan Weil
Am 23.01.2012 19:38, schrieb Jan Kiszka: Forking an expr process for every byte of the input data slows down the checksum calculation massively. Fix this while still remaining portable by implementing the algorithm in awk. Signed-off-by: Jan Kiszka --- That "remaining portable" is an unproven c

[Qemu-devel] [PATCH 2/2] mc146818rtc: Use lost_tick_policy property

2012-01-23 Thread Jan Kiszka
Allow to configure the MC146818 RTC via the new lost tick policy property and replace rtc_td_hack with this mechanism. Signed-off-by: Jan Kiszka --- hw/mc146818rtc.c | 26 +++--- sysemu.h |1 - vl.c | 28 +++- 3 files change

[Qemu-devel] [PATCH 1/2] qdev: Introduce lost tick policy property

2012-01-23 Thread Jan Kiszka
Potentially tick-generating timer devices will gain a common property: lock_tick_policy. It allows to encode 4 different ways how to deal with tick events the guest did not process in time: discard - ignore lost ticks (e.g. if the guest compensates for them already) delay - replay all

[Qemu-devel] [PATCH 0/2] Generic tick reinjection control

2012-01-23 Thread Jan Kiszka
QEMU currently supports lost tick compensation for the periodic RTC timer. It is controlled via -rtc driftfix=slew|none. However, the next periodic timer with compensation qualities is approaching: KVM's in-kernel PIT. A previous discussion [1] showed that we need to introduce per device control.

Re: [Qemu-devel] [PATCH 7/8] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Scott Wood
On 01/23/2012 12:41 PM, Alexander Graf wrote: >>> For tlb0 on e500 and derivatives, tsize is explicitly documented as >>> ignored. Software may rely on this. >> Yup, that's why there's the check for TLBnCG_AVAIL, which indicates that >> a TLB has dynamic page size capabilities, which TLB0 does not

Re: [Qemu-devel] [PATCH 7/8] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Alexander Graf
On 01/23/2012 07:19 PM, Scott Wood wrote: On 01/23/2012 11:33 AM, Alexander Graf wrote: On 01/23/2012 06:32 PM, Scott Wood wrote: On 01/20/2012 10:15 PM, Alexander Graf wrote: @@ -4273,6 +4274,16 @@ void helper_booke206_tlbwe(void) tlb->mas1&= ~MAS1_IPROT; } +/* check th

[Qemu-devel] [RFC][PATCH] signrom: Speed up checksum calculation

2012-01-23 Thread Jan Kiszka
Forking an expr process for every byte of the input data slows down the checksum calculation massively. Fix this while still remaining portable by implementing the algorithm in awk. Signed-off-by: Jan Kiszka --- That "remaining portable" is an unproven claim. So please check that problematic Net

[Qemu-devel] [PATCH] optionroms: Silence intermediate file removal

2012-01-23 Thread Jan Kiszka
The build process of optionroms spits out an "rm ..." line. Moreover, it removes all .o files that can be handy for debugging purposes. Disable automatic intermediate removal and only clean up the unneeded and large .img and .raw files. Signed-off-by: Jan Kiszka --- pc-bios/optionrom/Makefile |

Re: [Qemu-devel] [PATCH] Remove O_NOATIME flag from 9pfs open() calls in readonly mode

2012-01-23 Thread Daniel P. Berrange
Any thoughts on this fix ? Read-only mode is pretty useless without it for non-root users. Daniel On Mon, Jan 16, 2012 at 06:11:40PM +, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > When 2c74c2cb4bedddbfa67628fbd5f9273b4e0e9903 added support for > the 'readonly' flag against 9

[Qemu-devel] [PATCH v3 1/2] ./configure: request pkg-config to provide private libs when static linking

2012-01-23 Thread Sergei Trofimovich
From: Sergei Trofimovich Added wrapper around pkg-config to allow: - safe options injection via ${QEMU_PKG_CONFIG_FLAGS} - spaces in path to pkg-config Signed-off-by: Sergei Trofimovich --- configure | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/configure b

Re: [Qemu-devel] [PULL] VirtFS update

2012-01-23 Thread Aneesh Kumar K.V
On Mon, 23 Jan 2012 11:05:25 -0600, Anthony Liguori wrote: > On 01/23/2012 07:02 AM, Aneesh Kumar K.V wrote: > > > > > > The following changes since commit 8c4ec5c0269bda18bb777a64b2008088d1c632dc: > > > >pxa2xx_keypad: fix unbalanced parenthesis. (2012-01-17 02:14:42 +0100) > > > > are availa

Re: [Qemu-devel] [PATCH 7/8] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Scott Wood
On 01/23/2012 11:33 AM, Alexander Graf wrote: > On 01/23/2012 06:32 PM, Scott Wood wrote: >> On 01/20/2012 10:15 PM, Alexander Graf wrote: >>> @@ -4273,6 +4274,16 @@ void helper_booke206_tlbwe(void) >>> tlb->mas1&= ~MAS1_IPROT; >>> } >>> >>> +/* check that we support the targete

Re: [Qemu-devel] [PATCH] scsi: restrict buffer length to req->cmd.xfer for responses to INQUIRY commands.

2012-01-23 Thread Thomas Higdon
On Mon, Jan 23, 2012 at 12:47:54PM -0500, Paolo Bonzini wrote: > On 01/23/2012 06:15 PM, Thomas Higdon wrote: > > This prevents the emulated SCSI device from trying to DMA more bytes to the > > initiator than are expected. Without this, the SCRIPTS code in the emulated > > LSI > > device eventuall

Re: [Qemu-devel] [Android-virt] [PATCH 10/12] Add Cortex-A15 CPU definition

2012-01-23 Thread Peter Maydell
Ping. Unless anybody has any review comments on this or patch 9 (generic timer dummy implementation) I plan to put them into my target-arm.next queue and send out a pullreq later this week. -- PMM On 13 January 2012 20:52, Peter Maydell wrote: > Add a definition of a Cortex-A15 CPU. Note that fo

Re: [Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI

2012-01-23 Thread Eric Blake
On 01/21/2012 03:03 AM, Ronnie Sahlberg wrote: > This patch adds configuration variables for iSCSI to set > initiator-name to use when logging in to the target, > which type of header-digest to negotiate with the target > and username and password for CHAP authentication. > > This allows specifyin

Re: [Qemu-devel] [PATCH v2 1/2] ./configure: request pkg-config to provide private libs when static linking

2012-01-23 Thread Peter Maydell
On 23 January 2012 17:44, Sergei Trofimovich wrote: > @@ -234,7 +234,11 @@ ld="${LD-${cross_prefix}ld}" >  libtool="${LIBTOOL-${cross_prefix}libtool}" >  strip="${STRIP-${cross_prefix}strip}" >  windres="${WINDRES-${cross_prefix}windres}" > -pkg_config="${PKG_CONFIG-${cross_prefix}pkg-config}" > +

Re: [Qemu-devel] [PATCH 2/3] VCPU hotplug support

2012-01-23 Thread Jan Kiszka
On 2012-01-23 17:29, Igor Mammedov wrote: > On 01/17/2012 03:17 PM, Jan Kiszka wrote: >> On 2012-01-17 14:17, Igor Mammedov wrote: >>> Rebase of the missing bits from qemu-kvm for vcpu hotplug >> >> Description, please. Please try to split up, at least into PIIX4 >> preparations and "the rest". May

Re: [Qemu-devel] [PATCH] scsi: restrict buffer length to req->cmd.xfer for responses to INQUIRY commands.

2012-01-23 Thread Paolo Bonzini
On 01/23/2012 06:15 PM, Thomas Higdon wrote: This prevents the emulated SCSI device from trying to DMA more bytes to the initiator than are expected. Without this, the SCRIPTS code in the emulated LSI device eventually raises a DMA interrupt for a data overrun when an INQUIRY command whose buflen

Re: [Qemu-devel] [PATCH 00/20] [PULL] qemu-kvm.git uq/master queue

2012-01-23 Thread Anthony Liguori
On 01/20/2012 11:26 AM, Marcelo Tosatti wrote: The following changes since commit 8c4ec5c0269bda18bb777a64b2008088d1c632dc: pxa2xx_keypad: fix unbalanced parenthesis. (2012-01-17 02:14:42 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/

Re: [Qemu-devel] [PULL] PReP patch queue 2012-01-20

2012-01-23 Thread Anthony Liguori
On 01/19/2012 05:35 PM, Andreas Färber wrote: Hello, Please pull the PowerPC Reference Platform (PReP) queue into qemu.git master. The following changes since commit 515689235c4c3d9c3f0406ddcdd21ed8da77062b: Merge remote-tracking branch 'spice/spice.v47' into staging (2012-01-19 12:51:02 -

Re: [Qemu-devel] [PATCH v14 6/6] arm: SoC model for Calxeda Highbank

2012-01-23 Thread Peter Maydell
On 23 January 2012 16:05, Mark Langsdorf wrote: > From: Rob Herring > > Adds support for Calxeda's Highbank SoC. > > Signed-off-by: Rob Herring > Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell ...and we're done! I've pulled these patches into my target-arm.next and arm-devs.next tr

Re: [Qemu-devel] [PATCH 00/14] softfloat: Use POSIX integer types - benchmarked

2012-01-23 Thread Andreas Färber
Am 20.01.2012 14:05, schrieb Peter Maydell: > On 16 January 2012 00:46, Andreas Färber wrote: >> For a loop count of 100,000 and 5 runs I got the following results: >> >> current:138.9-204.1 Whetstone-MIPS >> [u]int*_t: 185.2-188.7 Whetstone-MIPS >> [u]int_fast*_t: 285.7-294.1 Whet

[Qemu-devel] [PATCH v2 1/2] ./configure: request pkg-config to provide private libs when static linking

2012-01-23 Thread Sergei Trofimovich
From: Sergei Trofimovich Added wrapper around pkg-config to allow: - safe options injection via ${QEMU_PKG_CONFIG_FLAGS} - spaces in path to pkg-config Signed-off-by: Sergei Trofimovich --- configure | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/configure b

[Qemu-devel] KVM call agenda for Tuesday 24

2012-01-23 Thread Markus Armbruster
Please send in any agenda items you are interested in covering. Cheers, Markus

Re: [Qemu-devel] [PATCH v14 5/6] arm: store the config_base_register during cpu_reset

2012-01-23 Thread Peter Maydell
On 23 January 2012 16:05, Mark Langsdorf wrote: > Long term, the config_base_register will be a QDM parameter. In the > meantime, models that use it need to be able to preserve it across > cpu_reset() calls. > > Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell -- PMM

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Anthony Liguori
On 01/23/2012 11:31 AM, Jan Kiszka wrote: On 2012-01-23 18:18, Anthony Liguori wrote: On 01/23/2012 11:13 AM, Jan Kiszka wrote: To reply to your previous question more clearly: at restore time Qemu on Xen would run in a non-standard scenario; the restore of the RAM happens before QEMU is even s

Re: [Qemu-devel] [PATCH 7/8] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Alexander Graf
On 01/23/2012 06:32 PM, Scott Wood wrote: On 01/20/2012 10:15 PM, Alexander Graf wrote: @@ -4273,6 +4274,16 @@ void helper_booke206_tlbwe(void) tlb->mas1&= ~MAS1_IPROT; } +/* check that we support the targeted size */ +size_tlb = (tlb->mas1& MAS1_TSIZE_MASK)>> MAS1_TSI

Re: [Qemu-devel] [PATCH 6/8] PPC: booke: add tlbnps handling

2012-01-23 Thread Alexander Graf
On 01/23/2012 06:29 PM, Scott Wood wrote: On 01/20/2012 10:15 PM, Alexander Graf wrote: +/* returns bitmap of supported page sizes for a given TLB */ +static inline uint32_t booke206_tlbnps(CPUState *env, const int tlbn) +{ +bool mav2 = false; +uint32_t ret = 0; + +if (mav2) { +

Re: [Qemu-devel] [PATCH 7/8] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Scott Wood
On 01/20/2012 10:15 PM, Alexander Graf wrote: > @@ -4273,6 +4274,16 @@ void helper_booke206_tlbwe(void) > tlb->mas1 &= ~MAS1_IPROT; > } > > +/* check that we support the targeted size */ > +size_tlb = (tlb->mas1 & MAS1_TSIZE_MASK) >> MAS1_TSIZE_SHIFT; > +size_ps = booke2

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Jan Kiszka
On 2012-01-23 18:18, Anthony Liguori wrote: > On 01/23/2012 11:13 AM, Jan Kiszka wrote: > To reply to your previous question more clearly: at restore time Qemu on > Xen would run in a non-standard scenario; the restore of the RAM happens > before QEMU is even started. > > That i

Re: [Qemu-devel] [PATCH] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Alexander Graf
On 01/23/2012 06:28 PM, Scott Wood wrote: On 01/20/2012 08:43 PM, Alexander Graf wrote: Am 20.01.2012 um 21:01 schrieb Scott Wood: I'm not sure what happens when you write an entry to TLB1 with an invalid TSIZE. What it says, the ISA means it's implementation dependent. What e500mc actually

Re: [Qemu-devel] [PATCH 6/8] PPC: booke: add tlbnps handling

2012-01-23 Thread Scott Wood
On 01/20/2012 10:15 PM, Alexander Graf wrote: > +/* returns bitmap of supported page sizes for a given TLB */ > +static inline uint32_t booke206_tlbnps(CPUState *env, const int tlbn) > +{ > +bool mav2 = false; > +uint32_t ret = 0; > + > +if (mav2) { > +ret = env->spr[SPR_BOOKE_T

Re: [Qemu-devel] [PATCH] PPC: booke206: Check for min/max TLB entry size

2012-01-23 Thread Scott Wood
On 01/20/2012 08:43 PM, Alexander Graf wrote: > > > Am 20.01.2012 um 21:01 schrieb Scott Wood : >> I'm not sure what happens when you write >> an entry to TLB1 with an invalid TSIZE. > > What it says, the ISA means it's implementation dependent. What e500mc > actually implements is an different

[Qemu-devel] [PATCH v2 4/5] vfio: VFIO core IOMMU mapping support

2012-01-23 Thread Alex Williamson
Backing for operations on the IOMMU object, including DMA mapping and unmapping. Signed-off-by: Alex Williamson --- drivers/vfio/vfio_iommu.c | 611 + 1 files changed, 611 insertions(+), 0 deletions(-) create mode 100644 drivers/vfio/vfio_iommu.c d

[Qemu-devel] [PATCH v2 5/5] vfio: VFIO core Kconfig and Makefile

2012-01-23 Thread Alex Williamson
Enable the base code. Signed-off-by: Alex Williamson --- MAINTAINERS |8 drivers/Kconfig |2 ++ drivers/Makefile |1 + drivers/vfio/Kconfig |8 drivers/vfio/Makefile |3 +++ 5 files changed, 22 insertions(+), 0 deletions(-) create mod

[Qemu-devel] [PATCH v2 3/5] vfio: VFIO core group interface

2012-01-23 Thread Alex Williamson
This provides the base group management with conduits to the IOMMU driver and VFIO bus drivers. Signed-off-by: Alex Williamson --- drivers/vfio/vfio_main.c| 1248 +++ drivers/vfio/vfio_private.h | 36 + 2 files changed, 1284 insertions(+), 0 deletio

[Qemu-devel] [PATCH v2 2/5] vfio: VFIO core header

2012-01-23 Thread Alex Williamson
This defines both the user and bus driver APIs. Signed-off-by: Alex Williamson --- Documentation/ioctl/ioctl-number.txt |1 include/linux/vfio.h | 395 ++ 2 files changed, 396 insertions(+), 0 deletions(-) create mode 100644 include/linux/v

[Qemu-devel] [PATCH v2 1/5] vfio: Introduce documentation for VFIO driver

2012-01-23 Thread Alex Williamson
Including rationale for design, example usage and API description. Signed-off-by: Alex Williamson --- Documentation/vfio.txt | 359 1 files changed, 359 insertions(+), 0 deletions(-) create mode 100644 Documentation/vfio.txt diff --git a/Docum

[Qemu-devel] [PATCH v2 0/5] VFIO core framework

2012-01-23 Thread Alex Williamson
This series includes the core framework for the VFIO driver. VFIO is a userspace driver interface meant to replace both the KVM device assignment code as well as interfaces like UIO. Please see patch 1/5 for a complete description of VFIO, what it can do, and how it's designed. This series can al

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Anthony Liguori
On 01/23/2012 11:13 AM, Jan Kiszka wrote: To reply to your previous question more clearly: at restore time Qemu on Xen would run in a non-standard scenario; the restore of the RAM happens before QEMU is even started. That is unfortunate but it would be very hard to change (I can give you more de

[Qemu-devel] [PATCH] scsi: restrict buffer length to req->cmd.xfer for responses to INQUIRY commands.

2012-01-23 Thread Thomas Higdon
This prevents the emulated SCSI device from trying to DMA more bytes to the initiator than are expected. Without this, the SCRIPTS code in the emulated LSI device eventually raises a DMA interrupt for a data overrun when an INQUIRY command whose buflen exceeds req->cmd.xfer is processed. It's the r

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Jan Kiszka
On 2012-01-23 17:16, Stefano Stabellini wrote: > On Mon, 23 Jan 2012, Jan Kiszka wrote: >> On 2012-01-23 15:46, Stefano Stabellini wrote: >>> On Mon, 23 Jan 2012, Jan Kiszka wrote: On 2012-01-23 12:59, Stefano Stabellini wrote: > On Mon, 23 Jan 2012, Jan Kiszka wrote: Or what is t

Re: [Qemu-devel] [PULL] VirtFS update

2012-01-23 Thread Anthony Liguori
On 01/23/2012 07:02 AM, Aneesh Kumar K.V wrote: The following changes since commit 8c4ec5c0269bda18bb777a64b2008088d1c632dc: pxa2xx_keypad: fix unbalanced parenthesis. (2012-01-17 02:14:42 +0100) are available in the git repository at: git://github.com/kvaneesh/QEMU.git for-upstream f

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Anthony Liguori
On 01/23/2012 11:05 AM, Stefano Stabellini wrote: On Mon, 23 Jan 2012, Anthony Liguori wrote: However the issue of patch #4, "do not reset videoram on resume", still remains: no matter what parameter I pass to Qemu, if qemu_system_reset is called on resume the videoram is going to be overwritten

Re: [Qemu-devel] [Qemu-ppc] [PATCH v2 0/3] UniNorth PCI cleanups

2012-01-23 Thread Alexander Graf
On 01/19/2012 06:40 PM, Andreas Färber wrote: Hello Alex, Here's an 80-char fixed version of the qdev renaming for Anthony plus two more cleanups. More to follow. Thanks, applied all to ppc-next. Alex

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Stefano Stabellini
On Mon, 23 Jan 2012, Anthony Liguori wrote: > On 01/23/2012 10:46 AM, Stefano Stabellini wrote: > > On Mon, 23 Jan 2012, Anthony Liguori wrote: > >> On 01/23/2012 04:47 AM, Stefano Stabellini wrote: > >>> On Fri, 20 Jan 2012, Jan Kiszka wrote: > On 2012-01-20 18:20, Stefano Stabellini wrote: >

Re: [Qemu-devel] [PATCH v2 07/10] block: add a transfer rate for floppy types

2012-01-23 Thread Blue Swirl
On Mon, Jan 23, 2012 at 08:51, Kevin Wolf wrote: > Am 21.01.2012 20:02, schrieb Blue Swirl: >> On Mon, Jan 16, 2012 at 10:18, Kevin Wolf wrote: >>> Am 15.01.2012 08:51, schrieb Hervé Poussineau: Floppies must be read at a specific transfer rate, depending of its own format. Update

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Anthony Liguori
On 01/23/2012 10:46 AM, Stefano Stabellini wrote: On Mon, 23 Jan 2012, Anthony Liguori wrote: On 01/23/2012 04:47 AM, Stefano Stabellini wrote: On Fri, 20 Jan 2012, Jan Kiszka wrote: On 2012-01-20 18:20, Stefano Stabellini wrote: Hi all, this is the fourth version of the Xen save/restore patc

[Qemu-devel] [PATCH] PPC: booke206: Implement tlbilx

2012-01-23 Thread Alexander Graf
The PowerPC 2.06 BookE ISA defines an opcode called "tlbilx" which is used to flush TLB entries. It's the recommended way of flushing in virtualized environments. So far we got away without implementing it, but Linux for e500mc uses this instruction, so we better add it :). Signed-off-by: Alexand

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Stefano Stabellini
On Mon, 23 Jan 2012, Anthony Liguori wrote: > On 01/23/2012 04:47 AM, Stefano Stabellini wrote: > > On Fri, 20 Jan 2012, Jan Kiszka wrote: > >> On 2012-01-20 18:20, Stefano Stabellini wrote: > >>> Hi all, > >>> this is the fourth version of the Xen save/restore patch series. > >>> We have been disc

[Qemu-devel] Adding -dtb option to qemu

2012-01-23 Thread Grant Likely
Hey Peter, I need some advice. I'm adding a -dtb option to qemu for specifying a dtb filename to be passed on to the kernel, similar to how the -initrd flag works. The dtb filename needs to then be passed on to the selected machine, and it looks like the machine->init() callback is the best way

Re: [Qemu-devel] [PATCH] usb-ehci: Clear the portstatus powner bit on device disconnect

2012-01-23 Thread Gerd Hoffmann
On 01/23/12 17:12, Andreas Färber wrote: > Am 23.01.2012 15:51, schrieb Gerd Hoffmann: >> On 01/13/12 14:28, Hans de Goede wrote: >>> According to the EHCI spec port ownerhsip should revert to the EHCI >>> controller > > ownership Fixed. thanks, Gerd

Re: [Qemu-devel] [PATCH 2/3] VCPU hotplug support

2012-01-23 Thread Igor Mammedov
On 01/17/2012 03:17 PM, Jan Kiszka wrote: On 2012-01-17 14:17, Igor Mammedov wrote: Rebase of the missing bits from qemu-kvm for vcpu hotplug Description, please. Please try to split up, at least into PIIX4 preparations and "the rest". Maybe also a patch for a generic CPU hotplug infrastructur

[Qemu-devel] [PATCH v14 0/6] arm: add support for Calxeda Highbank

2012-01-23 Thread Mark Langsdorf
This patch series adds support for the Calxeda Highbank SoC. Makefile.target |2 + hw/arm-misc.h | 17 ++ hw/arm_boot.c | 65 ++-- hw/highbank.c | 330 hw/ide/ahci.c | 44 ++ hw/xgmac.c | 421 +++

[Qemu-devel] [PATCH v14 3/6] arm: add secondary cpu boot callbacks to arm_boot.c

2012-01-23 Thread Mark Langsdorf
Create two functions, write_secondary_boot() and secondary_cpu_reset_hook(), to allow platforms more control of how secondary CPUs are brought up. The new functions default to NULL and aren't called unless they are populated so there are no changes to existing platform models. Signed-off-by: Mark

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Anthony Liguori
On 01/23/2012 10:16 AM, Stefano Stabellini wrote: On Mon, 23 Jan 2012, Jan Kiszka wrote: On 2012-01-23 15:46, Stefano Stabellini wrote: On Mon, 23 Jan 2012, Jan Kiszka wrote: On 2012-01-23 12:59, Stefano Stabellini wrote: On Mon, 23 Jan 2012, Jan Kiszka wrote: Or what is the ordering of init

[Qemu-devel] [PATCH v14 5/6] arm: store the config_base_register during cpu_reset

2012-01-23 Thread Mark Langsdorf
Long term, the config_base_register will be a QDM parameter. In the meantime, models that use it need to be able to preserve it across cpu_reset() calls. Signed-off-by: Mark Langsdorf --- Changes from v13 Make save/restore unconditional Changes from v1-v12 Skipped target-arm/hel

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Stefano Stabellini
On Mon, 23 Jan 2012, Jan Kiszka wrote: > On 2012-01-23 15:46, Stefano Stabellini wrote: > > On Mon, 23 Jan 2012, Jan Kiszka wrote: > >> On 2012-01-23 12:59, Stefano Stabellini wrote: > >>> On Mon, 23 Jan 2012, Jan Kiszka wrote: > >> Or what is the ordering > >> of init, RAM restore, and ini

Re: [Qemu-devel] [PATCH] usb-ehci: Clear the portstatus powner bit on device disconnect

2012-01-23 Thread Andreas Färber
Am 23.01.2012 15:51, schrieb Gerd Hoffmann: > On 01/13/12 14:28, Hans de Goede wrote: >> According to the EHCI spec port ownerhsip should revert to the EHCI >> controller ownership >> on device disconnect. This fixes the problem of a port getting stuck on USB 1 >> when using redirection and plug

[Qemu-devel] [PATCH v14 6/6] arm: SoC model for Calxeda Highbank

2012-01-23 Thread Mark Langsdorf
From: Rob Herring Adds support for Calxeda's Highbank SoC. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v13 Removed no_vga parameter Really reverted board_id to -1 Changes from v12 Reverted board_id to -1. Added comments clarifying why this

[Qemu-devel] [PATCH v14 4/6] arm_boot: support board IDs more than 16 bits wide

2012-01-23 Thread Mark Langsdorf
From: Peter Maydell Support passing a board ID value to the kernel in r1 that is more than 16 bits wide. This is needed to pass the '-1 == invalid' value for boards which only support device tree booting. Signed-off-by: Peter Maydell Tested-by: Mark Langsdorf --- Changes from v13 None

[Qemu-devel] [PATCH v14 1/6] Add xgmac ethernet model

2012-01-23 Thread Mark Langsdorf
From: Rob Herring This adds very basic support for the xgmac ethernet core. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark La

[Qemu-devel] [PATCH v14 2/6] ahci: add support for non-PCI based controllers

2012-01-23 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Andreas Färber --- Changes from v10-v13 None Changes from v9 Changed typedef struct names to CamelCase Changes from v7, v8 None Changes from v5, v6

[Qemu-devel] [PATCH 02/25] usb: kill USB_MSG_RESET

2012-01-23 Thread Gerd Hoffmann
The USB subsystem pipes internal reset notifications through usb_handle_packet() with a special magic PID. This indirection is a pretty pointless excercise as it ends up being handled by usb_generic_handle_packet anyway. Replace the USB_MSG_RESET with a usb_device_reset() function which can be ca

[Qemu-devel] [PATCH 11/25] usb-xhci: switch to usb_find_device()

2012-01-23 Thread Gerd Hoffmann
Switch over xHCI to use the new usb_find_device() function for device lookup. Signed-off-by: Gerd Hoffmann --- hw/usb-xhci.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/hw/usb-xhci.c b/hw/usb-xhci.c index e089a1b..a9767e3 100644 --- a/hw/usb-xhci.c +++ b/

Re: [Qemu-devel] [PATCH v4 0/6] save/restore on Xen

2012-01-23 Thread Anthony Liguori
On 01/23/2012 04:47 AM, Stefano Stabellini wrote: On Fri, 20 Jan 2012, Jan Kiszka wrote: On 2012-01-20 18:20, Stefano Stabellini wrote: Hi all, this is the fourth version of the Xen save/restore patch series. We have been discussing this issue for quite a while on #qemu and qemu-devel: http:/

[Qemu-devel] [PATCH 18/25] usb: pass USBEndpoint to usb_wakeup

2012-01-23 Thread Gerd Hoffmann
Devices must specify which endpoint has data to transfer now. The plan is to use the usb_wakeup() not only for remove wakeup support, but for "data ready" signaling in general, so we can move away from constant polling to event driven usb device emulation. Signed-off-by: Gerd Hoffmann --- hw/usb

  1   2   >