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

2011-06-23 Thread Jan Kiszka
On 2011-06-23 08:17, Stefan Hajnoczi wrote: On Thu, Jun 23, 2011 at 12:27 AM, q...@buildbot.b1-systems.de wrote: The Buildbot has detected a new failure on builder default_ppc while building qemu. Full details are available at:

Re: [Qemu-devel] [PATCH trivial] Fix comment typos in hw/armv7m.c

2011-06-23 Thread Matthew Fernandez
- Original message - Am 23.06.2011 02:59, schrieb Matthew Fernandez: Fix a couple of typos in comments. Signed-off-by: Matthew Fernandezmatthew.fernan...@gmail.com This patch doesn't touch any code and should (hopefully) not be controversial. There doesn't seem to be a

[Qemu-devel] [PATCH] Do not include compatfd for WIN32

2011-06-23 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com sigset_t, used by that header, is not available in mingw32 environments. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- cpus.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/cpus.c b/cpus.c index 322295c..600f8f5 100644

[Qemu-devel] [PATCH] Avoid double definitions of PRI*64

2011-06-23 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com Recent mingw32 provide those defines. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- qemu-common.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/qemu-common.h b/qemu-common.h index 109498d..7ca7e57 100644 ---

[Qemu-devel] [PATCH][uq/master] kvm: Drop obsolete KVM_IOEVENTFD #ifdefs

2011-06-23 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- kvm-all.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index cbc2532..b9c172b 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1328,7 +1328,6 @@ int

[Qemu-devel] [PATCH][uq/master] kvmclock: Fix feature detection

2011-06-23 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com Bit-wise or the feature flags and drop the obsolete #ifdef. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/kvmclock.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/hw/kvmclock.c b/hw/kvmclock.c index

[Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Wayne Xia
Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it s start up, following is how to configurate it: invoke it with params: -boot (splash_time=N,) (splash_filename=N,) the splash_time is in the unit of ms, and its max value is 65535. this feature is by default on

[Qemu-devel] [PATCH v2 1/3] kvm:showing a splash picture when start, code change

2011-06-23 Thread Wayne Xia
Signed-off-by: Wayne Xia xiaw...@linux.vnet.ibm.com --- Makefile |3 +- hw/fw_cfg.c | 131 - qemu-config.c | 27 sysemu.h |3 + vl.c | 17 +++- 5 files changed, 178 insertions(+), 3

[Qemu-devel] [PATCH v2 3/3] kvm:showing a splash picture when start, bios change

2011-06-23 Thread Wayne Xia
Signed-off-by: Wayne Xia xiaw...@linux.vnet.ibm.com --- pc-bios/bios.bin | Bin 131072 - 131072 bytes 1 files changed, 0 insertions(+), 0 deletions(-) diff --git a/pc-bios/bios.bin b/pc-bios/bios.bin index bdb48314dfb79c6db84846278a696da3cb68d4ff..7691173dc18d41272c60cf0bc7fc7016d5843b26

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

2011-06-23 Thread Alon Levy
On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael Roth wrote: Goal: Provide a mechanism, similar to vmware and virtualbox guest tools ISOs, that allows us to easily distribute guest tools (and potentially drivers) for linux and windows guests. What would be the advantage for linux guests,

Re: [Qemu-devel] [PATCH v2 1/3] kvm:showing a splash picture when start, code change

2011-06-23 Thread Andreas Färber
Am 23.06.2011 um 11:21 schrieb Wayne Xia: Signed-off-by: Wayne Xia xiaw...@linux.vnet.ibm.com --- Makefile |3 +- hw/fw_cfg.c | 131 - qemu-config.c | 27 sysemu.h |3 + vl.c | 17 +++- 5

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Jan Kiszka
On 2011-06-23 11:18, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it You are posting on qemu-devel (which is correct for this topic), so your patches must target that tree. Patch 1 eg. does not and needs rebasing. s start up, following is how to

Re: [Qemu-devel] [PATCH] Fix serial interface vmstate

2011-06-23 Thread Andreas Färber
Am 22.06.2011 um 10:58 schrieb Pavel Dovgaluk: This patch fixes save/restore of serial interface's state. It includes changing of fcr setter function (it now does not invoke an interrupt while loading vmstate), and saving/restoring all fields that describe the state of serial interface

Re: [Qemu-devel] [PATCH trivial] Fix comment typos in hw/armv7m.c

2011-06-23 Thread Andreas Färber
Am 23.06.2011 um 02:59 schrieb Matthew Fernandez: Fix a couple of typos in comments. Signed-off-by: Matthew Fernandez matthew.fernan...@gmail.com This patch doesn't touch any code and should (hopefully) not be controversial. There doesn't seem to be a maintainer for this file, but changes

Re: [Qemu-devel] [PATCH trivial] Fix comment typos in hw/armv7m.c

2011-06-23 Thread Matthew Fernandez
On 23 June 2011 20:22, Andreas Färber andreas.faer...@web.de wrote: Am 23.06.2011 um 02:59 schrieb Matthew Fernandez: Fix a couple of typos in comments. Signed-off-by: Matthew Fernandez matthew.fernan...@gmail.com This patch doesn't touch any code and should (hopefully) not be

Re: [Qemu-devel] [PATCH trivial] Fix comment typos in hw/armv7m.c

2011-06-23 Thread Andreas Färber
Am 23.06.2011 um 12:35 schrieb Matthew Fernandez: On 23 June 2011 20:22, Andreas Färber andreas.faer...@web.de wrote: Am 23.06.2011 um 02:59 schrieb Matthew Fernandez: Fix a couple of typos in comments. Signed-off-by: Matthew Fernandez matthew.fernan...@gmail.com This patch doesn't

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

2011-06-23 Thread Andreas Färber
Am 23.06.2011 um 10:05 schrieb Jan Kiszka: From: Jan Kiszka jan.kis...@siemens.com 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 - do not use

[Qemu-devel] [PATCH v2 10/13] Drop dirty log start/stop infrastructure

2011-06-23 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com No more users of vga_dirty_log_start/start, thus also no use anymore for the log_start/stop CPUPhysMemoryClient callbacks. Drop the whole infrastructure. CC: Anthony PERARD anthony.per...@citrix.com CC: Michael S. Tsirkin m...@redhat.com CC: Avi Kivity

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

2011-06-23 Thread Stefan Hajnoczi
On Thu, Jun 23, 2011 at 10:29 AM, Alon Levy al...@redhat.com wrote: On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael Roth wrote: Goal: Provide a mechanism, similar to vmware and virtualbox guest tools ISOs, that allows us to easily distribute guest tools (and potentially drivers) for linux

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Jan Kiszka
On 2011-06-23 13:14, Stefan Hajnoczi wrote: 2011/6/23 Jan Kiszka jan.kis...@web.de: On 2011-06-23 11:18, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it You are posting on qemu-devel (which is correct for this topic), so your patches must target

Re: [Qemu-devel] [PATCH 00/13] vga: dirty log cleanup, more linear mapping

2011-06-23 Thread Avi Kivity
On 06/14/2011 07:53 PM, Jan Kiszka wrote: A few optimizations and cleanups I came across when trying to speed up slow graphical grub unter non-cirrus vga. This series - eliminates log_start/stop CPUPhysMemoryClient callbacks - accelerates chain 4 vga mode under KVM - fixes reset of

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Stefan Hajnoczi
2011/6/23 Jan Kiszka jan.kis...@web.de: On 2011-06-23 11:18, Wayne Xia wrote: Hi,     these 3 patch simply enable qemu-kvm to show a logo picture when it You are posting on qemu-devel (which is correct for this topic), so your patches must target that tree. Patch 1 eg. does not and needs

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Wayne Xia
2011-6-23 18:03, Jan Kiszka On 2011-06-23 11:18, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it You are posting on qemu-devel (which is correct for this topic), so your patches must target that tree. Patch 1 eg. does not and needs rebasing.

[Qemu-devel] [PATCHv2 2/2] target-arm: support for ARM1176JZ-s cores

2011-06-23 Thread Jamie Iles
Add support for v6K ARM1176JZ-S. This core includes the VA-PA translation capability and security extensions. Cc: Peter Maydell peter.mayd...@linaro.org Cc: Paul Brook p...@codesourcery.com Cc: Aurelien Jarno aurel...@aurel32.net Signed-off-by: Jamie Iles ja...@jamieiles.com ---

[Qemu-devel] [PATCHv2 1/2] target-arm: make VMSAv7 remapping and AP dependent on V6K

2011-06-23 Thread Jamie Iles
The VMSAv7 remapping and access permissions were introduced in ARMv6K and not ARMv7. Cc: Peter Maydell peter.mayd...@linaro.org Cc: Aurelien Jarno aurel...@aurel32.net Cc: Paul Brook p...@codesourcery.com Signed-off-by: Jamie Iles ja...@jamieiles.com --- target-arm/helper.c |2 +- 1 files

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Jan Kiszka
On 2011-06-23 13:20, Wayne Xia wrote: 2011-6-23 18:03, Jan Kiszka On 2011-06-23 11:18, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it You are posting on qemu-devel (which is correct for this topic), so your patches must target that tree. Patch

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

2011-06-23 Thread Ronen Hod
On 06/22/2011 09:55 PM, Michael Roth wrote: Goal: Provide a mechanism, similar to vmware and virtualbox guest tools ISOs, that allows us to easily distribute guest tools (and potentially drivers) for linux and windows guests. Advantages (rough list to start the discussion, feel free to

[Qemu-devel] [PATCH 0/2] Darwin CoreAudio warning fixes

2011-06-23 Thread Andreas Färber
Hello, These patches fix two format related warnings noticed on Darwin/ppc64 host (LP64). They will probably affect Darwin/x86_64, too. Three warnings remain: 1x CoreAudioAddIOProc, 2x CoreAudioRemoveIOProc being deprecated. Regards, Andreas Andreas Färber (2): coreaudio: Fix OSStatus

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

2011-06-23 Thread Jan Kiszka
On 2011-06-23 11:29, Alon Levy wrote: Implementation: I hope to follow-up in fairly short order with a basic prototype of the tools/workflow to create/install a guest additions ISO. A rough overview of the approach I'm currently pursuing: - Use PyInstaller (built around pye2exe,

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Daniel P. Berrange
On Thu, Jun 23, 2011 at 05:18:57PM +0800, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it s start up, following is how to configurate it: invoke it with params: -boot (splash_time=N,) (splash_filename=N,) the splash_time is in the unit

Re: [Qemu-devel] [PATCH 00/13] vga: dirty log cleanup, more linear mapping

2011-06-23 Thread Jan Kiszka
On 2011-06-23 13:44, Avi Kivity wrote: On 06/23/2011 02:39 PM, Jan Kiszka wrote: On 2011-06-23 13:11, Avi Kivity wrote: On 06/14/2011 07:53 PM, Jan Kiszka wrote: A few optimizations and cleanups I came across when trying to speed up slow graphical grub unter non-cirrus vga. This series

Re: [Qemu-devel] [PATCH 00/13] vga: dirty log cleanup, more linear mapping

2011-06-23 Thread Jan Kiszka
On 2011-06-23 13:11, Avi Kivity wrote: On 06/14/2011 07:53 PM, Jan Kiszka wrote: A few optimizations and cleanups I came across when trying to speed up slow graphical grub unter non-cirrus vga. This series - eliminates log_start/stop CPUPhysMemoryClient callbacks - accelerates chain 4 vga

[Qemu-devel] [PATCH 2/2] coreaudio: Fix format for UInt32 type

2011-06-23 Thread Andreas Färber
coreaudioVoiceOut's audioDevicePropertyBufferFrameSize is defined as UInt32. Use %u instead of %ld to avoid a warning on ppc64. Cc: malc av1...@comtv.ru Signed-off-by: Andreas Faerber andreas.faer...@web.de --- audio/coreaudio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[Qemu-devel] [PATCH RFT 1/2] coreaudio: Fix OSStatus format specifier

2011-06-23 Thread Andreas Färber
OSStatus type is defined as SInt32. Use %d format instead of %ld to avoid a warning on ppc64. Cc: Alexandre Raymond cerb...@gmail.com Cc: malc av1...@comtv.ru Signed-off-by: Andreas Faerber andreas.faer...@web.de --- Alexandre, Could you please test this on v10.6? Thanks! audio/coreaudio.c |

Re: [Qemu-devel] [PATCH 00/13] vga: dirty log cleanup, more linear mapping

2011-06-23 Thread Avi Kivity
On 06/23/2011 02:39 PM, Jan Kiszka wrote: On 2011-06-23 13:11, Avi Kivity wrote: On 06/14/2011 07:53 PM, Jan Kiszka wrote: A few optimizations and cleanups I came across when trying to speed up slow graphical grub unter non-cirrus vga. This series - eliminates log_start/stop

Re: [Qemu-devel] [PATCH 0/2] Darwin CoreAudio warning fixes

2011-06-23 Thread Andreas Färber
Am 23.06.2011 um 13:43 schrieb Andreas Färber: Hello, These patches fix two format related warnings noticed on Darwin/ ppc64 host (LP64). They will probably affect Darwin/x86_64, too. Three warnings remain: 1x CoreAudioAddIOProc, 2x CoreAudioRemoveIOProc being deprecated. Erm,

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Richard W.M. Jones
On Thu, Jun 23, 2011 at 05:18:57PM +0800, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it s start up, following is how to configurate it: invoke it with params: -boot (splash_time=N,) (splash_filename=N,) the splash_time is in the unit

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Daniel P. Berrange
On Thu, Jun 23, 2011 at 07:20:06PM +0800, Wayne Xia wrote: 2011-6-23 18:03, Jan Kiszka On 2011-06-23 11:18, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it You are posting on qemu-devel (which is correct for this topic), so your patches

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Stefan Hajnoczi
On Thu, Jun 23, 2011 at 12:17 PM, Jan Kiszka jan.kis...@web.de wrote: On 2011-06-23 13:14, Stefan Hajnoczi wrote: 2011/6/23 Jan Kiszka jan.kis...@web.de: On 2011-06-23 11:18, Wayne Xia wrote: Hi,     these 3 patch simply enable qemu-kvm to show a logo picture when it You are posting on

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Zhi Yong Wu
Jan, Sorry, i just made a mistake, and thanks. On Thu, Jun 23, 2011 at 7:57 PM, Jan Kiszka jan.kis...@web.de wrote: On 2011-06-23 13:56, Zhi Yong Wu wrote: I guess that Wayne should target qemu-kvm git tree. Nope, qemu.git is correct. Jan -- Regards, Zhi Yong Wu

Re: [Qemu-devel] [PATCH 08/10] alpha: remove unused variable

2011-06-23 Thread Peter Maydell
On 14 June 2011 18:47, Richard Henderson r...@twiddle.net wrote: On 06/14/2011 10:36 AM, Michael S. Tsirkin wrote: Signed-off-by: Michael S. Tsirkin m...@redhat.com ---  target-alpha/translate.c |    7 ++-  1 files changed, 6 insertions(+), 1 deletions(-) Acked-by: Richard Henderson

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

2011-06-23 Thread Avi Kivity
On 06/23/2011 02:08 PM, Stefan Hajnoczi wrote: On Thu, Jun 23, 2011 at 10:29 AM, Alon Levyal...@redhat.com wrote: On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael Roth wrote: Goal: Provide a mechanism, similar to vmware and virtualbox guest tools ISOs, that allows us to easily

Re: [Qemu-devel] [PATCH v2 10/13] Drop dirty log start/stop infrastructure

2011-06-23 Thread Avi Kivity
On 06/23/2011 02:09 PM, Jan Kiszka wrote: From: Jan Kiszkajan.kis...@siemens.com No more users of vga_dirty_log_start/start, thus also no use anymore for the log_start/stop CPUPhysMemoryClient callbacks. Drop the whole infrastructure. CC: Anthony PERARDanthony.per...@citrix.com CC: Michael S.

[Qemu-devel] qdev and compound devices

2011-06-23 Thread Hans de Goede
Hi all, I've been working on adding support to the usb-ehci code to have an uhci companion controller. This is actually working quite well, and the code is pretty nice too, see: http://cgit.freedesktop.org/~jwrdegoede/qemu/log/?h=usbredir Note the last commit likely needs to be split into 2,

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Daniel P. Berrange
On Thu, Jun 23, 2011 at 01:24:01PM +0200, Jan Kiszka wrote: On 2011-06-23 13:20, Wayne Xia wrote: 2011-6-23 18:03, Jan Kiszka On 2011-06-23 11:18, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it You are posting on qemu-devel (which is

Re: [Qemu-devel] [PATCH 00/13] vga: dirty log cleanup, more linear mapping

2011-06-23 Thread Avi Kivity
On 06/23/2011 02:52 PM, Jan Kiszka wrote: On 2011-06-23 13:44, Avi Kivity wrote: On 06/23/2011 02:39 PM, Jan Kiszka wrote: On 2011-06-23 13:11, Avi Kivity wrote: On 06/14/2011 07:53 PM, Jan Kiszka wrote: A few optimizations and cleanups I came across when trying to speed up

[Qemu-devel] [PATCH 2/3] Introduce a 'client_add' monitor command accepting an open FD

2011-06-23 Thread Daniel P. Berrange
Allow client connections for VNC and socket based character devices to be passed in over the monitor using SCM_RIGHTS. One intended usage scenario is to start QEMU with VNC on a UNIX domain socket. An unprivileged user which cannot access the UNIX domain socket, can then connect to QEMU's VNC

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Zhi Yong Wu
I guess that Wayne should target qemu-kvm git tree. Regards, Zhiyong Wu On Thu, Jun 23, 2011 at 7:14 PM, Stefan Hajnoczi stefa...@gmail.com wrote: 2011/6/23 Jan Kiszka jan.kis...@web.de: On 2011-06-23 11:18, Wayne Xia wrote: Hi,     these 3 patch simply enable qemu-kvm to show a logo

[Qemu-devel] [PATCH 1/3] Store VNC auth scheme per-client as well as per-server

2011-06-23 Thread Daniel P. Berrange
A future patch will introduce a situation where different clients may have different authentication schemes set. When a new client arrives, copy the 'auth' and 'subauth' fields from VncDisplay into the client's VncState, and use the latter in all authentication functions. * ui/vnc.h: Add 'auth'

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Jan Kiszka
On 2011-06-23 13:56, Zhi Yong Wu wrote: I guess that Wayne should target qemu-kvm git tree. Nope, qemu.git is correct. Jan signature.asc Description: OpenPGP digital signature

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Align dummy display to fixed-size active console

2011-06-23 Thread Stefan Hajnoczi
On Sun, Jun 19, 2011 at 11:53:02AM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com This fixes e.g. '-vga none -monitor vc:120Cx50C'. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- console.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-)

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Avi Kivity
On 06/23/2011 03:33 PM, Stefan Hajnoczi wrote: BTW, do we have such information in the linux-kvm.org and maybe also qemu.org wikis? If not, I guess it would help, in some cases at least. I have added the following: If you want to contribute code, please develop against qemu.git and submit

Re: [Qemu-devel] [PATCH trivial 0/5] Fix error_report() calls

2011-06-23 Thread Stefan Hajnoczi
On Wed, Jun 22, 2011 at 02:03:52PM +0200, Markus Armbruster wrote: I limited myself to truly trivial fixes. I hope that's still useful enough to excuse a little rant. bug: 0 0 is not a useful error message. Neither are Desc next is 128, too short (too short indeed), wrong magic (some

Re: [Qemu-devel] [Xen-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform

2011-06-23 Thread Stefano Stabellini
On Fri, 17 Jun 2011, Anthony PERARD wrote: +static void unplug_nic(PCIBus *b, PCIDevice *d) +{ +    if (d-config[0xa] == 0 d-config[0xb] == 2) { You should use: pci_get_word(d-config+PCI_CLASS_DEVICE) == PCI_CLASS_NETWORK_ETHERNET It'll be clearer. thanks, I'll do that +static

Re: [Qemu-devel] [PATCH RFT 1/2] coreaudio: Fix OSStatus format specifier

2011-06-23 Thread malc
On Thu, 23 Jun 2011, Andreas F?rber wrote: OSStatus type is defined as SInt32. Use %d format instead of %ld to avoid a warning on ppc64. Which itself is defined as typedef signed longSInt32; (here on ppc32 inside: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/libkern/OSTypes.h) So i'd

Re: [Qemu-devel] [PATCH trivial] Fix comment typos in hw/armv7m.c

2011-06-23 Thread Stefan Hajnoczi
On Thu, Jun 23, 2011 at 10:59:26AM +1000, Matthew Fernandez wrote: Fix a couple of typos in comments. Signed-off-by: Matthew Fernandez matthew.fernan...@gmail.com This patch doesn't touch any code and should (hopefully) not be controversial. There doesn't seem to be a maintainer for

Re: [Qemu-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform

2011-06-23 Thread Stefano Stabellini
On Mon, 20 Jun 2011, Kevin Wolf wrote: diff --git a/hw/xen_platform.c b/hw/xen_platform.c index b167eee..9f8c843 100644 --- a/hw/xen_platform.c +++ b/hw/xen_platform.c @@ -34,6 +34,9 @@ #include xen_backend.h #include rwhandler.h #include trace.h +#include hw/ide/internal.h

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Jan Kiszka
On 2011-06-23 14:05, Daniel P. Berrange wrote: On Thu, Jun 23, 2011 at 01:24:01PM +0200, Jan Kiszka wrote: On 2011-06-23 13:20, Wayne Xia wrote: 2011-6-23 18:03, Jan Kiszka On 2011-06-23 11:18, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Avoid double definitions of PRI*64

2011-06-23 Thread Stefan Hajnoczi
On Thu, Jun 23, 2011 at 10:15:58AM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com Recent mingw32 provide those defines. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- qemu-common.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) It's never too late

Re: [Qemu-devel] Apple Remote Desktop - macosx built-in client and qemu -vnc

2011-06-23 Thread Andreas Färber
Hello, Am 16.06.2011 um 17:10 schrieb Amitava Shee: I have been spawning qemu using -vnc :3 and using an ssh tunnel to view the console from my macosx client. Chicken of the VNC is able to work over the tunnel. However, the built-in Apple Remote Desktop client is unable to connect (open

[Qemu-devel] [RFC PATCH 0/3] Use FD passing to accept new VNC/chardev clients

2011-06-23 Thread Daniel P. Berrange
The VNC server in QEMU can be configured using either TCP or UNIX sockets. Historically, libvirt apps have configured VNC using TCP, but restricted to localhost (127.0.0.1) by default. This allows apps like virt-manager to connect, while not exposing it to the outside world by default. The

[Qemu-devel] [PATCH 2/2] coreaudio: Avoid formatting UInt32 type

2011-06-23 Thread Andreas Färber
coreaudioVoiceOut's audioDevicePropertyBufferFrameSize is defined as UInt32 and is being used by reference for AudioDevice{Get,Set}Property(). UInt32 is unsigned int on __LP64__ but unsigned long otherwise. Cast to POSIX type and use PRIu32 format specifier to hide the details. This avoids a

[Qemu-devel] [PATCH 3/3] Remove unused USES_X509_AUTH macro from VNC sasl code

2011-06-23 Thread Daniel P. Berrange
The USES_X509_AUTH macro is defined in several VNC files, but not used in all of them. Remove the unused definition. * ui/vnc-auth-sasl.c: Remove USES_X509_AUTH macro --- ui/vnc-auth-sasl.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/ui/vnc-auth-sasl.c

[Qemu-devel] [PATCH v2] xen: implement unplug protocol in xen_platform

2011-06-23 Thread Stefano Stabellini
xen: implement unplug protocol in xen_platform The unplug protocol is necessary to support PV drivers in the guest: the drivers expect to be able to unplug emulated disks and nics before initializing the Xen PV interfaces. It is responsibility of the guest to make sure that the unplug is done

[Qemu-devel] [PATCH] ahci: fix device detect emulation.

2011-06-23 Thread Gerd Hoffmann
AHCI specs say about the device detection field: Device Detection (DET): Indicates the interface device detection and Phy state. 0h - No device detected and Phy communication not established 1h - Device presence detected but Phy communication not established 3h - Device presence detected and Phy

[Qemu-devel] [PATCH v2 1/2] coreaudio: Fix OSStatus format specifier

2011-06-23 Thread Andreas Färber
OSStatus type is defined as SInt32. That's signed int on __LP64__ and signed long otherwise. Since it is an explicit 32-bit-width type, cast to corresponsing POSIX type and use PRId32 format specifier. This avoids a warning on ppc64. Cc: malc av1...@comtv.ru Signed-off-by: Andreas Faerber

Re: [Qemu-devel] [PATCH 2/3] pci: export pci_unplug_device

2011-06-23 Thread Stefano Stabellini
On Mon, 20 Jun 2011, Michael S. Tsirkin wrote: On Thu, Jun 16, 2011 at 05:05:18PM +0100, stefano.stabell...@eu.citrix.com wrote: From: Stefano Stabellini stefano.stabell...@eu.citrix.com pci_unplug_device is needed by the xen_platform device to perfom dynamic nic unplug.

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Michael Tokarev
23.06.2011 16:00, Richard W.M. Jones wrote: On Thu, Jun 23, 2011 at 05:18:57PM +0800, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it s start up, following is how to configurate it: invoke it with params: -boot (splash_time=N,)

Re: [Qemu-devel] [PATCH trivial] Fix comment typos in hw/armv7m.c

2011-06-23 Thread Stefan Weil
Am 23.06.2011 10:08, schrieb Matthew Fernandez: - Original message - Am 23.06.2011 02:59, schrieb Matthew Fernandez: Fix a couple of typos in comments. Signed-off-by: Matthew Fernandezmatthew.fernan...@gmail.com mailto:matthew.fernan...@gmail.com This patch doesn't

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

2011-06-23 Thread Stefan Weil
Am 23.06.2011 10:05, schrieb Jan Kiszka: From: Jan Kiszka jan.kis...@siemens.com 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 - do not use

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

2011-06-23 Thread Michael Roth
On 06/23/2011 06:38 AM, Daniel P. Berrange wrote: On Thu, Jun 23, 2011 at 12:08:26PM +0100, Stefan Hajnoczi wrote: On Thu, Jun 23, 2011 at 10:29 AM, Alon Levyal...@redhat.com wrote: On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael Roth wrote: Goal: Provide a mechanism, similar to vmware

Re: [Qemu-devel] [PATCH] MAINTAINERS: Fix typo in email address

2011-06-23 Thread Stefan Hajnoczi
On Wed, Jun 22, 2011 at 03:45:01PM +0100, Peter Maydell wrote: Fix a typo in one of the copies of Aurelien Jarno's email address. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, applied to the

Re: [Qemu-devel] [PATCH 08/10] alpha: remove unused variable

2011-06-23 Thread Richard Henderson
On 06/23/2011 04:47 AM, Peter Maydell wrote: On 14 June 2011 18:47, Richard Henderson r...@twiddle.net wrote: On 06/14/2011 10:36 AM, Michael S. Tsirkin wrote: Signed-off-by: Michael S. Tsirkin m...@redhat.com --- target-alpha/translate.c |7 ++- 1 files changed, 6 insertions(+), 1

Re: [Qemu-devel] [PATCH RFT 1/2] coreaudio: Fix OSStatus format specifier

2011-06-23 Thread Andreas Färber
Am 23.06.2011 um 14:54 schrieb malc: On Thu, 23 Jun 2011, Andreas F?rber wrote: OSStatus type is defined as SInt32. Use %d format instead of %ld to avoid a warning on ppc64. Which itself is defined as typedef signed longSInt32; (here on ppc32 inside:

Re: [Qemu-devel] qdev and compound devices

2011-06-23 Thread Gerd Hoffmann
On 06/23/11 15:01, Hans de Goede wrote: Hi all, I've been working on adding support to the usb-ehci code to have an uhci companion controller. This is actually working quite well, and the code is pretty nice too, see: http://cgit.freedesktop.org/~jwrdegoede/qemu/log/?h=usbredir Note the last

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Do not include compatfd for WIN32

2011-06-23 Thread Stefan Hajnoczi
On Thu, Jun 23, 2011 at 10:15:55AM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com sigset_t, used by that header, is not available in mingw32 environments. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- cpus.c |3 +++ 1 files changed, 3 insertions(+), 0

Re: [Qemu-devel] [PATCH] Support logging xen-guest console

2011-06-23 Thread Stefano Stabellini
On Thu, 23 Jun 2011, Ian Campbell wrote: On Mon, 2011-06-20 at 19:42 +0100, Stefano Stabellini wrote: @@ -198,6 +248,10 @@ static int con_init(struct XenDevice *xendev) else con-chr = serial_hds[con-xendev.dev]; +logenv = getenv(XENCONSOLED_TRACE); +if

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Avoid double definitions of PRI*64

2011-06-23 Thread Stefan Weil
Am 23.06.2011 15:35, schrieb Stefan Hajnoczi: On Thu, Jun 23, 2011 at 10:15:58AM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com Recent mingw32 provide those defines. ... and all of those defines are wrong, because QEMU does not use MS format specifiers.

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

2011-06-23 Thread Michael Roth
On 06/23/2011 07:00 AM, Avi Kivity wrote: On 06/23/2011 02:08 PM, Stefan Hajnoczi wrote: On Thu, Jun 23, 2011 at 10:29 AM, Alon Levyal...@redhat.com wrote: On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael Roth wrote: Goal: Provide a mechanism, similar to vmware and virtualbox guest tools

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

2011-06-23 Thread 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 qemu-common.h first. Sign-off-by: Roy Tamroy...@gmail.com -- diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c

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

2011-06-23 Thread Avi Kivity
On 06/23/2011 05:54 PM, Michael Roth wrote: On 06/23/2011 07:00 AM, Avi Kivity wrote: On 06/23/2011 02:08 PM, Stefan Hajnoczi wrote: On Thu, Jun 23, 2011 at 10:29 AM, Alon Levyal...@redhat.com wrote: On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael Roth wrote: Goal: Provide a mechanism,

Re: [Qemu-devel] [PATCH v2 1/2] coreaudio: Fix OSStatus format specifier

2011-06-23 Thread malc
On Thu, 23 Jun 2011, Andreas F?rber wrote: OSStatus type is defined as SInt32. That's signed int on __LP64__ and signed long otherwise. Since it is an explicit 32-bit-width type, cast to corresponsing POSIX type and use PRId32 format specifier. This avoids a warning on ppc64. [..snip..]

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

2011-06-23 Thread Anthony Liguori
On 06/23/2011 07:00 AM, Avi Kivity wrote: On 06/23/2011 02:08 PM, Stefan Hajnoczi wrote: On Thu, Jun 23, 2011 at 10:29 AM, Alon Levyal...@redhat.com wrote: On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael Roth wrote: Goal: Provide a mechanism, similar to vmware and virtualbox guest tools

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Anthony Liguori
On 06/23/2011 07:00 AM, Richard W.M. Jones wrote: On Thu, Jun 23, 2011 at 05:18:57PM +0800, Wayne Xia wrote: Hi, these 3 patch simply enable qemu-kvm to show a logo picture when it s start up, following is how to configurate it: invoke it with params: -boot (splash_time=N,)

Re: [Qemu-devel] [PATCH v2 0/3] kvm:showing a splash picture when start

2011-06-23 Thread Andreas Färber
Am 23.06.2011 um 14:29 schrieb Jan Kiszka: On 2011-06-23 14:05, Daniel P. Berrange wrote: On Thu, Jun 23, 2011 at 01:24:01PM +0200, Jan Kiszka wrote: On 2011-06-23 13:20, Wayne Xia wrote: 2011-6-23 18:03, Jan Kiszka On 2011-06-23 11:18, Wayne Xia wrote: -boot (splash_time=N,)

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

2011-06-23 Thread Stefan Weil
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 qemu-common.h first. Sign-off-by: Roy Tamroy...@gmail.com -- diff --git

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

2011-06-23 Thread Michael Roth
On 06/23/2011 10:09 AM, Avi Kivity wrote: On 06/23/2011 05:54 PM, Michael Roth wrote: On 06/23/2011 07:00 AM, Avi Kivity wrote: On 06/23/2011 02:08 PM, Stefan Hajnoczi wrote: On Thu, Jun 23, 2011 at 10:29 AM, Alon Levyal...@redhat.com wrote: On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael

Re: [Qemu-devel] [PATCH 2/2] coreaudio: Avoid formatting UInt32 type

2011-06-23 Thread Andreas Färber
$subject missing v2 Am 23.06.2011 um 16:24 schrieb Andreas Färber: coreaudioVoiceOut's audioDevicePropertyBufferFrameSize is defined as UInt32 and is being used by reference for AudioDevice{Get,Set}Property(). UInt32 is unsigned int on __LP64__ but unsigned long otherwise. Cast to POSIX

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

2011-06-23 Thread Avi Kivity
On 06/23/2011 06:25 PM, Anthony Liguori wrote: Even building the tools would be very hard. In general if you build against libc version y, you cannot expect your code to work against libc version y-1, unless you take special measures. With other libraries the special measures may not even be

Re: [Qemu-devel] [PATCH] Support logging xen-guest console

2011-06-23 Thread Ian Campbell
On Mon, 2011-06-20 at 19:42 +0100, Stefano Stabellini wrote: @@ -198,6 +248,10 @@ static int con_init(struct XenDevice *xendev) else con-chr = serial_hds[con-xendev.dev]; +logenv = getenv(XENCONSOLED_TRACE); +if (logenv != NULL !strcmp(logenv, guest)) { +

Re: [Qemu-devel] unix domain socket communication with guests

2011-06-23 Thread Joel Uckelman
On Tue, Jun 21, 2011 at 10:47 AM, Amit Shah amit.s...@redhat.com wrote: On (Mon) 20 Jun 2011 [18:24:38], Joel Uckelman wrote: I'm trying to set up a unix domain socket with a guest on one end and the host on the other, where the server is running on and bound to the socket on the guest. I've

Re: [Qemu-devel] [PATCH] usb-storage: Turn drive serial into a qdev property usb-storage.serial

2011-06-23 Thread Gerd Hoffmann
On 06/17/11 10:52, Markus Armbruster wrote: It needs to be a qdev property, because it belongs to the drive's guest part. Precedence: commit a0fef654 and 6ced55a5. Bonus: info qtree now shows the serial number. Patch applied to usb queue. thanks, Gerd

[Qemu-devel] [PATCH] arm: Add const attribute to some arm_boot_info pointers

2011-06-23 Thread Stefan Weil
Parameter 'info' is const, so add the missing attribute. v2: Add 'const' to the local variable info in do_cpu_reset() and to the boot_info field in CPUARMState (suggested by Peter Maydell). Cc: Andrzej Zaborowski balr...@gmail.com Cc: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Stefan

Re: [Qemu-devel] [PATCH 06/11] exec.c: refactor cpu_physical_memory_map

2011-06-23 Thread Peter Maydell
On 23 June 2011 18:56, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: Thanks for the detailed explanation of the problem, I think I understand what I have to do to fix. However I would like to have a repro of the bug before sending any patches, so that I am sure that the solution

Re: [Qemu-devel] [PATCH 06/11] exec.c: refactor cpu_physical_memory_map

2011-06-23 Thread Peter Maydell
On 19 June 2011 04:39, Alexander Graf ag...@suse.de wrote: From: Stefano Stabellini stefano.stabell...@eu.citrix.com Introduce qemu_ram_ptr_length that takes an address and a size as parameters rather than just an address. Refactor cpu_physical_memory_map so that we call qemu_ram_ptr_length

Re: [Qemu-devel] [PATCH 06/11] exec.c: refactor cpu_physical_memory_map

2011-06-23 Thread Stefano Stabellini
On Thu, 23 Jun 2011, Peter Maydell wrote: On 19 June 2011 04:39, Alexander Graf ag...@suse.de wrote: From: Stefano Stabellini stefano.stabell...@eu.citrix.com Introduce qemu_ram_ptr_length that takes an address and a size as parameters rather than just an address. Refactor

[Qemu-devel] [PATCH] Fix compilation for non-POSIX system (w64)

2011-06-23 Thread Stefan Weil
compatfd.h is only needed with CONFIG_POSIX. Compilation fails in compatfd.h for at least one non-POSIX systems (w64). Signed-off-by: Stefan Weil w...@mail.berlios.de --- cpus.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/cpus.c b/cpus.c index 0699f37..8501254

[Qemu-devel] Kemari status?

2011-06-23 Thread Christian Brunner
Does anyone know what happened to kemari? Back in March it was on the list for a possible merge in qemu 0.15. In April the last update was sent to this list. After that everything remained silent. I think it's a really interesting project and I wonder why it isn't picked up. Thanks, Christian

[Qemu-devel] serial input with -serial stdio

2011-06-23 Thread Edgar E. Iglesias
Hi, Tried to stream 2K of data into a guest via an emulated serial port backed by -serial stdio but it failed. Looks like data flows for a while, then suddenly even though the last call to can_rceive returns +, nothing comes. It works OK through TCP ports (-serial tcp::xxx,server + nc). I know

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

2011-06-23 Thread Super Bisquit
The last time I asked, Blue Swirl was somewhat working on the port. Has anything been improved since? Thanks

  1   2   >