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

2011-06-23 Thread Stefan Hajnoczi
On Fri, Jun 24, 2011 at 7:11 AM, Stefan Weil wrote: > Am 24.06.2011 07:41, schrieb Stefan Hajnoczi: >> >> On Thu, Jun 23, 2011 at 3:32 PM, Stefan Weil wrote: >>> >>> Am 23.06.2011 15:35, schrieb Stefan Hajnoczi: On Thu, Jun 23, 2011 at 10:15:58AM +0200, Jan Kiszka wrote: > > Fro

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

2011-06-23 Thread Stefan Weil
Am 24.06.2011 07:41, schrieb Stefan Hajnoczi: On Thu, Jun 23, 2011 at 3:32 PM, Stefan Weil wrote: 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 Recent mingw32 provide those defines. ... and all of those defines

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

2011-06-23 Thread Stefan Hajnoczi
On Thu, Jun 23, 2011 at 3:32 PM, Stefan Weil wrote: > 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 >>> >>> Recent mingw32 provide those defines. > > ... and all of those defines are wrong, because QEMU doe

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

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

Re: [Qemu-devel] struct TimerState

2011-06-23 Thread Nilay Vaish
On Wed, 22 Jun 2011, Andreas F?rber wrote: Am 21.06.2011 um 12:24 schrieb Nilay Vaish: Is there a way to know how many cycles the virtual machine has been running for? No. QEMU's emulation is not cycle-accurate. The instruction counter (icount) gives you an indication of how much workload

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

2011-06-23 Thread Amit Shah
On (Thu) 23 Jun 2011 [17:37:50], Joel Uckelman wrote: > On Tue, Jun 21, 2011 at 10:47 AM, Amit Shah 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

[Qemu-devel] Actual TB code doesn't look like what was intended (TCG issue)?

2011-06-23 Thread Max Filippov
Hello guys. I'm running qemu on x86_64 host. It's clean build from git sources dated 2011.05.19, commit 1fddfba129f5435c80eda14e8bc23fdb888c7187 I have the following output from "log trace,op,out_asm": Trace 0x4000a310 [d0026c92] OP: 0xd0c0 movi_i32 tmp1,$0xfff4 add_i32 tmp0,ar9,

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

2011-06-23 Thread Wayne Xia
2011-6-23 20:29, 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

[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

[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 th

[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] [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 --- cpus.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/cpus.c b/cpus.c index 0699f37..8501254 100644 --- a/cpus.c +++ b/

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 wrote: > > From: Stefano Stabellini > > > > 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

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 wrote: > From: Stefano Stabellini > > 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 only > once rather than calling qemu_get

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 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 works correctly. > However I a

[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 Cc: Peter Maydell Signed-off-by: Stefan Weil --- hw/arm-misc.h|2 +- hw/

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

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 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 been able to ge

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,

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 po

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 type

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 Levy wrote: > On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael Roth wrote: >> G

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 Tam -- diff --git a/ui/vnc-enc-tight.c

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=,) (splash_fil

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=,) (splash

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

2011-06-23 Thread Michael Roth
On 06/23/2011 04:29 AM, Alon Levy 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 and windows guests. What wou

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 Levy 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, th

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 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 Levy wrote: > On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael Roth wrote: >> Goal: >> >> Provide a mechanism, similar to

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 Tam > >-- > >diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c > >ind

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 Levy 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, th

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 Recent mingw32 provide those defines. ... and all of those defines are wrong, because QEMU does not use MS format specifiers. http://patchwork.ozlabs.org/patch/74276/ tr

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_TRA

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 > > sigset_t, used by that header, is not available in mingw32 environments. > > Signed-off-by: Jan Kiszka > --- > cpus.c |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Thanks, applied to the trivia

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 co

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: /Developer/SDKs/MacOSX10.4u.sdk

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 wrote: >> On 06/14/2011 10:36 AM, Michael S. Tsirkin wrote: >>> Signed-off-by: Michael S. Tsirkin >>> --- >>> target-alpha/translate.c |7 ++- >>> 1 files changed, 6 insertions(+), 1 deletions(-) >> >

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 > --- > MAINTAINERS |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, applied to the trivial patches tree: htt

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 Levy wrote: On Wed, Jun 22, 2011 at 01:55:25PM -0500, Michael Roth wrote: Goal: Provide a mechanism, similar to vmware and virtualbox gues

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 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 Linux headers on non-Linux

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 Fernandez> > > > > This patch doesn't touch any code and

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=,) (s

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 > > > > pci_unplug_device is needed by the xen_platform device to perfom dynamic > > nic unplug. > > > > Signed-off-by: Stefano Stabe

[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 Signed-off-by: Andreas Faerber --- audio/coreaudio.c

[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] 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 be

[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 b/ui/vnc-

[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 warni

[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 downside

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 (ope

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 > > Recent mingw32 provide those defines. > > Signed-off-by: Jan Kiszka > --- > qemu-common.h |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) It's never too late to implement C99! Thanks, applied to

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 p

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" > >> +

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 > > 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 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'

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

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

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 sub

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 > > This fixes e.g. '-vga none -monitor vc:120Cx50C'. > > Signed-off-by: Jan Kiszka > --- > console.c |9 - > 1 files changed, 8 insertions(+), 1 deletions(-) Thanks, applied to the trivial patches tree

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

[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' an

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 wrote: > 2011/6/23 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 pos

[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 serv

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 >> spe

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-d

[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, and

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 Kiszka 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 CC: Michael S. Tsirkin CC: Avi Kivity Signed-off-by: Jan Kiszka

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 Levy 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 gues

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

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

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 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 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 wrote: > On 2011-06-23 13:14, Stefan Hajnoczi wrote: >> 2011/6/23 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 i

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

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=,) (splash_filename=,) > the splash_time is in the u

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, AudioDevic

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 CPUP

[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 Cc: malc Signed-off-by: Andreas Faerber --- Alexandre, Could you please test this on v10.6? Thanks! audio/coreaudio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(

[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 Signed-off-by: Andreas Faerber --- audio/coreaudio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/audio/coreaudio.c b/audio/corea

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 cha

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

2011-06-23 Thread Daniel P. Berrange
On Thu, Jun 23, 2011 at 12:08:26PM +0100, Stefan Hajnoczi wrote: > On Thu, Jun 23, 2011 at 10:29 AM, Alon Levy 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 t

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 v

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=,) (splash_filename=,) > the splash_time is in the u

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

[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 form

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 add/

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 tha

[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 Cc: Aurelien Jarno Cc: Paul Brook Signed-off-by: Jamie Iles --- target-arm/helper.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-arm/helper.c b/target-arm

[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 Cc: Paul Brook Cc: Aurelien Jarno Signed-off-by: Jamie Iles --- target-arm/cpu.h|1 + target-arm/helper.c | 19 +++ 2 files changed, 20

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 rebasi

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 : > 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. Mo

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 vmware-v

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 : >> 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 tha

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 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 and wi

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

2011-06-23 Thread Jan Kiszka
From: Jan Kiszka 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 CC: Michael S. Tsirkin CC: Avi Kivity Signed-off-by: Jan Kiszka --- Changes in v2: - rebased over ma

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 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 Linux headers on non-Lin

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 wrote: Am 23.06.2011 um 02:59 schrieb Matthew Fernandez: Fix a couple of typos in comments. Signed-off-by: Matthew Fernandez This patch doesn't touch any code and should (hopefully) not be controv

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 wrote: > Am 23.06.2011 um 02:59 schrieb Matthew Fernandez: > > > Fix a couple of typos in comments. >> >> Signed-off-by: Matthew Fernandez >> >> This patch doesn't touch any code and should (hopefully) not be >> controversial. There doesn't seem to 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 02:59 schrieb Matthew Fernandez: Fix a couple of typos in comments. Signed-off-by: Matthew Fernandez 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 are trivial. diff --git a

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 (inc

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 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 --- Makefile |3 +- hw/fw_cfg.c | 131 - qemu-config.c | 27 sysemu.h |3 + vl.c | 17 +++- 5 files changed, 178 insertion

  1   2   >